Timeline for Rotation of a spatial grid by an angle around a pivot with python gdal or rasterio
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 13, 2022 at 2:58 | history | edited | WaterFox | CC BY-SA 4.0 | edited title |
| Jan 13, 2022 at 2:55 | vote | accept | WaterFox | ||
| Jan 13, 2022 at 2:55 | answer | added | WaterFox | timeline score: 0 | |
| Jan 13, 2022 at 0:12 | comment | added | WaterFox | @Atm I came with a code that uses rasterio (see Solution 2)! But my pivot seems off :( Any idea of what I got wrong? | |
| Jan 13, 2022 at 0:11 | history | edited | WaterFox | CC BY-SA 4.0 | added 3663 characters in body |
| Jan 11, 2022 at 16:23 | comment | added | WaterFox | Thank you for you information about the reshape parameter. I did try to use rasterio and gdal (in the last case using the same resources you pointed to). But I did not succeed to visualize them rotated, and somehow that's how I ended up using the rotate function. If will try to use the rasterio issue you linked to and come back if I can't do any progress. | |
| Jan 4, 2022 at 10:31 | comment | added | Atm | I think the problem is related to the reshape parameter of the scipy.ndimage.rotate function. We can see in the documentation that this parameter changes the resolution of the image so that it keeps the same number of rows and columns. However I don't understand why you use the rotate function to perform the rotation, you can do it directly with rasterio or gdal. | |
| Dec 10, 2021 at 16:25 | history | edited | WaterFox | CC BY-SA 4.0 | deleted 7 characters in body |
| Dec 10, 2021 at 16:15 | history | edited | WaterFox | CC BY-SA 4.0 | deleted 1534 characters in body; edited title |
| S Dec 9, 2021 at 18:19 | review | First questions | |||
| Dec 9, 2021 at 18:24 | |||||
| S Dec 9, 2021 at 18:19 | history | asked | WaterFox | CC BY-SA 4.0 |