|
Does Rasterio support tiling of large geotiffs?
2 messages
I would like to crop my large geotiff into 800 x 800 tiles. While it's possible to do so otherwise, I was wondering if rasterio has an internal functionality to crop large geotiffs to tiles of a speci
I would like to crop my large geotiff into 800 x 800 tiles. While it's possible to do so otherwise, I was wondering if rasterio has an internal functionality to crop large geotiffs to tiles of a speci
|
By
ashnair0007@...
·
|
|
rasterio 1.1.4
2 messages
Hi all, Rasterio 1.1.4 has been released. Here are the changes: https://github.com/mapbox/rasterio/blob/master/CHANGES.txt#L4 Here are the distributions on PyPI https://pypi.org/project/rasterio/1.1.4
Hi all, Rasterio 1.1.4 has been released. Here are the changes: https://github.com/mapbox/rasterio/blob/master/CHANGES.txt#L4 Here are the distributions on PyPI https://pypi.org/project/rasterio/1.1.4
|
By
Sean Gillies
·
|
|
Rasterio.features.geometry_window error when geojson has GeometryCollection
6 messages
I'm attempting to isolate areas in a rasterio raster object, using Fiona to open a geojson and then window the parts I want to look at. Where a geojson entry is a geometry collection rasterio.features
I'm attempting to isolate areas in a rasterio raster object, using Fiona to open a geojson and then window the parts I want to look at. Where a geojson entry is a geometry collection rasterio.features
|
By
filthyhands@...
·
|
|
MemoryFile loses Profile information
14 messages
Hi there, I'm currently re-writing a process that was stacking .jp2 bands into one image and writing the resultant stack to disk. I'm moving this up to AWS so want to use MemoryFile's instead. My code
Hi there, I'm currently re-writing a process that was stacking .jp2 bands into one image and writing the resultant stack to disk. I'm moving this up to AWS so want to use MemoryFile's instead. My code
|
By
ciaran.evans@...
·
|
|
Read using multithreading
2 messages
Hello, I have an application that calls rasterio to open rasters in its main process. This application allows me to parallelize the process, so it will call the function where rasterio open is many ti
Hello, I have an application that calls rasterio to open rasters in its main process. This application allows me to parallelize the process, so it will call the function where rasterio open is many ti
|
By
Carlos García Rodríguez
·
|
|
Speed up reading rasters
7 messages
Hello, I need to read many huge datasets and the speed time is very important to avoid a bottleneck. I have to read a tiff file that has 20 bands, and a window of 224,224. Now I am doing like this, an
Hello, I need to read many huge datasets and the speed time is very important to avoid a bottleneck. I have to read a tiff file that has 20 bands, and a window of 224,224. Now I am doing like this, an
|
By
Carlos García Rodríguez
·
|
|
Why does shape not return the number of channels
2 messages
I was pretty surprised when I realized that my bug was due to ds.shape not showing the number of channels in its shape i.e. with rio.open(f, 'r') as ds: ds_arr = ds.read() print(ds.profile) # {'driver
I was pretty surprised when I realized that my bug was due to ds.shape not showing the number of channels in its shape i.e. with rio.open(f, 'r') as ds: ds_arr = ds.read() print(ds.profile) # {'driver
|
By
himat15@...
·
|
|
Issue with bounds2raster (contextily) using rasterio
2 messages
Hi, I've been using bounds2raster in contextily to save some raster tiles from OSM, but my code has started throwing up this error. >8-------------------------------------------------------- File "ras
Hi, I've been using bounds2raster in contextily to save some raster tiles from OSM, but my code has started throwing up this error. >8-------------------------------------------------------- File "ras
|
By
Tony
·
|
|
CRS & EPSG issues
4 messages
(flask-cog-terracotta) PS E:\00_UBUNTU_DRIVE\WATER_MONITORING_APPLICATION> python Python 3.7.6 | packaged by conda-forge | (default, Mar 23 2020, 22:22:21) [MSC v.1916 64 bit (AMD64)] on win32 Type "h
(flask-cog-terracotta) PS E:\00_UBUNTU_DRIVE\WATER_MONITORING_APPLICATION> python Python 3.7.6 | packaged by conda-forge | (default, Mar 23 2020, 22:22:21) [MSC v.1916 64 bit (AMD64)] on win32 Type "h
|
By
geoterraimage1@...
·
|
|
rio.plot.show with colorbar?
How can I add a colorbar after using rio.plot.show? I've tried a bunch of things but have gotten various errors Here's one way I tried: fig, ax = plt.subplots(figsize = (16, 16)) retted = rio.plot.sho
How can I add a colorbar after using rio.plot.show? I've tried a bunch of things but have gotten various errors Here's one way I tried: fig, ax = plt.subplots(figsize = (16, 16)) retted = rio.plot.sho
|
By
himat15@...
·
|
|
Inverted axis in numpy
2 messages
Hi everyone. I started using rasterio a few days ago to read some DSM/DTM and process them using numba. I was trying to debug some weird behaviour in my numba function and i realized that the "read" f
Hi everyone. I started using rasterio a few days ago to read some DSM/DTM and process them using numba. I was trying to debug some weird behaviour in my numba function and i realized that the "read" f
|
By
gabriel@...
·
|
|
Asyncio + Rasterio for slow network requests?
8 messages
I'm trying to improve performance of dynamic satellite imagery tiling, using [`cogeo-mosaic-tiler`](https://github.com/developmentseed/cogeo-mosaic-tiler)/[`rio-tiler`](https://github.com/cogeotiff/ri
I'm trying to improve performance of dynamic satellite imagery tiling, using [`cogeo-mosaic-tiler`](https://github.com/developmentseed/cogeo-mosaic-tiler)/[`rio-tiler`](https://github.com/cogeotiff/ri
|
By
kylebarron2@...
·
|
|
Silencing PROJ errors/warnings
3 messages
Hi all, As of GDAL 3 I've started seeing warnings written to stderr on open, such as: It's possible that these datasets have malformed projection information, but in cases where I don't care I'd like
Hi all, As of GDAL 3 I've started seeing warnings written to stderr on open, such as: It's possible that these datasets have malformed projection information, but in cases where I don't care I'd like
|
By
gberardinelli@...
·
|
|
[EXTERNAL] [rasterio] Applying Color Ramp to Single-Band Grayscale Images
3 messages
Nathan, Not sure about using rasterio, but have you tried gdaldem using "color-relief"? more: https://khufkens.com/2016/03/09/map-colours-onto-data-values-in-gdal/ shows creating a colorized image and
Nathan, Not sure about using rasterio, but have you tried gdaldem using "color-relief"? more: https://khufkens.com/2016/03/09/map-colours-onto-data-values-in-gdal/ shows creating a colorized image and
|
By
Hare, Trent M
·
|
|
Overwrite raster in place
2 messages
I have two rasters, and one of them has one more column than the other. So I want to remove the last column in the larger one. How can I change the raster width in place without having to do a with op
I have two rasters, and one of them has one more column than the other. So I want to remove the last column in the larger one. How can I change the raster width in place without having to do a with op
|
By
himat15@...
·
|
|
Rasterio Python Library Merging R, G, B Bands to Create a GeoReferenced GeoTiff
2 messages
I am attempting to use rasterio to merge 3 bands from Sentinel-2 data, sourced as .JP2 files, into a georeferenced GeoTiff. However, I am running into 2 problems doing this. First of all, here is my c
I am attempting to use rasterio to merge 3 bands from Sentinel-2 data, sourced as .JP2 files, into a georeferenced GeoTiff. However, I am running into 2 problems doing this. First of all, here is my c
|
By
nathan.raley@...
·
|
|
Decimated and windowed read in rasterio
5 messages
(Posted also on gis.stackexchange.com: https://gis.stackexchange.com/questions/353794/decimated-and-windowed-read-in-rasterio ) In my workflow using rasterio, I'd like to read an overview from a raste
(Posted also on gis.stackexchange.com: https://gis.stackexchange.com/questions/353794/decimated-and-windowed-read-in-rasterio ) In my workflow using rasterio, I'd like to read an overview from a raste
|
By
umbertofilippo@...
·
|
|
Any way to ensure cell resolutions stay square?
2 messages
I am resampling a raster to become a different resolution, but it seems like the resolutions are not entirely accurate. Here is the code I have (the code is very standard, taken from the documentation
I am resampling a raster to become a different resolution, but it seems like the resolutions are not entirely accurate. Here is the code I have (the code is very standard, taken from the documentation
|
By
himat15@...
·
|
|
Transverse Mercator Complex projection
5 messages
Hi, I have a geotiff with a "Transverse_Mercator_Complex" CRS. Here is the output of the `.crs` property after reading in the tif with rio.read(): The rest of my files have the crs EPSG:32629, so I tr
Hi, I have a geotiff with a "Transverse_Mercator_Complex" CRS. Here is the output of the `.crs` property after reading in the tif with rio.read(): The rest of my files have the crs EPSG:32629, so I tr
|
By
himat15@...
·
|
|
Do I need to warp jp2 satellite images for rasterio to manipulate them?
3 messages
I have some .jp2 files that don't have a `.crs` property after I used `rio.open` on those files. I read https://gis.stackexchange.com/a/233417/143989 and after using the `.gcps` property, I was able t
I have some .jp2 files that don't have a `.crs` property after I used `rio.open` on those files. I read https://gis.stackexchange.com/a/233417/143989 and after using the `.gcps` property, I was able t
|
By
himat15@...
·
|