Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
1 answer
1k views

Scaling rotated rectangle in Shapely

I have a Polygon which looks like this It's a minimum-oriented bounding box for the LineString geometry contained within it, I generated it using QGIS. Actually, there are many more of these, but let'...
umus's user avatar
  • 23
2 votes
1 answer
5k views

Get the correct transform from bounding box with Rasterio

I have image as numpy array with no projection or geographical data and I have information of the bouding box of this numpy array (the image suppose to match perfectly the bbox). The bbox is ...
ReutKeller's user avatar
  • 2,215
3 votes
0 answers
2k views

Getting extents of raster with GeoTransform

I'm trying to better understand GeoTransform. For getting the extents of a raster, I've seen solutions posted such as below. But doesn't this only account for perfectly square rasters? From my ...
AskioFrio's user avatar
  • 119
0 votes
0 answers
124 views

QGIS v.transform output extent not lining up with input

I am using the updated Affine tool (v.transform) to rescale my vector layer (containing multiple polygons). I want to shrink each polygon to half of its size. So I enter in 0.5 for both the x and y ...
Binx's user avatar
  • 1,390