|
Re: GDAL doesn't include file gcs.csv anymore
Hi,
How did you install rasterio? If you got it with `pip install rasterio` you will have installed a wheel file that includes GDAL 2.4.4 and data files and which will be incompatible with the GDAL
Hi,
How did you install rasterio? If you got it with `pip install rasterio` you will have installed a wheel file that includes GDAL 2.4.4 and data files and which will be incompatible with the GDAL
|
By
Sean Gillies
·
#601
·
|
|
Re: Status of GDAL 3.1 Support?
Hi Daryl,
We're testing rasterio's trunk against GDAL 3.1.2 here: https://travis-ci.org/github/mapbox/rasterio. We are not currently checking the 1.1.x branch, but in my experience there are no
Hi Daryl,
We're testing rasterio's trunk against GDAL 3.1.2 here: https://travis-ci.org/github/mapbox/rasterio. We are not currently checking the 1.1.x branch, but in my experience there are no
|
By
Sean Gillies
·
#600
·
|
|
GDAL doesn't include file gcs.csv anymore
description
I'm using [geemap](https://github.com/giswqs/geemap) to display a raster on a created map.
This lib use `xarray_leaflet` to display the raster and this lib will end up using `rasterio`
description
I'm using [geemap](https://github.com/giswqs/geemap) to display a raster on a created map.
This lib use `xarray_leaflet` to display the raster and this lib will end up using `rasterio`
|
By
pierrick.rambaud49@...
·
#599
·
|
|
Status of GDAL 3.1 Support?
Howdy,
I am curious about rasterio's current GDAL version support? Presently, my conda environment is pinned down to GDAL < 3.1
Howdy,
I am curious about rasterio's current GDAL version support? Presently, my conda environment is pinned down to GDAL < 3.1
|
By
Herzmann, Daryl E [AGRON]
·
#598
·
|
|
Re: Black border after running rio mask
Thanks for your help Sean,
I can confirm the black artifacts come from jpeg compression.
I also found this answered which explains the problem in
Thanks for your help Sean,
I can confirm the black artifacts come from jpeg compression.
I also found this answered which explains the problem in
|
By
ts@...
·
#597
·
|
|
Re: Black border after running rio mask
Hi,
It looks like your input.tif may have lossy compression applied, and the output will have the same compression by default. You might try
rio mask --overwrite --crop in.tif out.tif --geojson-mask
Hi,
It looks like your input.tif may have lossy compression applied, and the output will have the same compression by default. You might try
rio mask --overwrite --crop in.tif out.tif --geojson-mask
|
By
Sean Gillies
·
#596
·
|
|
Black border after running rio mask
Dear Rasterio developers and users,
I' m masking geotiff files with geojson polygons:
rio mask --overwrite --crop in.tif out.tif --geojson-mask mask.geojson
Unfortunately after doing so black
Dear Rasterio developers and users,
I' m masking geotiff files with geojson polygons:
rio mask --overwrite --crop in.tif out.tif --geojson-mask mask.geojson
Unfortunately after doing so black
|
By
ts@...
·
#595
·
Edited
|
|
Re: Different values when I use a window
Hello Sean,
Sorry for abandoning the post.
I installed rasterio via pip, and recently i had to reinstall my OS, and also of course rasterio, and the problem still persists.
I will prepare a demo and
Hello Sean,
Sorry for abandoning the post.
I installed rasterio via pip, and recently i had to reinstall my OS, and also of course rasterio, and the problem still persists.
I will prepare a demo and
|
By
adrianocorbelinoii@...
·
#594
·
|
|
Re: How sum two raster with different shapes?
Thank's Amine. I create a function to resample the raster keeping the extents and resolution to calc with other rasters.
Thank's Amine. I create a function to resample the raster keeping the extents and resolution to calc with other rasters.
|
By
Anderson Roberto da Silva
·
#593
·
|
|
Re: rasterio opens file from AWS S3 bucket on local machine, but can't find file when deployed to Google App Engine
Hi Judson,
See https://github.com/mapbox/rasterio/blob/master/README.rst#ssl-certs.
--
Sean Gillies
Hi Judson,
See https://github.com/mapbox/rasterio/blob/master/README.rst#ssl-certs.
--
Sean Gillies
|
By
Sean Gillies
·
#592
·
|
|
Re: rasterio opens file from AWS S3 bucket on local machine, but can't find file when deployed to Google App Engine
Hi Sean,
I’ve tried using os.environ and also env_variables in my app.yaml. Is there a better way that you know of to set the aws access keys?
From: <main@rasterio.groups.io> on behalf of
Hi Sean,
I’ve tried using os.environ and also env_variables in my app.yaml. Is there a better way that you know of to set the aws access keys?
From: <main@rasterio.groups.io> on behalf of
|
By
Judson Buescher <judson.buescher@...>
·
#591
·
|
|
Re: rasterio opens file from AWS S3 bucket on local machine, but can't find file when deployed to Google App Engine
Sean,
Sorry, I’ll try to be a bit more explicit. I’m getting the following error after setting the keys in my app.yaml file. I’m entirely sure what it means but wonder if it has something to do
Sean,
Sorry, I’ll try to be a bit more explicit. I’m getting the following error after setting the keys in my app.yaml file. I’m entirely sure what it means but wonder if it has something to do
|
By
Judson Buescher <judson.buescher@...>
·
#590
·
|
|
Re: Iterate over elements in Rasterio window and obtain coordinates using transform.xy
Hi,
Excellent!
Yes. The important detail is that the transform matrix passed to xy() must apply to the window. You can't use the matrix from the dataset's .transform attribute unless your window has
Hi,
Excellent!
Yes. The important detail is that the transform matrix passed to xy() must apply to the window. You can't use the matrix from the dataset's .transform attribute unless your window has
|
By
Sean Gillies
·
#589
·
|
|
Re: Iterate over elements in Rasterio window and obtain coordinates using transform.xy
Worked it out using a previous thread, doing it using an affine transform on the window.
I would however like to know if the rasterio.transform.xy method can be used when passing col, row from a
Worked it out using a previous thread, doing it using an affine transform on the window.
I would however like to know if the rasterio.transform.xy method can be used when passing col, row from a
|
By
whytefish1@...
·
#588
·
Edited
|
|
Iterate over elements in Rasterio window and obtain coordinates using transform.xy
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
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
|
By
whytefish1@...
·
#587
·
|
|
Re: How sum two raster with different shapes?
You can't sum rasters with different shapes. Resample your rasters to a common resolution and align them so that they can be read as arrays with the same shape, then add the two arrays together and
You can't sum rasters with different shapes. Resample your rasters to a common resolution and align them so that they can be read as arrays with the same shape, then add the two arrays together and
|
By
Amine Aboufirass <amine.aboufirass@...>
·
#586
·
|
|
How sum two raster with different shapes?
Hi, I'm developing a system and I need sum two raster with different shapes.
I've a DEM raster with a resolution of 30 meters and another raster with a resolution of 10 meters, both clipped in the
Hi, I'm developing a system and I need sum two raster with different shapes.
I've a DEM raster with a resolution of 30 meters and another raster with a resolution of 10 meters, both clipped in the
|
By
Anderson Roberto da Silva
·
#585
·
|
|
Re: Automate process of creating a mask
Hi,
You can also use skimage package, it has a filters module with threshold_otsu.
Hope it helps,
JL
--
Jaime Lopez Carvajal
Hi,
You can also use skimage package, it has a filters module with threshold_otsu.
Hope it helps,
JL
--
Jaime Lopez Carvajal
|
By
Jaime Lopez
·
#584
·
|
|
Re: Automate process of creating a mask
hi Jaime,
thanks for your reply. Do you know if there is Otsu segmentation in rasterio? Or should I use f.e. OpenCV?
hi Jaime,
thanks for your reply. Do you know if there is Otsu segmentation in rasterio? Or should I use f.e. OpenCV?
|
By
ts@...
·
#583
·
|
|
Re: Automate process of creating a mask
Hi,
It seems to me that you can apply Otsu segmentation first to every image, to detect the threshold.
Then you can use the threshold as a mask's parameter.
Sorry, if I could misunderstood the
Hi,
It seems to me that you can apply Otsu segmentation first to every image, to detect the threshold.
Then you can use the threshold as a mask's parameter.
Sorry, if I could misunderstood the
|
By
Jaime Lopez
·
#582
·
|