|
Path to libgdal and libgeos files change
4 messages
Since upgrading from rasterio 1.1.8 to 1.2.10, our linux process is failing because the paths to libgdal and libgeos are wrong. We need these paths to set GEOS_LIBRARY_PATH and GDAL_LIBRARY_PATH varia
Since upgrading from rasterio 1.1.8 to 1.2.10, our linux process is failing because the paths to libgdal and libgeos are wrong. We need these paths to set GEOS_LIBRARY_PATH and GDAL_LIBRARY_PATH varia
|
By
david@...
·
|
|
Rasterio 1.3a3
Hi all, The third 1.3 pre-release is on the package index now. We have bug fixes, new features, and some major upgrades in wheel library versions. See https://github.com/rasterio/rasterio/blob/master/
Hi all, The third 1.3 pre-release is on the package index now. We have bug fixes, new features, and some major upgrades in wheel library versions. See https://github.com/rasterio/rasterio/blob/master/
|
By
Sean Gillies
·
|
|
MissingRequired:TIFF directory is missing required "StripOffsets" field
6 messages
Hi Folks, I'm new to Rasterio. Is the StripOffsets error I'm getting a result of something I'm doing wrong or have I stumbled into a bug? (Sources attached) '''Goal: merge the Red, Green, Blue and Nea
Hi Folks, I'm new to Rasterio. Is the StripOffsets error I'm getting a result of something I'm doing wrong or have I stumbled into a bug? (Sources attached) '''Goal: merge the Red, Green, Blue and Nea
|
By
maphew@...
·
|
|
How would you find shapes over several geotiffs in a regular grid?
2 messages
I would like to find continguous shapes over a mozaic of geotiff images. Is it possible to do this with rasterio? I was thinking of an algorithm that finds shapes over individual tiles and marks those
I would like to find continguous shapes over a mozaic of geotiff images. Is it possible to do this with rasterio? I was thinking of an algorithm that finds shapes over individual tiles and marks those
|
By
ian.liu88@...
·
|
|
Can't write to s3
3 messages
When I try to create a file in s3 with `rasterio.open("s3://...", "w", ...)`, I get the following error: rasterio.errors.RasterioIOError: Attempt to create new tiff file '/vsis3/my-bucket/test.tif' fa
When I try to create a file in s3 with `rasterio.open("s3://...", "w", ...)`, I get the following error: rasterio.errors.RasterioIOError: Attempt to create new tiff file '/vsis3/my-bucket/test.tif' fa
|
By
ian.liu88@...
·
|
|
Problem with passing CRS to warpedVRT
3 messages
I am getting the folllowing error when I am trying pass a crs object to WarpedVRT ``` rasterio.errors.CRSError: The PROJ4 dict could not be understood. OGR Error code 5 ``` my code: ``` import rasteri
I am getting the folllowing error when I am trying pass a crs object to WarpedVRT ``` rasterio.errors.CRSError: The PROJ4 dict could not be understood. OGR Error code 5 ``` my code: ``` import rasteri
|
By
stefan.jozefowicz@...
·
|
|
How to speed up rasterio.dataset.sample()
2 messages
I have used some code i found in a tutorial where sampling, based on coordinates, is speeded up. I checked this code and found out that the dataset is created properly and that there are plenty of pix
I have used some code i found in a tutorial where sampling, based on coordinates, is speeded up. I checked this code and found out that the dataset is created properly and that there are plenty of pix
|
By
aleksandar.ilic@...
·
|
|
Dataset.sample() allocates only 0 values to the coordinates
Expected behaviour is the following from a smaller dataset, sampled with UTM coordinates: Dataset: 104 bands in total Shape after sampling with coordinates: (8000, 104) Following code is critical: #Th
Expected behaviour is the following from a smaller dataset, sampled with UTM coordinates: Dataset: 104 bands in total Shape after sampling with coordinates: (8000, 104) Following code is critical: #Th
|
By
aleksandar.ilic@...
·
|
|
Question about rasterio, imageio and opencv python
4 messages
I have a question about using rasterio.plot.reshape_as_image() and rasterio.plot.reshape_as_raster() in python. I noticed that reshape_as_image seems to put the shape in the correct order if I print w
I have a question about using rasterio.plot.reshape_as_image() and rasterio.plot.reshape_as_raster() in python. I noticed that reshape_as_image seems to put the shape in the correct order if I print w
|
By
Keygen
·
|
|
ValueError: Input shapes do not overlap raster.
2 messages
Good evening to all, I want to make a mask on 8 images that do not touch each other. I have vector layers on each image (total 90 vector layers for the 8 images). In each raster I have at least 12 sha
Good evening to all, I want to make a mask on 8 images that do not touch each other. I have vector layers on each image (total 90 vector layers for the 8 images). In each raster I have at least 12 sha
|
By
Serigne Mansour DIENE
·
|
|
Should rasterio be compatible with numpy.ma?
2 messages
I was just tripped up by the fact that rasterio (I'm on 1.2.10) ignores the mask in numpy masked arrays. It simply writes the masked array's data array. If that underlying data array has the same fill
I was just tripped up by the fact that rasterio (I'm on 1.2.10) ignores the mask in numpy masked arrays. It simply writes the masked array's data array. If that underlying data array has the same fill
|
By
dreaminghexnut@...
·
|
|
extending rio-calc
3 messages
Hi all, I've found rio-calc to be really useful for raster algebra expressions. I've come up with a few additional functions that are useful in my workflow that seem to work well within rio-calc. I'm
Hi all, I've found rio-calc to be really useful for raster algebra expressions. I've come up with a few additional functions that are useful in my workflow that seem to work well within rio-calc. I'm
|
By
Gregory, Matthew
·
|
|
mapbox/rasterio -> rasterio/rasterio
2 messages
Heads up. everybody, I've been wanting to move rasterio to its own GitHub organization for some time and it is finally going to happen. Last week the Mapbox legal team signed off on transferring raste
Heads up. everybody, I've been wanting to move rasterio to its own GitHub organization for some time and it is finally going to happen. Last week the Mapbox legal team signed off on transferring raste
|
By
Sean Gillies
·
|
|
Rasterio 1.3a2
Hi all, The second 1.3 pre-release is on the package index this morning. There's one new feature: PROJJSON support (thank you, Alan Snow) and one change to the reprojection code that prevents unnecess
Hi all, The second 1.3 pre-release is on the package index this morning. There's one new feature: PROJJSON support (thank you, Alan Snow) and one change to the reprojection code that prevents unnecess
|
By
Sean Gillies
·
|
|
Warp doesn't work with a general oblique transform?
5 messages
The following Python code... import rasterio from rasterio.crs import CRS from rasterio import shutil as rio_shutil from rasterio.vrt import WarpedVRT import matplotlib.pyplot as plt path = 'CORINE/U2
The following Python code... import rasterio from rasterio.crs import CRS from rasterio import shutil as rio_shutil from rasterio.vrt import WarpedVRT import matplotlib.pyplot as plt path = 'CORINE/U2
|
By
erik.koene@...
·
|
|
concurrent.futures errors running rio mbtiles on Windows
2 messages
Hi all, Preface this by saying I know next to nothing about multiprocessing and my debugging skills are failing me. I'm trying to run a simple rio mbtiles command on Windows (Python 3.8, rasterio 1.2.
Hi all, Preface this by saying I know next to nothing about multiprocessing and my debugging skills are failing me. I'm trying to run a simple rio mbtiles command on Windows (Python 3.8, rasterio 1.2.
|
By
Gregory, Matthew
·
|
|
Why does Dataset.transform return the identity matrix if there is no geotransform?
2 messages
I have been reading -> modifying -> writing some GeoTiffs and I got bit by Dataset.transform returning the identity transform. There's a big difference between there being no geotransform and there be
I have been reading -> modifying -> writing some GeoTiffs and I got bit by Dataset.transform returning the identity transform. There's a big difference between there being no geotransform and there be
|
By
Brandon Victor
·
|
|
Rasterio 1.3a1
Hi all, We have a first alpha pre-release on PyPI now. Many of the changes are noted at https://github.com/mapbox/rasterio/blob/master/CHANGES.txt#L7. It's not quite complete, so please see https://gi
Hi all, We have a first alpha pre-release on PyPI now. Many of the changes are noted at https://github.com/mapbox/rasterio/blob/master/CHANGES.txt#L7. It's not quite complete, so please see https://gi
|
By
Sean Gillies
·
|
|
Rasterio 1.2.10
Hi all, Rasterio has just one bug fix, but it's an important one: https://github.com/mapbox/rasterio/blob/master/CHANGES.txt#L15-L19. The libraries in the wheels are the same as in 1.2.9. We don't hav
Hi all, Rasterio has just one bug fix, but it's an important one: https://github.com/mapbox/rasterio/blob/master/CHANGES.txt#L15-L19. The libraries in the wheels are the same as in 1.2.9. We don't hav
|
By
Sean Gillies
·
|
|
How can I set config options when using the command-line tools?
3 messages
Hi, I'm trying to use the rio command-line tool to access datasets hosted on private Azure Blob Storage. When using GDAL, a command like this works: gdalinfo /vsiaz/images-private/SPOT_ROI.tif --confi
Hi, I'm trying to use the rio command-line tool to access datasets hosted on private Azure Blob Storage. When using GDAL, a command like this works: gdalinfo /vsiaz/images-private/SPOT_ROI.tif --confi
|
By
robin@...
·
|