Sunday, 11 August 2019

Moving vectors to specified coordinates in QGIS?


I have a layer of vectors located around, say, (100, 100), and I want to move them to new coordinate like (1000, 1000).


How should I do it using QGIS?



Answer



Yep sure can. Like alexgleith said you can use the qgsaffine plugin (from the plugin installer)


The top of the first line is at 0,0 and the top of the second line is at 5,5. At the start the points are along 0 on the X. enter image description here


Using the Affine plugin we can add 5 to all the X coordinates:


enter image description here


Then after they are all on the second line at X 5, Y 5:enter image description here



No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...