|
Rasters with mixed dtypes 2 messages
Hello everyone, I was wondering if there are any good examples/reasons for having rasters that contain bands with mixed dtypes e.g. ('uint8', 'float32'). This seem to be mostly supported in rasterio,
Hello everyone, I was wondering if there are any good examples/reasons for having rasters that contain bands with mixed dtypes e.g. ('uint8', 'float32'). This seem to be mostly supported in rasterio,
|
By
amaury.dehecq@...
·
|
|
Help with inconsistent errors using WarpedVRT/rio_tiler
Hello, I have been running into some puzzling errors with windowed reads of COGs in Mollweide crs. The read raises a CPLE_AppDefinedError on transforming the window to the dataset crs the first five (
Hello, I have been running into some puzzling errors with windowed reads of COGs in Mollweide crs. The read raises a CPLE_AppDefinedError on transforming the window to the dataset crs the first five (
|
By
fgassert@...
·
|
|
Rasterio 1.2.4 2 messages
Hi all, Here is the list of bug fixes in rasterio 1.2.4: https://github.com/mapbox/rasterio/blob/master/CHANGES.txt#L13-L32 The wheels on PyPI for this version now include GDAL 3.3.0 and GEOS 3.9.1. T
Hi all, Here is the list of bug fixes in rasterio 1.2.4: https://github.com/mapbox/rasterio/blob/master/CHANGES.txt#L13-L32 The wheels on PyPI for this version now include GDAL 3.3.0 and GEOS 3.9.1. T
|
By
Sean Gillies
·
|
|
What do I need to do to visualize Sentinel-1 data with rasterio? 3 messages
I'm a first time user. I downloaded a Sentinel-1 granule. I'm now trying to visualize it via the following script: import rasterio from rasterio.plot import show path = '.../x.SAFE/measurement/y-001.t
I'm a first time user. I downloaded a Sentinel-1 granule. I'm now trying to visualize it via the following script: import rasterio from rasterio.plot import show path = '.../x.SAFE/measurement/y-001.t
|
By
earthdata@...
·
|
|
concurrent.futures.ThreadPoolExecutor for s3 COG reads fails - CPLReleaseMutex: Error 2 messages
This could be similar to https://github.com/mapbox/rasterio/issues/1686 In an AWS-Lambda python 3.7 runtime, there is an error like: CPLReleaseMutex: Error = 1 (Operation not permitted) [WARNING] 2021
This could be similar to https://github.com/mapbox/rasterio/issues/1686 In an AWS-Lambda python 3.7 runtime, there is an error like: CPLReleaseMutex: Error = 1 (Operation not permitted) [WARNING] 2021
|
By
dweber.consulting@...
·
|
|
Reconciling transforms by from_origin and from_bounds 2 messages
I am trying to reconcile the transforms that I get by using transform.from_origin and transform.from_bounds bounds = BoundingBox(left=1679712.0, bottom=5860848.0, right=1862208.0, top=6029312.0) width
I am trying to reconcile the transforms that I get by using transform.from_origin and transform.from_bounds bounds = BoundingBox(left=1679712.0, bottom=5860848.0, right=1862208.0, top=6029312.0) width
|
By
ayr035@...
·
|
|
Handle to underlying GDAL dataset 2 messages
Hi! I would like to get a handle for the underlying GDAL dataset behind a RasterIO dataset. Is this possible somehow? The reason I want to do this is that, in some cases, GDAL operations are significa
Hi! I would like to get a handle for the underlying GDAL dataset behind a RasterIO dataset. Is this possible somehow? The reason I want to do this is that, in some cases, GDAL operations are significa
|
By
soren.rasmussen@...
·
|
|
Need Help 2 messages
First : I want to know how could i change the name of raster images’s band? Because i have a multispectral image with 8 band and the name is none when i do image.descrptions. Second : On this multispe
First : I want to know how could i change the name of raster images’s band? Because i have a multispectral image with 8 band and the name is none when i do image.descrptions. Second : On this multispe
|
By
Serigne Mansour DIENE
·
|
|
snippet for minimum bounding snapped window?
Hi all, Often I'm given unsnapped coordinates and want to find the minimum bounding snapped box based on a rasterio Dataset. I'm guessing someone here has a better way of doing it or I'm missing a met
Hi all, Often I'm given unsnapped coordinates and want to find the minimum bounding snapped box based on a rasterio Dataset. I'm guessing someone here has a better way of doing it or I'm missing a met
|
By
Gregory, Matthew
·
|
|
Rasterio 1.2.2
Hi all, Rasterio 1.2.2 source distribution and wheels for selected platforms are on PyPI now. The wheels include GDAL 3.2.2 and PROJ 7.2.1. See https://github.com/mapbox/rasterio/blob/master/CHANGES.t
Hi all, Rasterio 1.2.2 source distribution and wheels for selected platforms are on PyPI now. The wheels include GDAL 3.2.2 and PROJ 7.2.1. See https://github.com/mapbox/rasterio/blob/master/CHANGES.t
|
By
Sean Gillies
·
|
|
Help Saving .Tif File after Mask 3 messages
I have just used rasterio.mask.mask() to crop a larger raster using a Django PolygonField() polygon: # Open large raster file file = rasterio. open ( '/data/corine2018_100m/test.tif' ) print(file) < o
I have just used rasterio.mask.mask() to crop a larger raster using a Django PolygonField() polygon: # Open large raster file file = rasterio. open ( '/data/corine2018_100m/test.tif' ) print(file) < o
|
By
Simon Tarr
·
|
|
Using rasterio to mask/crop a raster results in AttributeError 4 messages
I'm trying to use rasterio to mask a raster. According to the mask documentation, I need to load a raster file in 'r' mode, which I have done like so: file = rasterio.open('/data/corine2018_100m/test.
I'm trying to use rasterio to mask a raster. According to the mask documentation, I need to load a raster file in 'r' mode, which I have done like so: file = rasterio.open('/data/corine2018_100m/test.
|
By
si.tarr@...
·
|
|
Is it possible to build a .vrt file from multiple files with Rasterio?
I would like to build a vrt file from multiple dataset. I know the gdalbuildvrt but i don't find how I'm supposed to do the same using rasterio vrt object. Does anyone have a simple example ? Is it ev
I would like to build a vrt file from multiple dataset. I know the gdalbuildvrt but i don't find how I'm supposed to do the same using rasterio vrt object. Does anyone have a simple example ? Is it ev
|
By
Pierrick Rambaud
·
|
|
Clarification on usage with QGIS 10 messages
Note: I originally submitted this as a github issue, as I'd like to see an update to the documentation regarding using Rasterio with QGIS (and perhaps for integrating with any apps that use GDAL). We'
Note: I originally submitted this as a github issue, as I'd like to see an update to the documentation regarding using Rasterio with QGIS (and perhaps for integrating with any apps that use GDAL). We'
|
By
Ari Meyer
·
|
|
Rasterio read outshape resample does not give correct array 5 messages
Hi all, I have a population grid and want to decrease the resolution by a factor 2. So I would like to get a raster that has 2 times less rows and columns, a resolution that is 2 times as large as the
Hi all, I have a population grid and want to decrease the resolution by a factor 2. So I would like to get a raster that has 2 times less rows and columns, a resolution that is 2 times as large as the
|
By
tinak.contact@...
·
|
|
cannot correctly change a TIFF's interleave 5 messages
I'm looking for some help about how to change a TIFF's interleave. My code could change a TIFF's nodata value but cannot succeed on the interleave, could anyone give me some advice? I'll appreciate yo
I'm looking for some help about how to change a TIFF's interleave. My code could change a TIFF's nodata value but cannot succeed on the interleave, could anyone give me some advice? I'll appreciate yo
|
By
guohoucai@...
·
|
|
Rasterio 1.2.1
Hi all, Rasterio 1.2.1 is on PyPI now. Big thanks to Ryan Grout, Denis Rykov, Kirill Kouzoubov, Martijn Visser, and Alan Snow. Changes in this version: https://github.com/mapbox/rasterio/blob/master/C
Hi all, Rasterio 1.2.1 is on PyPI now. Big thanks to Ryan Grout, Denis Rykov, Kirill Kouzoubov, Martijn Visser, and Alan Snow. Changes in this version: https://github.com/mapbox/rasterio/blob/master/C
|
By
Sean Gillies
·
|
|
rasterio merge producing strange results 7 messages
Hello all I am experiencing strange results with rasterio.merge module (rasterio==1.1.5). I am merging a very large number of small images (in chunks of 100), and the output always has strange stripes
Hello all I am experiencing strange results with rasterio.merge module (rasterio==1.1.5). I am merging a very large number of small images (in chunks of 100), and the output always has strange stripes
|
By
Paolo Corti
·
|
|
How to specify the name of the input files with the geographical metadata? 3 messages
Good morning, I'm working with PNG files, and the metadata is stored in two separate files: .pgw and .png.aux.xml. Currently I'm forced to use the same name for the three files, i.e. the image and the
Good morning, I'm working with PNG files, and the metadata is stored in two separate files: .pgw and .png.aux.xml. Currently I'm forced to use the same name for the three files, i.e. the image and the
|
By
juanjo.gomeznavarro@...
·
|
|
Georeference and warp a drone image based on sensor orientation and location using transform.from_gcps() 3 messages
I have been flying some drone surveys over the ocean and need to properly project and georeference and warp my images. I have all the information I think I need: lat, lon, altitude, yaw, pitch, and ro
I have been flying some drone surveys over the ocean and need to properly project and georeference and warp my images. I have all the information I think I need: lat, lon, altitude, yaw, pitch, and ro
|
By
Patrick Gray
·
|