Skip to main content

Questions tagged [rotate]

Filter by
Sorted by
Tagged with
3 votes
1 answer
753 views

Producing CartoPy map in UTM with North-East up

I'm currently trying to produce maps of a shoreline, which runs roughly from southeast to northwest in an UTM projection to visualize shoreline change. By default, Cartopy maps are in north up. Is ...
0 votes
0 answers
12 views

Setting Rotate Label tool pivot/anchor point in QGIS 3.x

In older versions of QGIS 2.x, I recall the pivot/anchor point for interactive label rotation was the origin point of the selected parent symbol, seen as the red dot inside the middle of the 28 label ...
0 votes
1 answer
358 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 ...
2 votes
1 answer
600 views

Rotation of a cropped portion of a raster map

We create printed maps from a GeoTIFF file projected in LCC, which is a common projection for aviation maps. Part of our process includes customization of the raster image by selecting a region and ...
0 votes
0 answers
39 views

QGIS Print Layout layers can't be rotated without the map boundaries also rotating

QGIS 3.38.3 Windows 11 Home After creating Shapefile layers in a project, I then created a print layout showing the layers. After inspecting the print layout I saw that I'd achieve a better display ...
3 votes
2 answers
959 views

Strip map with horizontal labels in ArcGIS Pro

I've created a strip index page for my map series in ArcGIS Pro using the Generate Rectangles Along Lines tool. My problem is that the horizontal labels do not rotate with the map frame on the layout. ...
1 vote
1 answer
903 views

Rotating GeoTIFF images

I have a GeoTIFF file which when imported using rasterio get flipped on the y-axis, and now I am trying to rotate this GeoTIFF file using NumPy rotate, it gives an error (Axes=(0, 1) out of range for ...
1 vote
1 answer
1k views

Keeping symbology unaffected by data frame rotation in ArcMap?

In ArcMap 10.3, I am trying to recreate a city planning map that uses a lot of crosshatched and line-based symbology for different elements in the map legend like so: No projection information is ...
1 vote
0 answers
34 views

Batch georeferencing of aerial imagery above the ocean using R

I am working with aerial imagery collected above open water. The raw images are not georeferenced. I am using the closest position recorded by the aircraft (based on timestamps) as the coordinate for ...
0 votes
1 answer
657 views

Rotating raster before tiling

I have a set of referenced rasters (.tif), which need to be tiled but each of them need to be rotated by a certain degree before that using python (gdal mainly as other routines use it as well). In ...
0 votes
1 answer
52 views

Point features not rotating when map view is rotated using QGIS

I have a point layer in QGIS with features sorted after a specified value. Meaning, my features are categorized and are symbol layers of type "Font Marker". Now, since they are street labels ...
7 votes
2 answers
3k views

Rotating label in QGIS

I have a shapefile of cartographic text (roads, buildings, water etc.) and I would like to be able to rotate individual road names to fit within the width of the road. Anyway, I know it is possible to ...
8 votes
2 answers
403 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 ...
4 votes
1 answer
86 views

QGIS rotate/translate features on several layers with different geometries simultaneously

I am working in QGIS with three vector layers (points, lines, polygons) and an aerial image. The features from these three layers are "connected", i.e. they should stay in the same position ...
0 votes
1 answer
45 views

Arrow symbols are 180deg off rotation in QGIS

I'm using QGIS 3.36, and I have a layer of geotagged images that I've marked with arrows. I've rotated the arrows with the images exif data and while they're all rotating, I've noticed they're ...
2 votes
1 answer
189 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 ...
0 votes
1 answer
59 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. ...
1 vote
1 answer
775 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 ...
2 votes
1 answer
4k 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 ...
0 votes
1 answer
74 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 ...
0 votes
1 answer
500 views

Rotating PDF/raster in QGIS 2

In QGIS 2.14.0-Essen I inserted a PDF (image) in my work. But the PDF is rotated 180 degrees... My objective is to georeferencing it. How can I rotate it prior to georeferencing it?
6 votes
2 answers
359 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 ...
0 votes
0 answers
21 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 ...
2 votes
1 answer
860 views

Rotating and editing Legend in layout using PyQGIS

I'm trying to set up a legend in the lower part of the map and I have only achieved this: legend = QgsLayoutItemLegend(layout) legend.model().setRootGroup(root) layout.addLayoutItem(legend) legend....
2 votes
1 answer
2k views

Flipping raster with Python

I am trying to calculate summary statistics for a raster file. I am encountering a problem when loading my raster into Python. When I load the raster and I plot it, it is flipped 180 degrees. This ...
2 votes
1 answer
169 views

Rotating orthophoto based on polygon boundary (rotated pixel)?

When I clip an orthophoto using a vector polygon, the resulting pixels orientation is north-up like as shown in the graphic below. I used Global Mapper, ERDAS, Arcmap "Clip" "Extract by Mask", "...
2 votes
3 answers
1k 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 ...
3 votes
1 answer
178 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:...
2 votes
1 answer
67 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 ...
1 vote
1 answer
135 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 ...
0 votes
0 answers
95 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 ...
5 votes
1 answer
204 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. ...
3 votes
1 answer
243 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 ...
1 vote
0 answers
60 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 ...
4 votes
3 answers
302 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.
0 votes
1 answer
251 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 ...
6 votes
1 answer
218 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 ...
6 votes
0 answers
84 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 ...
2 votes
2 answers
1k 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 ...
3 votes
1 answer
141 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 ...
2 votes
0 answers
580 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 ...
1 vote
0 answers
253 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 ...
0 votes
1 answer
74 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 ...
0 votes
0 answers
76 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?
3 votes
2 answers
305 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 ...
7 votes
1 answer
2k views

Rotating feature by angle in QGIS

Trying to offset a line by 10 degrees, rotating around an endpoint. I've read up on the older plugins and the new Rotate Feature tool, but am having trouble. I am using QGIS 2.8.9 Wien, reinstalled ...
1 vote
1 answer
624 views

Rotating Polygon in 3D Space as KML for Google Earth?

I'm trying to create this effect in a KML to be displayed in Google Earth. I am writing in KML 2.1 as a reference. I know it is possible to create a polygon that is circular in appearance, but can ...
1 vote
2 answers
202 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 ...
0 votes
0 answers
603 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 ...
-2 votes
1 answer
246 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 ...