|
rasterio opens file from AWS S3 bucket on local machine, but can't find file when deployed to Google App Engine
Hello,
I'm trying to run a python flask app, that opens a file hosted on an S3 bucket and analyzes the data. When I deploy the flask app on my local host, it runs like expected. Once I deploy the
Hello,
I'm trying to run a python flask app, that opens a file hosted on an S3 bucket and analyzes the data. When I deploy the flask app on my local host, it runs like expected. Once I deploy the
|
By
judson.buescher@...
·
#568
·
|
|
Re: Reprojecting GEOTIFF to epsg:3857 with scrambled CRS data (possibly GCJ-02)
On mardi 21 juillet 2020 18:52:10 CEST toku2288 via groups.io wrote:
> Hi, Just an update. Turns GeoTIFF does use GCJ encoding, However, There seem
> to be some open-source projects online which can
On mardi 21 juillet 2020 18:52:10 CEST toku2288 via groups.io wrote:
> Hi, Just an update. Turns GeoTIFF does use GCJ encoding, However, There seem
> to be some open-source projects online which can
|
By
Even Rouault
·
#567
·
|
|
Reprojecting output image to input image crs where the image sizes differ
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
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
|
By
ashnair0007@...
·
#566
·
|
|
Re: Reprojecting GEOTIFF to epsg:3857 with scrambled CRS data (possibly GCJ-02)
Hi, Just an update. Turns GeoTIFF does use GCJ encoding, However, There seem to be some open-source projects online which can reverse the transformation to high accuracy, Is there some way to use this
Hi, Just an update. Turns GeoTIFF does use GCJ encoding, However, There seem to be some open-source projects online which can reverse the transformation to high accuracy, Is there some way to use this
|
By
toku2288@...
·
#565
·
|
|
Re: Convert BoundingBox data into lat/lon
Hi Guillaume,
Thanks, It worked. I previously tried using the CRS EPSG:3857 using that method, and it returned lat/lon values out of range. Is there some way to get the EPSG:3857 values?
Hi Guillaume,
Thanks, It worked. I previously tried using the CRS EPSG:3857 using that method, and it returned lat/lon values out of range. Is there some way to get the EPSG:3857 values?
|
By
toku2288@...
·
#564
·
|
|
Re: Convert BoundingBox data into lat/lon
Hi,
The rasterio.warp.transform_bounds function should do what you want: https://rasterio.readthedocs.io/en/latest/api/rasterio.warp.html#rasterio.warp.transform_bounds
Pass it the CRS of your dataset
Hi,
The rasterio.warp.transform_bounds function should do what you want: https://rasterio.readthedocs.io/en/latest/api/rasterio.warp.html#rasterio.warp.transform_bounds
Pass it the CRS of your dataset
|
By
Guillaume Lostis <g.lostis@...>
·
#563
·
|
|
Convert BoundingBox data into lat/lon
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
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
|
By
toku2288@...
·
#562
·
|
|
Reprojecting GEOTIFF to epsg:3857 with scrambled CRS data (possibly GCJ-02)
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
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
|
By
toku2288@...
·
#561
·
|
|
Re: Different values when I use a window
Hi,
We fixed a window shift bug in 1.1.5. See
https://github.com/mapbox/rasterio/pull/1932
https://github.com/mapbox/rasterio/pull/1937
https://github.com/mapbox/rasterio/pull/1938
I wonder if this is
Hi,
We fixed a window shift bug in 1.1.5. See
https://github.com/mapbox/rasterio/pull/1932
https://github.com/mapbox/rasterio/pull/1937
https://github.com/mapbox/rasterio/pull/1938
I wonder if this is
|
By
Sean Gillies
·
#560
·
|
|
Re: Different values when I use a window
I am using rasterio 1.1.5.
I am using rasterio 1.1.5.
|
By
adrianocorbelinoii@...
·
#559
·
|
|
Re: Merge resulting in one pixel shift for half the output file
Thanks for pointing that out. But it's really odd. I've been trying to update rasterio using conda, but the version remains at v1.1.0. I just tried doing a new install using conda install -c
Thanks for pointing that out. But it's really odd. I've been trying to update rasterio using conda, but the version remains at v1.1.0. I just tried doing a new install using conda install -c
|
By
melda.salhab.14@...
·
#558
·
|
|
Re: Merge resulting in one pixel shift for half the output file
The latest version is 1.1.5 (Jun 3, 2020). 1.1.0 has been released in 2019.
The latest version is 1.1.5 (Jun 3, 2020). 1.1.0 has been released in 2019.
|
By
Denis Rykov
·
#557
·
|
|
Re: Merge resulting in one pixel shift for half the output file
Yep - I'm using 1.1.0
By
melda.salhab.14@...
·
#556
·
|
|
Re: Merge resulting in one pixel shift for half the output file
Do you use the latest version of rasterio?
Do you use the latest version of rasterio?
|
By
Denis Rykov
·
#555
·
|
|
Merge resulting in one pixel shift for half the output file
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
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
|
By
melda.salhab.14@...
·
#554
·
|
|
Different values when I use a window
Hello, I've been having a problem using windows, probably a misunderstanding on my part.
My goal is to dump a specific data from a band into a csv file, first I tried to use a window but the results
Hello, I've been having a problem using windows, probably a misunderstanding on my part.
My goal is to dump a specific data from a band into a csv file, first I tried to use a window but the results
|
By
adrianocorbelinoii@...
·
#553
·
|
|
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
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
|
By
ashnair0007@...
·
#552
·
|
|
Re: Window from bounds is shifted by 1 Pixel
Thanks for letting me know! Thumbs up for your work!
Thanks for letting me know! Thumbs up for your work!
|
By
thomaswanderer@...
·
#551
·
|
|
Re: Window from bounds is shifted by 1 Pixel
Hi Thomas,
I think Denis found the root of the problem and we have a fix at https://github.com/mapbox/rasterio/pull/1938 that will be a part of the 1.1.5 release. Thank you for the test cases and for
Hi Thomas,
I think Denis found the root of the problem and we have a fix at https://github.com/mapbox/rasterio/pull/1938 that will be a part of the 1.1.5 release. Thank you for the test cases and for
|
By
Sean Gillies
·
#550
·
|
|
Re: Create raster aligned with one created by gdal_translate
The issue has been fixed via https://github.com/mapbox/rasterio/commit/15d8dd759256f12d412433f5b9824c8d16b33f8d.
The issue has been fixed via https://github.com/mapbox/rasterio/commit/15d8dd759256f12d412433f5b9824c8d16b33f8d.
|
By
Denis Rykov
·
#549
·
|