Questions tagged [rotate]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
72 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.
user avatar
  • 159
0 votes
1 answer
36 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 ...
user avatar
  • 231
8 votes
2 answers
407 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? ...
user avatar
  • 121
1 vote
0 answers
59 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 ...
user avatar
  • 33
4 votes
1 answer
103 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 ...
user avatar
  • 457
2 votes
1 answer
29 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?, ...
user avatar
0 votes
1 answer
42 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 ...
user avatar
  • 3,604
1 vote
0 answers
19 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) ...
user avatar
  • 418
0 votes
0 answers
47 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?
user avatar
0 votes
1 answer
277 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: #...
user avatar
1 vote
1 answer
59 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-...
user avatar
  • 21
1 vote
0 answers
73 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 ...
user avatar
  • 89
8 votes
1 answer
194 views

Calling Rotate Feature from Python code in QGIS

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 ...
user avatar
1 vote
0 answers
17 views

Doubt with tools "rotate object" and automatic tracing mode

I have a doubt with the edition of polygons. I have created many tables to digitize some archaeological surveys and I have encountered several problems. For reasons of the site, these surveys were not ...
user avatar
3 votes
1 answer
78 views

Esri's symbol rotation angle in QGIS 3.18

I have few point layers from Esri ArcMap, whose symbols rotate as per the values(double) defined in a "Rotation" field. However, when I use the layers in QGIS 3.18, the rotation value ...
user avatar
  • 71
1 vote
0 answers
103 views

Adding Azimuth to each point in GeoJSON

I have a GeoJSON which returns a set of points, for each point I have different azimuth(rotation) is required. I have tried using the rotate property of OpenLayers, however when I use it all the point ...
user avatar
0 votes
0 answers
34 views

Rotating point feature on line feature in ArcMap

I have a line and a point feature class in ArcMap. I want to rotate the point feature on the line feature. I will use the Symbol Rotate Option with a defined field. I have a script for Field ...
user avatar
  • 1
0 votes
1 answer
232 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 ...
user avatar
0 votes
0 answers
47 views

Haversine formula on rotated poles sphere

I'm working with climate data from the CORDEX domain WAS-22. The data are on rotated poles grid defined as: char rotated_pole; :long_name = "coordinates of the rotated North Pole"; :...
user avatar
2 votes
1 answer
217 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 ...
user avatar
  • 141
1 vote
1 answer
271 views

Using R, how do I rotate a GeoTiff file with multiple bands and save it?

My existing code (see below) only reads and rotates one band but I want all 360 of my bands to rotate. library(raster) your_raster <- raster("path/to/raster.tif") rotated_raster <- ...
user avatar
8 votes
0 answers
114 views

QGIS vector field marker not respecting map rotation

I’m working on a map the shows point displacement between two dates. These are survey benchmarks that are surveyed periodically to observe slope movement. Symbolizing this in QGIS is straight forward ...
user avatar
2 votes
0 answers
118 views

Rotating vertices of geometries in QGIS

I have a great number of area geometries, and line- and point-geometries which have a geometric relation to the area. That means that the distance and the orientation of the lines/points to the areas ...
user avatar
  • 163
3 votes
1 answer
112 views

Rotating a selection of features around their individual centroid rather than the combined centroid

The rotate feature in QGIS 3 allows you to select multiple features at once and rotate them around the centroid of their combined geometries, as found in the documentation. You can also use an anchor ...
user avatar
  • 31
2 votes
1 answer
770 views

Data driven icon rotation using Mapbox GL

I am trying to rotate map icons based on an "orientation" attribute field (which provides the bearing in degrees). I've tested this in Mapbox studio and it is working fine. When I copy/paste ...
user avatar
  • 143
2 votes
1 answer
369 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....
user avatar
2 votes
1 answer
187 views

Moving rotated polygons horizontally to avoid overlap

To rotate rectangular polygons, I use the following (courtesy from this answer): rotation = 50 vlayer = iface.activeLayer() provider = vlayer.dataProvider() couples_id_geom = [] for feature in vlayer....
user avatar
  • 493
2 votes
1 answer
245 views

Rotating features in memory layer using PyQGIS

I can rotate polygon features in a shapefile using: vlayer = iface.activeLayer() vlayer.startEditing() for ft in vlayer.getFeatures(): geom = ft.geometry() pt = ft.geometry().centroid()....
user avatar
  • 493
1 vote
0 answers
101 views

Change of latitude and longitude when rotating around an Euler pole

Suppose we have a point P on the surface of the Earth characterized by its latitude and longitude. There is an Euler pole given together with an angle of rotation around the axis associated with this ...
user avatar
0 votes
2 answers
244 views

Project and Layer having Projected Coordinate System tilting layer

QGIS 3.10, Ubuntu 18.04 I was questioning why my map displayed at a +10 degree rotation, but displayed unrotated in the Print Layout. What I do now: Set Project->Properties->CRS to EPSG:5070 - ...
user avatar
  • 299
3 votes
0 answers
398 views

Compute a rotation relative to ENU

I am using CESIUM JS. I posted a message in cesium forum some days ago, but I didn't manage to find a solution. I have a 3D camera moving freely on a map. I have a 2D map (let's call it minimap) that ...
user avatar
  • 111
1 vote
1 answer
631 views

Rotating a map/projection in GeoPandas

I'm trying to get a map of Manhattan that is aligned vertically. I have a GeoJSON file with polygons in EPSG:4326 in fname that I've been transforming to EPSG:6539 gdf = gpd.read_file(fname).to_crs("...
user avatar
1 vote
0 answers
38 views

3D variography: rotation matrices for multiple angles support

I'm currently working on a 3D variogram algorithm based on geostatsmodels (which only handles 2D datasets). I'm having a hard time understanding how to have rotation along the z-axis for azimuth ...
user avatar
  • 13
2 votes
1 answer
423 views

How do you flip and rotate NetCDF (.nc) files in QGIS?

I am trying to extract Surface PM2.5 values from the NetCDF files available on the Atmospheric Composition Analysis Group's website. However, when I load it into QGIS, it appears to be flipped and ...
user avatar
0 votes
1 answer
99 views

ArcGIS Pro SDK set rotation / angle field in renderer

I'm in the process of converting an Addin written in ArcObjects to an ArcGIS Pro Addin. I need to rotation everything in a point layer using the values stored in the ANGlE field. In ArcObjects I was ...
user avatar
  • 21
1 vote
1 answer
26 views

Define raster Rotation in NetCDF

I am trying to add rotation to a NetCDF File One Idea was to add a additional parameter to my current grid mapping that describes the rotation point and the rotation: PROJCS["...
user avatar
  • 41
0 votes
1 answer
270 views

Rotate raster before tiling

I have 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 ...
user avatar
2 votes
1 answer
501 views

QGIS3 Separately rotate the orientation of individual composer atlas maps?

Is it possible to rotate each individual atlas detail map separately? In creating an atlas for a long linear feature (rivers) to be output in engineering-style pages (11 x 17), it is nice to include ...
user avatar
1 vote
2 answers
1k views

How to rotate rasters with GDAL, QGIS or GRASS GIS

I need to rotate raster files from the TRMM Multisatellite Precipitation monthly product 3B43. For some unknown reason, this data comes rotated 90 degrees clockwise, meaning that the y coordinate is ...
user avatar
  • 129
1 vote
0 answers
110 views

Rotating vector grid in QGIS 3.10 vs 3.8

Just wondering if anyone else has had an issue with vector rotation via the advanced editing tools in 3.10? I have a vertical grid overlaying Vancouver Island that I had tried to rotate using the ...
user avatar
  • 386
2 votes
1 answer
134 views

Rotating Feature in Vector Layer using PyQGIS

I am using QGIS 3.4. I am new in gis and I am trying to rotate a feature of a vector layer. Code: for ft in feat: vlayer.startEditing() the_geom = ft.geometry() pt = ft.geometry()....
user avatar
  • 203
3 votes
2 answers
487 views

Rotating legend item labels in QGIS Layout Manger?

I want to create horizontal legend in QGIS (v 3.8.0). Is it possible to rotate legend item labels in Layout Manager?
user avatar
  • 41
2 votes
1 answer
2k views

Converting Longitude range from (0,360) to (-180,180) in Python or by using gdal commands

I have a raster downloaded. Visualising it in QGIS. I want to correctly project it so that its extent varies with longitudes from -180 to 180 instead of 0 to 360. gdalinfo filename.nc outputs the ...
user avatar
  • 287
0 votes
1 answer
58 views

2dm data disappears after rotating layout in QGIS

I ran into a bug (I suppose) recently. After loading a *.2dm format mesh (triangulated irregular network with elevation data), with the Layer --> Add Layer --> Add Mesh Layer command, I put some ...
user avatar
  • 1
1 vote
1 answer
4k views

Rotate raster in QGIS

I have two raster datasets of Antarctica, however, they do not match spatially as one of the raster should be rotates 90 degrees. Is there a way to do this in QGIS?
user avatar
1 vote
1 answer
107 views

Point symbol rotation in QGIS 3

In QGis 2.x, I could rotate a point symbol towards the nearest geometry of a certain kind by using: geomnearest('featuretype', 'BEARING') This however does not work in QGIS 3.x, and I cannot find ...
user avatar
1 vote
1 answer
330 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 ...
user avatar
2 votes
1 answer
336 views

Determining rotation of rectangle features for Data Driven Pages in ArcGIS Desktop?

I am trying to generate a large number of plans using the Data Driven Pages in ArcGIS Desktop. I have created an index layer comprising a series of rectangle features that correspond to set scales ...
user avatar
  • 1,257
0 votes
1 answer
102 views

Rotating around arbitrary point, not center when using Google Earth Pro to Edit Image Overlay?

In Google Earth Pro "Edit Image Overlay", we can rotate the overlay around its center (via grabbing the green diamond,) but how might one rotate it around an arbitrary point not its center? (Yes, ...
user avatar
6 votes
2 answers
2k views

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 ...
user avatar
  • 395