|
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 Simon 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
·
|
|
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
·
|