|
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@...
·
|
|
Open Santinel 2 archives with Rasterio
5 messages
Hello, I saw that rasterio support reading Santinel 2 archives directly, but I can not find any example. How should I access the bands inside the archive after I read it. For example I have: with rio.
Hello, I saw that rasterio support reading Santinel 2 archives directly, but I can not find any example. How should I access the bands inside the archive after I read it. For example I have: with rio.
|
By
lucavlad50@...
·
|
|
Reading and plotting rotated rasters
2 messages
Is it expected that during reading process rasterio doesn't take into account rotation angle for rotated rasters (transform has non-zero rotation) ? In order to make it works properly I had to do gdal
Is it expected that during reading process rasterio doesn't take into account rotation angle for rotated rasters (transform has non-zero rotation) ? In order to make it works properly I had to do gdal
|
By
Denis Rykov
·
|
|
reproject: partially covered raster cells reset fully to nodata
Dear community, I'm trying to tackle the following problem: Raster A has a high resolution and a small extent. I should be projected to Raster B with small resolution and large extent. Cells from Rast
Dear community, I'm trying to tackle the following problem: Raster A has a high resolution and a small extent. I should be projected to Raster B with small resolution and large extent. Cells from Rast
|
By
Fabian Hofmann
·
|
|
HDF4 format support
2 messages
```python import rasterio as rio from osgeo import gdal ``` I cannot open HDF4 files without including the osgeo gdal library. Is there a reason that osgeo isn't a dependency in order to open HDF4 fil
```python import rasterio as rio from osgeo import gdal ``` I cannot open HDF4 files without including the osgeo gdal library. Is there a reason that osgeo isn't a dependency in order to open HDF4 fil
|
By
bsmith@...
·
|
|
GDAL Error 4 triggers when working with geo-referenced jpeg
I used gdal_translate to convert a geotiff to a jpg with jpg.aux.xml file. The following is part of the script I used to get and write the tiles to disk import rasterio as rio im = rio.open('./rgb.tif
I used gdal_translate to convert a geotiff to a jpg with jpg.aux.xml file. The following is part of the script I used to get and write the tiles to disk import rasterio as rio im = rio.open('./rgb.tif
|
By
ashnair0007@...
·
|
|
TypeError: open() takes at most 8 arguments (14 given) when writing
3 messages
Hi guys, I'm trying to write to an array to a tiff as follows: profile.update(driver="GTiff", count=1) with open('res.tiff', 'w', **profile) as dst: dst.write(thresh.astype(rio.uint8), 1) However, I'm
Hi guys, I'm trying to write to an array to a tiff as follows: profile.update(driver="GTiff", count=1) with open('res.tiff', 'w', **profile) as dst: dst.write(thresh.astype(rio.uint8), 1) However, I'm
|
By
ashnair0007@...
·
|
|
16 bit to 8 bit conversion using rasterio
How can I convert a 16 bit tiff to an 8 bit tiff using rasterio. I can do this via gdal_translate so I was wondering if there's a rasterio equivalent?
How can I convert a 16 bit tiff to an 8 bit tiff using rasterio. I can do this via gdal_translate so I was wondering if there's a rasterio equivalent?
|
By
ashnair0007@...
·
|
|
Merge bug?
3 messages
I want to make a mosaic of satellite images. I have 7 images clipped each one to fill my BBOX exactly. Loading that images in QGIS i can see that is totally fulfilled and without gaps. Now, reading th
I want to make a mosaic of satellite images. I have 7 images clipped each one to fill my BBOX exactly. Loading that images in QGIS i can see that is totally fulfilled and without gaps. Now, reading th
|
By
Marco
·
|
|
Rasterio 1.2.0
Hi all, A source distribution and binary wheels for manylinux1 and macosx are on PyPI now: https://pypi.org/project/rasterio/1.2.0/#files. These wheels include PROJ 7.2.1 and GDAL 3.2.1 and no longer
Hi all, A source distribution and binary wheels for manylinux1 and macosx are on PyPI now: https://pypi.org/project/rasterio/1.2.0/#files. These wheels include PROJ 7.2.1 and GDAL 3.2.1 and no longer
|
By
Sean Gillies
·
|
|
rasterio 1.2b4
Hi all, I think this may be it, the last pre-1.2.0 release. Would love to know if you find any issues with it. What a day! -- Sean Gillies
Hi all, I think this may be it, the last pre-1.2.0 release. Would love to know if you find any issues with it. What a day! -- Sean Gillies
|
By
Sean Gillies
·
|
|
rio-color 1.0.2
Hi all, Version 1.0.2 of rio-color is on PyPI today. It has one bug fix, a change to the rasterio requirement's version specifier which filters out pre-releases. Installing rio-color 1.0.1 could entai
Hi all, Version 1.0.2 of rio-color is on PyPI today. It has one bug fix, a change to the rasterio requirement's version specifier which filters out pre-releases. Installing rio-color 1.0.1 could entai
|
By
Sean Gillies
·
|
|
reading with a window doesn't honour window shape
4 messages
Hi all I have the following problem: I want to read a dataset using a window with a specific shape, but the window shape isn't always honored from the returned array. You can replicate this problem us
Hi all I have the following problem: I want to read a dataset using a window with a specific shape, but the window shape isn't always honored from the returned array. You can replicate this problem us
|
By
Paolo Corti
·
|
|
gdal_proximity
4 messages
Hi all. I'm using Rasterio for a raster analysis but I need to calculate proximity as is done in gdal_proximity. https://gdal.org/programs/gdal_proximity.html Is this implemented somewhere in Rasterio
Hi all. I'm using Rasterio for a raster analysis but I need to calculate proximity as is done in gdal_proximity. https://gdal.org/programs/gdal_proximity.html Is this implemented somewhere in Rasterio
|
By
Spencer Gardner
·
|
|
Rasterio installation on Amazon/AWS/EC2/notebook instance
2 messages
I am attempting to install rasterio on an AWS notebook instance (essentially managed EC2 with Jupyter installed). This should be straightforward but I have already sunk several hours without success.
I am attempting to install rasterio on an AWS notebook instance (essentially managed EC2 with Jupyter installed). This should be straightforward but I have already sunk several hours without success.
|
By
robmarkcole@...
·
|