TransWikia.com

QGIS Twisting a Shapefile

Geographic Information Systems Asked by Zman3 on December 13, 2020

I have a georeferenced raster in QGIS and a shapefile of the same area. Both files are in the same projection, but they do have different extents. For some reason on the left side the shapefile features have been shifted up and on the right, down. The shift is scaled from the center (center is lined up perfectly). Is there a way that I can twist my shapefile based the center point of the file, or a point that I pick? Or could I georeference my shapefile to my raster?

Right Side
Right side

Left Side
Left side

Center
Center

2 Answers

You can just select everything in edit mode and use the rotate tool in the Advanced Digitizing Toolbox but the rotation point will be fixed to the centre of the selection.

If you need a specified anchor point then use the Rotate tool under Vector Geometry>Rotate in the processing toolbox.

For more advanced vector geo-referencing the Vector Bender plugin (https://github.com/olivierdalang/VectorBender) works in v3 of QGIS - sounds like you already know of this one though?

Correct answer by James B on December 13, 2020

I had the same problem. Vector bender don't work for me, in QGIS 3.10.

I solved with SAGA Warping Shapes (acessible on processing painel). Its work well with Affine method.

http://www.saga-gis.org/saga_tool_doc/2.2.5/pj_georeference_2.html

Answered by Cauan Araújo on December 13, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP