Skip to main content

Questions tagged [rotate]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
34 views

Rotate an overview polygon generated to match the area of a map view in print composer?

From an answer in the below question, I can generate a polygon around a LineString input to generate an Atlas. The polygon represents the Atlas view area, given the map's scale, width and height. ...
user15260458's user avatar
6 votes
2 answers
299 views

Rotate a Geometry Generator expression with a 180 degrees rotation

From a point geometry layer to which apply a Geometry Generator expression to creates a new geometry, my goal is to translate this expression rotating 180 degrees, and taking as reference the opposite ...
Ingrid Ingravida's user avatar
0 votes
1 answer
43 views

Rotate stars raster object around the centroid in st_geotransform

I'd like to use an affine transformation to translate and rotate a stars object around the centroid. As far as I understand, the general approach is to i) translate the object so that the centroid ...
Thomas Moore's user avatar
2 votes
1 answer
124 views

Basemap rotation - keeping labels facing down

I'm using QGIS Hannover 3.16.3. I often use Google basemap layers from the XYZ tiles. When rotating the maps the place names rotate with them. Is there a way of stopping this? Perhaps an alternative ...
Tom 's user avatar
  • 21
0 votes
0 answers
19 views

Projection alignment

I am trying to align my coordinates with known geodesic markers in QGIS 3.34.1 but all my measured points are out with a bearing of about 35 degrees and 2.6m away. My distances are correct when ...
Stephen's user avatar
2 votes
1 answer
43 views

Some labels are not shown in a rotated atlas object (QGIS 3.28.8)

I have a problem that some labels from polygons are not shown in my atlas when the map is rotated. If I switch the map rotation off all labels are placed just fine. I created the atlas objects with ...
Martin's user avatar
  • 23
0 votes
0 answers
40 views

How do I mirror image and rotate a layer of points in ArcGIS Pro?

I can't use the Rotate or Mirror tool since it's not a raster, and if I convert it to a group of rasters I lose the point labels. What can I do? Alternatively, is there a way to label a group of ...
Kelly's user avatar
  • 1
1 vote
1 answer
112 views

Using QGIS Model Designer to rotate points but it moves the points location

Using model designer to automate a process and I would like to be able to rotate points whether it be using the affine transformation tool or the rotate tool. I have gotten both of these tools to ...
Max's user avatar
  • 31
0 votes
0 answers
30 views

Manually transforming rotated lat/lon to regular lat/lon given north pole coordinate

I am interested in transforming regular coordinates to rotated coordinates similar as done in this post: Manually transforming rotated lat/lon to regular lat/lon? These functions base the rotation on ...
Selene's user avatar
  • 1
0 votes
0 answers
66 views

Shift rotated GeoTIFF

I have images that are rotated (pixels are not rectangular in X, Y but rotated ~8°). How do I shift this image and keep the rotation? I don't understand where the rotation information is kept to be ...
cndnflyr's user avatar
  • 3,392
3 votes
1 answer
206 views

How to rotate multiple features from multiple layers in QGIS at once?

I want to rotate multiple layers containing points, lines, polygons around a point. According to my research, the tools in qgis can only rotate the features of the active layer together, is there a ...
hamid barati's user avatar
5 votes
1 answer
164 views

Rotating features with multiple geometries in one layer using PyQGIS

I have a layer containing several small square geometries in QGIS. I want to tilt these ones by one to the same angle. So I wrote the following Python code for that, but it does not work properly. ...
Is.Ballad's user avatar
1 vote
0 answers
52 views

Weird rotation behavior while georeferencing in QGIS 3.30.1

I am working with a project which is rotated 20 Degrees (see lower right corner of screenshot). I had someone from Fiverr render out a relief map for me to put in as a background. They supplied me ...
Christopher Nielsen's user avatar
4 votes
3 answers
261 views

Changing orientation of all polygons at once with numeric value in QGIS

I want to change the orientation of the raster/polygons with a numeric value around the centroid of the total grid. I have tried rotate($geometry, 45) in the Field Calculator but nothing happened.
N_LLC's user avatar
  • 615
0 votes
1 answer
185 views

How to move and rotate WMS layers independently using OpenLayers (without GeoServer)

There are maps on OpenLayers 6 and proj4js that manages WMS layers in different projections. Sometimes (e.g. for plan maps) the overlay is not aligned with base layer and a need a function that can ...
neadmin's user avatar
6 votes
1 answer
209 views

Creating straight line that starts from the point with the given length and also rotates around the point in QGIS

I want to create a straight line that starts from the point with the given length. And also it rotates around the point. I have a point data of cctvs: And I want to create a line with the given ...
paul lee's user avatar
6 votes
0 answers
74 views

Get rotation and scale of picture after georeferencing using QGIS

How can I access the rotation and scaling information, that is visible during the georeferencing process in QGIS (see yellow marked text in the picture), after the georeferencing is completed and the ...
automatikz's user avatar
2 votes
0 answers
466 views

Rotating QGIS Annotation layer text

I can't figure out how to rotate annotation text in QGIS (3.28.2). This is not for a 'label', it's for text on an "Annotation" layer Does anyone have advice on how to do it? I can add ...
user219000's user avatar
3 votes
1 answer
103 views

Rotation in Geoserver SLD based on complex Math Function

I try to visualize windspeed and -direction using geoserver's build-in windbarbs. Therefor I have a rasterlayer with two bands "u" and "v", representing the lat and lon vector ...
Johannes Schnell's user avatar
1 vote
0 answers
167 views

Convert a body vector relative to an aircraft, to a vector in ECEF space

I am trying to solve for a problem where an observer is on an aircraft with a given pitch, roll, and yaw. The observer is looking at an object which produces a line of sight vector that is measured ...
Jon's user avatar
  • 111
0 votes
0 answers
73 views

Backward transformation of georeferenced image: from GeoTIFF to TIFF

What's the processing procedure to realize a backward transformation, from a GeoTIFF image to its native array of pixels? Do you have any suggestion?
Claudio's user avatar
  • 26
1 vote
2 answers
168 views

How to rotate a SVG symbol based on a formula of column value and literal value (90 degrees) in GeoServer

I have a shapefile that I have stored in GeoServer. I have some SVG symbols that I want to use for each point. I want the SVG symbols to rotate based on the orientation column (attribute value) in the ...
milad's user avatar
  • 719
0 votes
1 answer
69 views

GRASS i.rotate function not appearing - any idea's why?

I want to look at rotating a layer using GRASS' i.rotate tool, but it is not showing in the toolbox. Am I looking in the wrong place? Update I have run the i.rotate tool in GRASS independently but it ...
T1230321's user avatar
0 votes
0 answers
422 views

Rotate raster layer

I have a raster layer that I am trying to rotate so it is level in QGIS. I have attempted the solution offered here (Rotate raster in QGIS) but without success; the data disappears when I open the ...
T1230321's user avatar
2 votes
1 answer
312 views

Rotate polygons inside of a polygon to align with the longest side without manually adding a rotation angle in QGIS

Is there a way to rotate all polygons in layer_a (green polygons) to align with the longest side of the polygon in layer_b (red polygon) without having to manually enter a rotation angle? In most ...
Anthony's user avatar
  • 127
4 votes
1 answer
185 views

Rotating line using PyQGIS

I am attempting to rotate each feature of a line layer around its midpoint, but my code below is not working despite not throwing any errors. Any suggestions? This essentially worked in QGIS 2, and I ...
efrank's user avatar
  • 419
2 votes
2 answers
139 views

QGIS: How to turn symbol in polygon when using rotate tool

I would like the svg in the polygon to turn by using the rotate tool. Is there a script that will connect the layer layout with the rotate-tool?
GIS Adviseur VI's user avatar
3 votes
1 answer
157 views

Rotating point layer according to line layer in QGIS part 2

Related to the question line below. How do I make the arrow point to the line correctly ? This code did not work : with_variable('myvalue',line_interpolate_angle(geometry:=intersection(buffer(geometry:...
Er Re's user avatar
  • 113
-2 votes
1 answer
188 views

QGIS export rotated GeoJSON

In QGIS one can rotate a layer on the fly using the Rotation button at bottom of pane. But I cant work out how to export the layer with the rotation applied. When exported the object is always ...
proximacentauri's user avatar
3 votes
2 answers
250 views

Rotating labels based on custom CRS QGIS 3

I'm trying to rotate labels based on CRS of a Europe map EPSG:3035 ETRS89-extended / LAEA Europe but with Longitude of origin 18° and Latitude origin 49°. According to the question Parameters of the ...
Iven Pepa's user avatar
  • 341
0 votes
0 answers
323 views

Rotate shapefile based on raster coordinates using Python

I have a shapefile with polygons and a raster file. I know the coordinates of raster file corners and also the coordinates of shape file polygon files. What I need to do, is rotate/transform the ...
g123456k's user avatar
  • 600
0 votes
1 answer
98 views

Vary symbol rotation to point towards the next point in a sequence using Arcade and ArcGIS Pro

I have created a 3D map in ArcGIS Pro that shows the flight path of a drone. I want to use arrows for the symbology that point in the direction of the flight path. Each observation includes elapsed ...
Devin's user avatar
  • 1
2 votes
1 answer
170 views

Rotating by 90° one and more polygons in QGIS

I have a layer with many rectangles polygons, these should all be rotated by 90°. Can I do this in QGIS? I have not found a way so far.
miraculix's user avatar
  • 169
2 votes
3 answers
762 views

How to rotate map extent differently on each page in map series?

I'm a beginner to ArcGIS Pro. For last few weeks, I've been working on creating a map series. So far, I've managed to nail down what needs to be done. However, I'm having difficulties with one ...
Picard90's user avatar
0 votes
1 answer
282 views

QGIS rotate CRS around a new centre

I've been given some NetCDF data in a Mercator projection with a centre longitude of 173.9581, centre latitude of -41.0870 and rotation of 40 degrees. I have tried to create a new CRS based on ...
Seagus's user avatar
  • 231
1 vote
1 answer
646 views

Google Maps not being quite top-down in QGIS

I am quite new to QGIS, but am using it for utility mapping at work. I have added a google maps layer to my QGIS project via http://mt0.google.com/vt/lyrs=s&hl=en&x={x}&y={y}&z={z} and ...
user205011's user avatar
8 votes
2 answers
854 views

Rotating polygons to follow the curve (line) in 90 degree in QGIS

I have created points on the line with 60m distance. Then I've made square buffers to these points. But they all stand straight. Is it possible somehow to rotate them so they follow the line curves? ...
Wayfarer's user avatar
  • 121
2 votes
1 answer
597 views

How to produce a Cartopy map in UTM with north-east up?

I'm currently trying to produce maps of a shoreline, which runs roughly from south-east - north-west in an UTM projection to visualize shoreline change. By default Cartopy maps are in north up. Is ...
eimes's user avatar
  • 43
5 votes
1 answer
1k views

Rotating point layer according to line layer in QGIS

I got two layers: (1) a line layer with water pipelines and (2) a point layer that shows hydrants and so forth. The points are located, mostly, on the line layer. For the symbology of the hydrants i ...
Nunkuat's user avatar
  • 495
0 votes
1 answer
139 views

Qgis2threejs changing rotation point

I am new to QGis and have an issue with the QGis2threejs plugin. I am trying and searching already for some hours, but couldn't find an answer for this - I hope it's not something obvious. If yes, ...
chrisp's user avatar
  • 1
3 votes
1 answer
275 views

Making marker label rotate with marker using QGIS

I have an arrow marker (svg) that I use for photo location and direction on maps. Under the arrow I want a label that is the number of the photo (photos by number are located elsewhere in a report). ...
Mathew Gibson's user avatar
2 votes
1 answer
420 views

Keep labels upright when QGIS map rotated in layout relative to canvas

I have the following in my canvas: I have rotated it to fit in my layout: I have attempted several methods, e.g. Is there a way to interactively rotate labels in QGIS using any of the edit tools?, ...
MonkeyCousin's user avatar
0 votes
1 answer
145 views

Bulk rotate of the label for point layer in QGIS

I would like to have all the labels rotated for my point layer. To be honest I need this in a batch process. If for example, I have 2 points in a row I would like to have all the labels rotated for ...
Geographos's user avatar
  • 4,109
4 votes
0 answers
423 views

How to rotate labels with an expression in QGIS 3.x

I have a layer with lines, and I am trying to rotate some of their labels that are displayed at 270º to get them at 90º like the rest, but the expression is doing nothing. Even fixing the expression ...
Opazo's user avatar
  • 363
1 vote
0 answers
43 views

Image rotation and translation in a report

QGIS 3.22.4 I am working on an indication panel project, to connect different numbered points together (as junction nodes) In summary: along a road, we have to install panels (on stakes for example) ...
ClaudeVer's user avatar
  • 630
1 vote
2 answers
679 views

Converting aspect/direction raster from geographic degrees to arithmetic radians

I have a raster/grid representing e.g. terrain aspect or flow direction, coded in geographic degrees (0-360°, clockwise from the north). I would like to convert it in arithmetic radians (0-2π, ...
M2FKXY's user avatar
  • 53
0 votes
0 answers
74 views

Conflict between label rotation and label background in SLD Style

When I use rotation attribute and Graphic for label Background together in SLD Style, then SLD style ignores my rotation attribute and because of that positioning of labels is incorrect. EXAMPLE OF MY ...
khalil Omrani's user avatar
1 vote
1 answer
743 views

Affine transformation: rescaling alters the raster bounds?

I'm trying to rotate a raster around its center coordinates, rescaling the resolution by a factor. I expect the transformation to conserve the center pivot. However; it seems that after the rotation ...
WaterFox's user avatar
  • 133
0 votes
0 answers
142 views

NetCDF file is rotated QGIS

I downloded IMERG precipitation data as NetCDF files but when I use QGIS to open them, the raster files are rotated. Does anyone know how to solve this?
Anas Hesham's user avatar
0 votes
1 answer
2k views

Rotation of a spatial grid by an angle around a pivot with python gdal or rasterio

What I want to do: I have been trying to: Open a raster Make a copy Rotate the copy by an angle with the raster center as a pivot Keep the resolution constant in x/y dimension Solution 1 with gdal: #...
WaterFox's user avatar
  • 133