Questions tagged [rotate]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 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
34 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,292
2 votes
1 answer
153 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
4 votes
1 answer
123 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
37 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
207 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
  • 605
0 votes
1 answer
104 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
194 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
62 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
279 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
72 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
87 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
65 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
89 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
  • 649
0 votes
1 answer
54 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
179 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
192 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
145 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
124 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
-2 votes
1 answer
110 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
200 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
247 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
  • 608
0 votes
1 answer
78 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
133 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
2 answers
442 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
151 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
514 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
679 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
1 vote
0 answers
355 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
  • 33
5 votes
1 answer
764 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
  • 465
0 votes
1 answer
70 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
195 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
245 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
121 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
  • 3,975
4 votes
0 answers
278 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
42 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
  • 576
1 vote
2 answers
433 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
  • 41
0 votes
0 answers
59 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
620 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
107 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
1k 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
1 vote
1 answer
93 views

DragRotate Interaction Distorts GeoTIFF OpenLayers 6.9.0 [closed]

Context I have some GeoTIFF files that are loaded directly into OpenLayers via a WebGLTile Layer with a GeoTIFF source. My code is similar to the example in this workshop. I am also registering a non-...
0x00's user avatar
  • 21
1 vote
0 answers
126 views

Transforming raster with matrix

I would like to apply a similarity transformation matrix (potentially a homography matrix) on a valid raster (with proper CRS, resolution, bounds, width height, etc). The 1st image is the original ...
Lion Lai's user avatar
  • 248
5 votes
1 answer
4k views

Rotating a set of points with an angle with rotation matrix: why is result "distorted"

What might be going wrong with my rotation of set of points as result look distorted? I have a set of points (X,Y). I calculate the mean (= "center of gravity") of them and subtract it from ...
Estiivan's user avatar
  • 387
1 vote
0 answers
130 views

Rotating a shapefile to North in QGIS

In QGIS 3.x, is there a way to rotate a 50 x 2 metre rectangle (ESRI shapefile) to exactly grid/map North (0.0 degrees in British National Grid) whatever angle it has been drawn at originally, but ...
Derek's user avatar
  • 89
2 votes
2 answers
615 views

Rotating polygon fills to align with lines in QGIS

I'm working with shapefiles of existing road surface markings, in QGIS. The shapefile with markings of road crossings (i.e. crosswalks or zebras) is of the polygon type. Hence I'm struggling how to ...
Peter's user avatar
  • 143
1 vote
0 answers
197 views

Rotation of raster image in atlas using QGIS [closed]

I am currently dealing with a mind-numbing problem. I am creating an atlas that has photos as a part of it. The images are loaded through an attribute with relative link. Everything loads just fine ...
Roman Dostál's user avatar
1 vote
1 answer
2k views

Rotating raster using Python [closed]

I am trying to rotate a DEM raster (NetCDF file) using Python language, but there is still no progress. I have tried GDAL Python but not so much information in the document about rotation. Do you know ...
Happier's user avatar
  • 67
8 votes
1 answer
334 views

Calling Rotate Feature tool from QGIS Python Console

To rotate feature(s) in QGIS you need to be in editing mode, select one or more features then use 'Rotate Feature' tool present inside Advanced Digitizing Toolbar: But how can we call this action ...
GothamChess's user avatar
0 votes
0 answers
91 views

Solved: QGIS 3.16.6 - Rotating symbols together with map in Layout Manager

QGIS 3.16.6 Hannover I have a project where a points layer with font markers are rotated in a certain way (based on a field value). In my print layouts I need to rotate the map (by "Map rotation&...
Jeston Lunnigan's user avatar