Saturday, 28 September 2019

rotate - Rotating shape around defined point instead of centroid in QGIS?


The rotate feature in QGIS 3 rotates shapes around the centroid of that shape (with our without a defined angle).


When I start to rotate, I see that a cross appears at the centroid of that shape.



I would like to move that cross to rotate the shape around that cross.


I tried to move the cross with both left mouse clicks (no solution) and right mouse clicks (QGIS crashes after this action).


Are there any known ways to rotate shapes (just as in ArcMap) around a given point?



Answer



To rotate feature(s) in QGIS you need to be in editing mode, select one or more features then use Rotate feature tool: enter image description here , also found in edit menu.


While holding ctrl left click to move rotation centroid. I couldnt find a way to snap roatation centroid to points but you can zoom in very far to get sub milimeter accuracy. When satisfied with location just left click to start rotating (free or by typing in angle).


For certain similar task also plugin Vector Bender can be useful, it "Does to vectors what georefencers does to raster"


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...