Questions tagged [rotate]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 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"; :...
2
votes
1answer
45 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 ...
1
vote
1answer
32 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 <- ...
5
votes
0answers
45 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 is QGIS is straight forward ...
2
votes
1answer
47 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 ...
0
votes
0answers
24 views

Change Projection of a Web Mercator PCS to rotate it around center

I am using the GIS tool SharpMap together with ProjNet(4GeoAPI) as a tool to switch between CRS and transform coordinates (This information are just for context; my question is more abstract). The app ...
0
votes
0answers
60 views

Problems while Text Label Rotation (angle field) in QGIS 3.8

I encountered a problem when exporting webmap using qgis2web. It turned out not rendering the angle field set in the shapefile for those specific text labels (as Points). I used OpenLayers to export ...
3
votes
1answer
39 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 ...
2
votes
1answer
160 views

Mapbox GL - data driven icon rotation

So 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 ...
1
vote
1answer
122 views

Rotate and edit Legend in layout (Python-QGis)

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
1answer
123 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....
1
vote
1answer
94 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()....
1
vote
0answers
51 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 ...
0
votes
2answers
78 views

QGIS 3.10: Project and Layer have Proj. Coord. System, why is layer tilted?

[OP edited to change tense and to show correct steps, in italics] 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. ...
3
votes
0answers
117 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 ...
1
vote
1answer
130 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("...
1
vote
0answers
27 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 ...
2
votes
1answer
139 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 ...
0
votes
0answers
14 views

How to rotate a Vec4 on Earth

I am working with WorldWind Java. I want to rotate a Vec4 on x,y and z-axis on Earth's Sphere. I found a function calculating the north pointing tangent. My question is how can I rotate this vector. ...
0
votes
0answers
122 views

Rotate Legend / Legend Style in ArcGis Pro

I made this map using ArcMap, and I want to reproduce such horizontal Legend with ArcGis Pro. I tried importing it to ArcGis Pro and the legend shift vertical. So is there anyway to access Legend ...
0
votes
0answers
14 views

Anchor point for picture marker in ArcMap

I am trying to set an anchor point for a point feature layer in ArcMap. I have tried using the instructions in the attached question/answer, which works fine for an arrow/character marker symbol, and ...
0
votes
1answer
43 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 ...
1
vote
1answer
17 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["...
0
votes
1answer
128 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 ...
0
votes
0answers
23 views

My map digitization is offset to the original georeferenced raster

So I after I was done digitizing on a georeferenced raster map saved my work and then got back to it after while, found out it's offset to the original raster. Note that I tried to rotate my work ...
2
votes
1answer
183 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 ...
0
votes
2answers
375 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 ...
1
vote
0answers
83 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 ...
2
votes
1answer
92 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()....
3
votes
2answers
244 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?
2
votes
1answer
915 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 ...
0
votes
1answer
38 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 ...
1
vote
1answer
2k 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?
1
vote
1answer
59 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 ...
1
vote
1answer
201 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 ...
2
votes
1answer
115 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 ...
0
votes
1answer
57 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, ...
6
votes
2answers
1k 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 ...
1
vote
1answer
22 views

Including rotated label alongside stacked label in ArcMap?

I am trying to replicate the label that I have attached an image of. Is this possible in ArcMap? So far I have stacked 3 labels but am unsure how to: Create 3 individual boxes around the stacked ...
2
votes
0answers
145 views

Rotating symbols by Data Frame coordinate system in ArcGIS Pro?

Is it possible to ensure that symbols rotated by attribute (compass azimuth) retain their proper orientation when the Data Frame coordinate system changes? Answers have been provided for this issue ...
0
votes
0answers
45 views

Rotate feature around defined fixed point using ArcGIS 10.4

I have a polygon feature and want to rotate it around defined (fixed point). There is a Rotate tool in Editor toolbar but I can't define fixed rotation point. I am using ArcGIS 10.4 and want to know ...
0
votes
0answers
480 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 ...
1
vote
0answers
46 views

QGIS extracted azimuth used for symbol rotation seems not reproduced faithfully [closed]

A field of calculated azimuths* (degrees) of digitized two-point lines was created. Field expression to calculate azimuth: degrees( azimuth( point_n( $geometry ,1) , point_n( $geometry ,2 ) ) ) . ...
1
vote
2answers
742 views

How to make a raster gradient in any direction in R

How can I create a raster, where the values increase in a certain direction? I know how to do the "main" directions with full 90 degree steps, as illustrated in the image. But I would need some help ...
2
votes
1answer
91 views

Rotating polygons by azimuth from attribute table using ArcPy [closed]

I want to rotate some polygons according to the value of azimuth from attribute table. I try to use this code but there is an error that I can not understand. CODE import arcpy, math fc = 'Polygons'...
3
votes
0answers
82 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", "...
1
vote
1answer
669 views

Rotating polygons by value from attribute table using ArcPy?

I have 60 polygons saved in one shp file. Is there a way to rotate them by the angle value stored in the attribute table? I know how to do it manually; I am looking for more automated way (Every ...
2
votes
1answer
115 views

Using viewport rotate in R?

I am trying to rotate a viewport object in R. However, I end up getting boundaries for the rotated object. Any idea as to how to rotate but not end up with these boxes? Below is the code. m_cont, ...
0
votes
1answer
41 views

Rotating parcel in Parcel Fabric?

I am working in ArcMap wanting to rotate a parcel in parcel fabric. NOT working in parcel fabric you can click "S" for another rotating point to come up. However this does not work in parcel fabric....
2
votes
1answer
369 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. ...