|
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@...
·
|
|
Rasterio 1.2b3
Hi all, Rasterio 1.2b3 is on PyPI and has a fix for https://github.com/mapbox/rasterio/issues/2079. -- Sean Gillies
Hi all, Rasterio 1.2b3 is on PyPI and has a fix for https://github.com/mapbox/rasterio/issues/2079. -- Sean Gillies
|
By
Sean Gillies
·
|
|
Rasterio 1.2b2
Hi all, Rasterio 1.2b2 is on PyPI now. We've made metadata reading more forgiving of unexpected values and changed the Cython language level for .pyx files to "3". See https://github.com/mapbox/raster
Hi all, Rasterio 1.2b2 is on PyPI now. We've made metadata reading more forgiving of unexpected values and changed the Cython language level for .pyx files to "3". See https://github.com/mapbox/raster
|
By
Sean Gillies
·
|
|
Any idea why I'd be getting a missing region when reprojecting? 3 messages
I'll try my best to describe the issue although it's really confusing me so I'm not sure how well I can explain it. I'm trying to reproject some satellite imagery in the form of a raster that covers t
I'll try my best to describe the issue although it's really confusing me so I'm not sure how well I can explain it. I'm trying to reproject some satellite imagery in the form of a raster that covers t
|
By
hi@...
·
|
|
Binary raster to geojson 2 messages
Given a binary numpy array (array of 0s and 1s where 0=background), what would be the best way to polygonise this raster and write it to a geojson?
Given a binary numpy array (array of 0s and 1s where 0=background), what would be the best way to polygonise this raster and write it to a geojson?
|
By
ashnair0007@...
·
|
|
Get PROJ.4 representation of CRS object 4 messages
Hi folks! Is there a way to get a PROJ.4 representation of CRS object? I've tried to use to_proj4() method: from rasterio.crs import CRS wkt = 'PROJCS["WGS 84 / UTM zone 5N",GEOGCS["WGS 84",DATUM["WGS
Hi folks! Is there a way to get a PROJ.4 representation of CRS object? I've tried to use to_proj4() method: from rasterio.crs import CRS wkt = 'PROJCS["WGS 84 / UTM zone 5N",GEOGCS["WGS 84",DATUM["WGS
|
By
Denis Rykov
·
|
|
What is the raster merge criteria algorithm on rasterio.merge? 2 messages
I'm creating a mosaic from many sentinel images with a bunch of overlapping areas, although I'm trying to understand what is criteria. For example: This is a small piece totally clear of clouds And th
I'm creating a mosaic from many sentinel images with a bunch of overlapping areas, although I'm trying to understand what is criteria. For example: This is a small piece totally clear of clouds And th
|
By
Eduardo
·
|