3

Due to an incorrect datum coordinates, I need to move a large number of elements in shapefiles by a specific distance. In 2.8 I would have used the Affine Transformation tool, but this does not appear to be available to QGIS 3.6.

Is there another tool or process I can use?

3

There's also the GRASS tool v.transform (in the processing toolbox), which

Performs an affine transformation on a vector layer.

Make sure you're running the QGIS version that says "with GRASS" in the name, otherwise you'll get an error message when trying to run a GRASS tool.

Note: I found this tool by searching the processing toolbox for the term "affine." The processing toolbox searchbar is a great place to go when you have a question along the lines of

  • "Is there a tool that does this thing?" or
  • "Where's the tool that used to be called this name?" or
  • "Where's the this name tool that used to be in the that name menu?"
3
  • Thanks, this worked fine. Aug 9 '19 at 17:20
  • I tried using GRASS processing tools such as this one through QGIS on Mac for a while now but still unsuccessfully... A number of questions are open on this issue. In QGIS I can translate (move x,y) and rotate with the relevant tools, but I'm stuck at scaling the data: is there a native tool to scale a vector layer? Feb 12 '20 at 2:03
  • According to the original asker (Peter Cornelissen), both of the answers to this question worked for him. But if neither solution works for you, by all means post a new question.
    – csk
    Feb 12 '20 at 3:32
2

You could use the Translate tool from the Processing Toolbox:

This algorithm moves the geometries within a layer, by offsetting them with a specified x and y displacement.

2
  • 1
    This worked fine too, but didn't need GRASS. Aug 9 '19 at 17:20
  • @PeterCornelissen - Most welcome, glad it helped :)
    – Joseph
    Aug 12 '19 at 13:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.