|
Numpy error when masking a Landsat image with a polygon [Rasterio 1.0.28]
4 messages
Hi folks I'm having the following errors when I'm trying to mask a landsat image with a kml polygon. The metadata for scene LC08_L1TP_221077_20190815_20190820_01_T1 is My code
Hi folks I'm having the following errors when I'm trying to mask a landsat image with a kml polygon. The metadata for scene LC08_L1TP_221077_20190815_20190820_01_T1 is My code
|
By
juliano.ecc@...
·
|
|
Rasterio 1.0.28
Hi all, Rasterio 1.0.27 broke a CLI plugin that my team uses at worker and may have broken any of yours that also pass creation options like `BLOCKXSIZE=1024` directly to dataset constructors without
Hi all, Rasterio 1.0.27 broke a CLI plugin that my team uses at worker and may have broken any of yours that also pass creation options like `BLOCKXSIZE=1024` directly to dataset constructors without
|
By
Sean Gillies
·
|
|
Reading from S3
11 messages
I am trying to read a geoTiff from my private S3 bucket (mapping), but am receiving the following error message The code I am using to open the GeoTiff is: with rasterio.Env(session=AWSSession(aws_sec
I am trying to read a geoTiff from my private S3 bucket (mapping), but am receiving the following error message The code I am using to open the GeoTiff is: with rasterio.Env(session=AWSSession(aws_sec
|
By
hughes.lloyd@...
·
|
|
Rasterio 1.0.27
Hi all, Rasterio 1.0.27 is on PyPI now and here is the list of the changes. Resolve #1744 by adding a `dtype` keyword argument to the WarpedVRT constructor. It allows a user to specify the working dat
Hi all, Rasterio 1.0.27 is on PyPI now and here is the list of the changes. Resolve #1744 by adding a `dtype` keyword argument to the WarpedVRT constructor. It allows a user to specify the working dat
|
By
Sean Gillies
·
|
|
rasterio.windows.transform seems to not scale my windows correctly, am I using it wrong?
2 messages
I have a landsat band that I have windowed so that I now have about 200 512x512 windows in a list called chip_list_full. I have plotted these on top of my aoi to confirm that the windowing worked and
I have a landsat band that I have windowed so that I now have about 200 512x512 windows in a list called chip_list_full. I have plotted these on top of my aoi to confirm that the windowing worked and
|
By
Ryan Avery
·
|
|
multi-dimensional support
6 messages
Hi, I started discussing support for multiple dimensions in https://github.com/mapbox/rasterio/issues/1759 but am moving this to a wider audience. GDAL has added an implementation of https://gdal.org/
Hi, I started discussing support for multiple dimensions in https://github.com/mapbox/rasterio/issues/1759 but am moving this to a wider audience. GDAL has added an implementation of https://gdal.org/
|
By
Norman Barker
·
|
|
Rasterio 1.0.26
Hi all, Rasterio 1.0.26 wheels and source distribution are on PyPI today. There are eight bug fixes in this release. https://github.com/mapbox/rasterio/blob/master/CHANGES.txt#L4 Thank you for the rep
Hi all, Rasterio 1.0.26 wheels and source distribution are on PyPI today. There are eight bug fixes in this release. https://github.com/mapbox/rasterio/blob/master/CHANGES.txt#L4 Thank you for the rep
|
By
Sean Gillies
·
|
|
[feature] List tags namespaces
4 messages
Hi all, I would like to be able to list a file's namespaces for tags. I am handling files with several tag "namespaces" (default, IMAGE_STRUCTURE, and RPC for example). I want to create a "copy" of th
Hi all, I would like to be able to list a file's namespaces for tags. I am handling files with several tag "namespaces" (default, IMAGE_STRUCTURE, and RPC for example). I want to create a "copy" of th
|
By
Guillaume Lostis
·
|
|
MemoryFile workflow - should closing a dataset close the memfile?
4 messages
Hey all, I have a general workflow which causes a memory leak. I have several functions which receive 1 or more rasters, perform some operations, and return a MemoryFile based raster, on which I perfo
Hey all, I have a general workflow which causes a memory leak. I have several functions which receive 1 or more rasters, perform some operations, and return a MemoryFile based raster, on which I perfo
|
By
ronipay@...
·
|
|
Is it possible to open a binary file with rasterio.open?
6 messages
Hi all, I've been using rasterio for few days, and now experiencing a situation where I can't find any help. I read in the doc that when using `rasterio.open(fp,...)` it is possible to pass a binary c
Hi all, I've been using rasterio for few days, and now experiencing a situation where I can't find any help. I read in the doc that when using `rasterio.open(fp,...)` it is possible to pass a binary c
|
By
htaidirt@...
·
|
|
build_overviews
3 messages
Hello, Would anyone happen to know the answer to this question? https://stackoverflow.com/questions/57005499/rasterio-version-of-arcgis-raster-pyramids Essentially I am trying to copy the ArcGIS build
Hello, Would anyone happen to know the answer to this question? https://stackoverflow.com/questions/57005499/rasterio-version-of-arcgis-raster-pyramids Essentially I am trying to copy the ArcGIS build
|
By
James David Smith
·
|
|
Rendering a raster in a Cartopy GeoAxes object
I tried to send this question once but I'm not sure it went through. I'm trying to render a rasterio raster onto a Cartopy GeoAxes. This used to be possible, as evidenced here: https://github.com/mapb
I tried to send this question once but I'm not sure it went through. I'm trying to render a rasterio raster onto a Cartopy GeoAxes. This used to be possible, as evidenced here: https://github.com/mapb
|
By
john.o.woods@...
·
|
|
Writing raster to GeoPackage layer
6 messages
I'm trying to add a raster layer to an existing GPKG with rasterio: properties = { 'driver':'GPKG', 'width':array.shape[1], 'height':array.shape[0], 'count':1, 'crs':crs, 'transform':transform, 'dtype
I'm trying to add a raster layer to an existing GPKG with rasterio: properties = { 'driver':'GPKG', 'width':array.shape[1], 'height':array.shape[0], 'count':1, 'crs':crs, 'transform':transform, 'dtype
|
By
Ryan
·
|
|
Combining rasters using rasterio
5 messages
Hello, Thanks for the help last week with the OVR files. I think I've solved that now. My next question is about combining rasters of shared space, but different extents. Each raster has one band. I w
Hello, Thanks for the help last week with the OVR files. I think I've solved that now. My next question is about combining rasters of shared space, but different extents. Each raster has one band. I w
|
By
James David Smith
·
|
|
Understanding `+wktext` more
2 messages
I posted this originally on github, but have moved it here at Sean's request. Additional details of this question/issue are discussed in the `pyproj` repository [here](https://github.com/pyproj4/pypro
I posted this originally on github, but have moved it here at Sean's request. Additional details of this question/issue are discussed in the `pyproj` repository [here](https://github.com/pyproj4/pypro
|
By
David Hoese
·
|
|
Writing ESRI sidecar files
9 messages
Hello, I'm trying to use rasterio to manipulate a file and then write it out, along with accompanying ESRI-type files. So the output files will be: raster.tif, raster.tif.aux.xml raster.tif.ovr I thin
Hello, I'm trying to use rasterio to manipulate a file and then write it out, along with accompanying ESRI-type files. So the output files will be: raster.tif, raster.tif.aux.xml raster.tif.ovr I thin
|
By
James David Smith
·
|
|
problem with window sizes when parallelizing a funciton
10 messages
Hi all, I'm currently using rasterio to process time series analysis of data. Because the raster tiles are too big, I'm trying to implement a windowed function with parallel processing. I tried your t
Hi all, I'm currently using rasterio to process time series analysis of data. Because the raster tiles are too big, I'm trying to implement a windowed function with parallel processing. I tried your t
|
By
javierlopatin@...
·
|
|
Rasterio 1.0.24
Hi all, Rasterio 1.0.24 is on PyPI now: https://pypi.org/project/rasterio/1.0.24/#files. This release fixes a pretty major bug that potentially affected multi-threaded programs or programs that reopen
Hi all, Rasterio 1.0.24 is on PyPI now: https://pypi.org/project/rasterio/1.0.24/#files. This release fixes a pretty major bug that potentially affected multi-threaded programs or programs that reopen
|
By
Sean Gillies
·
|
|
gdalinfo's and rasterio's reading problem in LUSTRE FS with NetCDF file (ubuntu:bionic)
2 messages
Hi Erick, I'm not familiar with Lustre and only slightly familiar with the details of GDAL's netCDF driver. I think, since the problem manifests with gdalinfo as well as rasterio programs, that the be
Hi Erick, I'm not familiar with Lustre and only slightly familiar with the details of GDAL's netCDF driver. I think, since the problem manifests with gdalinfo as well as rasterio programs, that the be
|
By
Sean Gillies
·
|
|
Clipping a raster (grib2), end up with zeros on left edge when cropping with mask
3 messages
Hi everyone, I am currently clipping a grib2 file, and am ending up with zeros on the left edge of the raster. I'm not an expert with GIS so maybe this is a common problem but was curious if anyone el
Hi everyone, I am currently clipping a grib2 file, and am ending up with zeros on the left edge of the raster. I'm not an expert with GIS so maybe this is a common problem but was curious if anyone el
|
By
Shane Mill - NOAA Affiliate
·
|