|
Change the Nodata value in a file. 3 messages
Hi Everyone, Using RasterIO, what is the correct way to change (or assign if it isn't already set) the no data value for a single or multi band TIF file? For example using the test rgb.byte.tif file,
Hi Everyone, Using RasterIO, what is the correct way to change (or assign if it isn't already set) the no data value for a single or multi band TIF file? For example using the test rgb.byte.tif file,
|
By Ratcliff, Christina (A&F, Waite Campus)
·
|
|
reproject on numpy array 3 messages
Hi guys I am trying to use a method `rasterio.warp.reproject` I create a source numpy array full of zeros and dest numpy array full of ones, I reprojected using the nearset resmapling and src_nodata=0
Hi guys I am trying to use a method `rasterio.warp.reproject` I create a source numpy array full of zeros and dest numpy array full of ones, I reprojected using the nearset resmapling and src_nodata=0
|
By Guy Doulberg
·
|
|
Best way of doing concurrent window processing 8 messages
I've been looking for the best way of processing a large raster files while achieving both maximum processing parallelism/speed and a low memory footprint. To achieve a low memory footprint, is enough
I've been looking for the best way of processing a large raster files while achieving both maximum processing parallelism/speed and a low memory footprint. To achieve a low memory footprint, is enough
|
By Pablo Sanfilippo
·
|
|
Loading large ENVI rasters into a MemoryFile 3 messages
Hello, In my project I’m dealing with 217 hyperspectral raster files in ENVI format. These rasters contain 420 bands, this means that I have to deal with files that are 30GB+ in size. To keep stuff ma
Hello, In my project I’m dealing with 217 hyperspectral raster files in ENVI format. These rasters contain 420 bands, this means that I have to deal with files that are 30GB+ in size. To keep stuff ma
|
By nickubels@...
·
|
|
rasterio Google Cloud Storage (GCS) access 5 messages
Hi I forked and am trying to add support for rasterio and rio to handle files on Google Cloud Storage. I made changes to path.py and added remote schemes to include gs:// type urls similar to AWS S3 s
Hi I forked and am trying to add support for rasterio and rio to handle files on Google Cloud Storage. I made changes to path.py and added remote schemes to include gs:// type urls similar to AWS S3 s
|
By Madhav Desetty
·
|
|
GDALRasterizeGeometries - Function Signature 3 messages
Hi this is a little bit of a strange question about how rasterio is using the GDALRasterizeGeometries function. This c-function is called in _features.pyx here: with InMemoryRaster(image=image, transf
Hi this is a little bit of a strange question about how rasterio is using the GDALRasterizeGeometries function. This c-function is called in _features.pyx here: with InMemoryRaster(image=image, transf
|
By jdcasta@...
·
|
|
Rasterio result different than gdal_calc 3 messages
I am trying to recreate gdal_calc for simple calculation using below code. import numpy import rasterio def merge_bands(calculationType, band1Image, band2Image, outputFilePath): # Read raster bands di
I am trying to recreate gdal_calc for simple calculation using below code. import numpy import rasterio def merge_bands(calculationType, band1Image, band2Image, outputFilePath): # Read raster bands di
|
By
anand@...
·
|
|
Unclear how to implement image alignment based on GCPs 4 messages
I am trying to replicated the gdal functionality for performing image alignment based on GCPs. The equivalent gdal commands are the following: `gdal_translate -of GTiff -gcp GCP1 -gcp GCP2... src_rast
I am trying to replicated the gdal functionality for performing image alignment based on GCPs. The equivalent gdal commands are the following: `gdal_translate -of GTiff -gcp GCP1 -gcp GCP2... src_rast
|
By
mmweene15@...
·
|
|
Bug: 'JPEG2000' is not a valid Compression 2 messages
Is this the right place to report a bug? I can open an issue on github if you like. I'm reading a NITF, and getting this error. Should add 'JPEG2000' to the Compression enum? In[14]: src.tags(ns='IMAG
Is this the right place to report a bug? I can open an issue on github if you like. I'm reading a NITF, and getting this error. Should add 'JPEG2000' to the Compression enum? In[14]: src.tags(ns='IMAG
|
By nicholas.maxwell@...
·
|
|
Make _boundless_vrt_doc public 3 messages
Hi, We are going to use rasterio.vrt._boundless_vrt_doc for making a XML VRT out of dataset in our library. But we are little afraid because the name of this function tells that it is a private one. A
Hi, We are going to use rasterio.vrt._boundless_vrt_doc for making a XML VRT out of dataset in our library. But we are little afraid because the name of this function tells that it is a private one. A
|
By Denis Rykov
·
|
|
Any way to get/set the raster band scale and offset? 3 messages
Hi! I am using rasterio to convert a number of geotiffs that were originally created using GDAL. To preserve the image metadata I'm currently using a combination of the 'profile', 'descriptions' and '
Hi! I am using rasterio to convert a number of geotiffs that were originally created using GDAL. To preserve the image metadata I'm currently using a combination of the 'profile', 'descriptions' and '
|
By Kris Vanhoof
·
|
|
Rasterio 1.0.9
Hi all. Rasterio 1.0.9 is on PyPI now. It has a bunch of bug fixes that are especially important if you are deploying systems on AWS or using the WarpedVRT class. https://github.com/mapbox/rasterio/bl
Hi all. Rasterio 1.0.9 is on PyPI now. It has a bunch of bug fixes that are especially important if you are deploying systems on AWS or using the WarpedVRT class. https://github.com/mapbox/rasterio/bl
|
By Sean Gillies
·
|
|
Windowed reads and coordinates 2 messages
Hi all I'm trying to create vector features out of raster files using the `features.shapes` module and I'm running into a weird issue where when I run a windowed read on a `.tif`, the Y coordinates of
Hi all I'm trying to create vector features out of raster files using the `features.shapes` module and I'm running into a weird issue where when I run a windowed read on a `.tif`, the Y coordinates of
|
By Koshy Thomas
·
|
|
GDAL version policy 3 messages
Hello folks, What is the policy of the project about GDAL version? The latest stable release of GDAL is 2.3.2 but recent wheels of rasterio are built onto 2.3.1.
Hello folks, What is the policy of the project about GDAL version? The latest stable release of GDAL is 2.3.2 but recent wheels of rasterio are built onto 2.3.1.
|
By Denis Rykov
·
|
|
Rasterio 1.0.8
Hi all, Rasterio 1.0.8 has been uploaded to PyPI. Thanks to Denis Rykov, we have Python 3.4 wheels for manylinux1 again. And datasets stored in MemoryFile bytes are now opened in r+ or w+ mode as requ
Hi all, Rasterio 1.0.8 has been uploaded to PyPI. Thanks to Denis Rykov, we have Python 3.4 wheels for manylinux1 again. And datasets stored in MemoryFile bytes are now opened in r+ or w+ mode as requ
|
By Sean Gillies
·
|
|
Open a raster file with read and write permissions in rasterio 2 messages
I have already asked this question in GIS stack exchange and stack overflow but received no response: I am trying to write a function which will help me construct a `rasterio` memory file and return t
I have already asked this question in GIS stack exchange and stack overflow but received no response: I am trying to write a function which will help me construct a `rasterio` memory file and return t
|
By
Amine Aboufirass
·
|
|
Issue when using rasterio dataset inside Class with multiprocessing 2 messages
I have a simple class which has a member variable of rasterio dataset. Inside the class, there is also a function wrapped by a python multiprocessing call. See below This code is supposed to print 'Wo
I have a simple class which has a member variable of rasterio dataset. Inside the class, there is also a function wrapped by a python multiprocessing call. See below This code is supposed to print 'Wo
|
By luoyntech@...
·
|
|
Float precision on writing grid 2 messages
I'm trying to transform xyz data to a raster grid using rasterio I've loaded the elevation data into a numpy array, the precision of the z values is 2 decimals and the array has dtype float64. after l
I'm trying to transform xyz data to a raster grid using rasterio I've loaded the elevation data into a numpy array, the precision of the z values is 2 decimals and the array has dtype float64. after l
|
By Betman, Maarten
·
|
|
Rasterio 1.0.3 and Python 3.4 3 messages
Hello folks, I have problems with installation rasterio==1.0.3 and higher on Python 3.4. There are no problems with 3.5 and 3.6. Is it an expected behavior? $ sudo docker run --name python34 -it pytho
Hello folks, I have problems with installation rasterio==1.0.3 and higher on Python 3.4. There are no problems with 3.5 and 3.6. Is it an expected behavior? $ sudo docker run --name python34 -it pytho
|
By Denis Rykov
·
|
|
Rasterio 1.0.7
Hi all, Rasterio 1.0.7 is compatible with click versions >= 4 and < 8 (not released yet, of course) including the new click version 7.0, and fixes a couple other small bugs as well. Please upgrade whe
Hi all, Rasterio 1.0.7 is compatible with click versions >= 4 and < 8 (not released yet, of course) including the new click version 7.0, and fixes a couple other small bugs as well. Please upgrade whe
|
By Sean Gillies
·
|