|
Iterate over elements in Rasterio window and obtain coordinates using transform.xy
3 messages
Does a window generated by rasterio maintain the dataset origin and absolute col/row indices? I'd like to be able to iterate over a window of a dem dataset, find the highest value in the window and re
Does a window generated by rasterio maintain the dataset origin and absolute col/row indices? I'd like to be able to iterate over a window of a dem dataset, find the highest value in the window and re
|
By
whytefish1@...
·
|
|
Automate process of creating a mask
4 messages
Dear Rasterios, beeing quite new to rasterio I'm looking for help regarding the following: I've a large amount of 1 Channel Satellite imaginary. While the data contains no-data information around the
Dear Rasterios, beeing quite new to rasterio I'm looking for help regarding the following: I've a large amount of 1 Channel Satellite imaginary. While the data contains no-data information around the
|
By
ts@...
·
|
|
window_transform doesn't produce accurate coordinate transforms
3 messages
Hi, I'm new to rasterio and working with geographical data. So far, it's been a great experience working with this library - but I've run into an issue when working with the Window module. My use case
Hi, I'm new to rasterio and working with geographical data. So far, it's been a great experience working with this library - but I've run into an issue when working with the Window module. My use case
|
By
pranay1117@...
·
|
|
Reprojecting output image to input image crs where the image sizes differ
2 messages
I have a geotiff (size= 4490 x 7341) that I cut into 256 x 256 crops to do an operation. Once the operation is done, I merge them back together. Since the original dimensions aren't divisible by 256 t
I have a geotiff (size= 4490 x 7341) that I cut into 256 x 256 crops to do an operation. Once the operation is done, I merge them back together. Since the original dimensions aren't divisible by 256 t
|
By
ashnair0007@...
·
|
|
returning subset of raster data via API
6 messages
Hi all: as part of working on OGC API - Coverages support in pygeoapi, I'm writing the equivalent of what WCS GetCoverage would do; that is, clip by bbox and subset by bands if requested. An initial i
Hi all: as part of working on OGC API - Coverages support in pygeoapi, I'm writing the equivalent of what WCS GetCoverage would do; that is, clip by bbox and subset by bands if requested. An initial i
|
By
Tom Kralidis
·
|
|
How to extract DATA_ENCODING creation option type from an input grib2 file for use in the output grib2 file
5 messages
Hey everyone, I know that grib2 isn't commonly used by this community so I apologize that I keep bringing it up... You can probably tell that I am super fond of it! Anyways, all kidding aside, I am ve
Hey everyone, I know that grib2 isn't commonly used by this community so I apologize that I keep bringing it up... You can probably tell that I am super fond of it! Anyways, all kidding aside, I am ve
|
By
Shane Mill - NOAA Affiliate
·
|
|
Reprojecting GEOTIFF to epsg:3857 with scrambled CRS data (possibly GCJ-02)
3 messages
Hello, I am trying to reproject a population distribution raster file of China into 3857 space. I tried but the images are not aligning. Looking at the CRS it has a lot of different standards, I am no
Hello, I am trying to reproject a population distribution raster file of China into 3857 space. I tried but the images are not aligning. Looking at the CRS it has a lot of different standards, I am no
|
By
toku2288@...
·
|
|
Convert BoundingBox data into lat/lon
3 messages
Hi, I need to convert the bounding box data of a TIF file to lat/lon co-ordinates so I can request data from another API GridTIF.bounds returns a BoundingBox object like the following: BoundingBox(lef
Hi, I need to convert the bounding box data of a TIF file to lat/lon co-ordinates so I can request data from another API GridTIF.bounds returns a BoundingBox object like the following: BoundingBox(lef
|
By
toku2288@...
·
|
|
Merge resulting in one pixel shift for half the output file
5 messages
I'm using merge with method = 'max' to merge two rasters with identical metadata. When I open the output file and the input files in QGIS, the top part of the output raster is perfectly merged, but th
I'm using merge with method = 'max' to merge two rasters with identical metadata. When I open the output file and the input files in QGIS, the top part of the output raster is perfectly merged, but th
|
By
melda.salhab.14@...
·
|
|
List of numpy arrays to raster
I originally had a geotiff (size= 4490 x 7341) which I tiled into tiles of size 256 x 256 to perform an operation. The result is a list of 522 numpy array. From the original geotiff I have the geo tra
I originally had a geotiff (size= 4490 x 7341) which I tiled into tiles of size 256 x 256 to perform an operation. The result is a list of 522 numpy array. From the original geotiff I have the geo tra
|
By
ashnair0007@...
·
|
|
Window from bounds is shifted by 1 Pixel
6 messages
Hi. this is my first post. I am new to raster.io and really like it so far. Thumbs up for all the work :-) But I have already a first problem: I created a function which creates a new raster for a giv
Hi. this is my first post. I am new to raster.io and really like it so far. Thumbs up for all the work :-) But I have already a first problem: I created a function which creates a new raster for a giv
|
By
thomaswanderer@...
·
|
|
Create raster aligned with one created by gdal_translate
5 messages
Hi everyone! I tried to convert `gdal_translate` command to `rasterio` and faced some problem I described [here](https://github.com/mapbox/rasterio/issues/1931). The original command is: ``` gdal_tran
Hi everyone! I tried to convert `gdal_translate` command to `rasterio` and faced some problem I described [here](https://github.com/mapbox/rasterio/issues/1931). The original command is: ``` gdal_tran
|
By
Denis Rykov
·
|
|
can resampling not populate cell if source has nodata?
6 messages
Hi rasterio. New user here. Thanks for a fantastic module. During resampling, is there a way to force the cells of the resampled raster to nodata if any of the corresponding original cells are nodata?
Hi rasterio. New user here. Thanks for a fantastic module. During resampling, is there a way to force the cells of the resampled raster to nodata if any of the corresponding original cells are nodata?
|
By
nick.forfinski@...
·
|
|
Get bounds after rasterio merge
2 messages
I merged two tiffs via the rasterio.merge function which returned the merged numpy array and the geo transform. Is there a way to get the bounds (in latitude and longitude) of this new merged image?
I merged two tiffs via the rasterio.merge function which returned the merged numpy array and the geo transform. Is there a way to get the bounds (in latitude and longitude) of this new merged image?
|
By
ashnair0007@...
·
|
|
A question about the rasterio precision & python floats (Pixel width & height)
3 messages
When opening my raster with QGIS, I can see the Pixel Size of my raster as: 0.0008333333299974727193,-0.000833333330020215703 When I read he same raster with rasterio, I get pixel size values with a l
When opening my raster with QGIS, I can see the Pixel Size of my raster as: 0.0008333333299974727193,-0.000833333330020215703 When I read he same raster with rasterio, I get pixel size values with a l
|
By
thomaswanderer@...
·
|
|
Create sparse raster with Rasterio. Is this possible?
2 messages
Hi All - I have benefited greatly from Rasterio - and first want to say thanks. Second, I am trying to move bash GDAL code into rasterio and python. Is it possible to use rasterio rasterize to create
Hi All - I have benefited greatly from Rasterio - and first want to say thanks. Second, I am trying to move bash GDAL code into rasterio and python. Is it possible to use rasterio rasterize to create
|
By
BDHudson@...
·
|
|
Does Rasterio support tiling of large geotiffs?
2 messages
I would like to crop my large geotiff into 800 x 800 tiles. While it's possible to do so otherwise, I was wondering if rasterio has an internal functionality to crop large geotiffs to tiles of a speci
I would like to crop my large geotiff into 800 x 800 tiles. While it's possible to do so otherwise, I was wondering if rasterio has an internal functionality to crop large geotiffs to tiles of a speci
|
By
ashnair0007@...
·
|
|
rasterio 1.1.4
2 messages
Hi all, Rasterio 1.1.4 has been released. Here are the changes: https://github.com/mapbox/rasterio/blob/master/CHANGES.txt#L4 Here are the distributions on PyPI https://pypi.org/project/rasterio/1.1.4
Hi all, Rasterio 1.1.4 has been released. Here are the changes: https://github.com/mapbox/rasterio/blob/master/CHANGES.txt#L4 Here are the distributions on PyPI https://pypi.org/project/rasterio/1.1.4
|
By
Sean Gillies
·
|
|
Rasterio.features.geometry_window error when geojson has GeometryCollection
6 messages
I'm attempting to isolate areas in a rasterio raster object, using Fiona to open a geojson and then window the parts I want to look at. Where a geojson entry is a geometry collection rasterio.features
I'm attempting to isolate areas in a rasterio raster object, using Fiona to open a geojson and then window the parts I want to look at. Where a geojson entry is a geometry collection rasterio.features
|
By
filthyhands@...
·
|
|
MemoryFile loses Profile information
14 messages
Hi there, I'm currently re-writing a process that was stacking .jp2 bands into one image and writing the resultant stack to disk. I'm moving this up to AWS so want to use MemoryFile's instead. My code
Hi there, I'm currently re-writing a process that was stacking .jp2 bands into one image and writing the resultant stack to disk. I'm moving this up to AWS so want to use MemoryFile's instead. My code
|
By
ciaran.evans@...
·
|