|
Re: Rasterio 1.2b1
The new wheel now includes the proj.db, which is close to the size of grids that were removed. Also, PROJ requires more dependencies, so that is also a likely factor.
It might work, but I wouldn't
The new wheel now includes the proj.db, which is close to the size of grids that were removed. Also, PROJ requires more dependencies, so that is also a likely factor.
It might work, but I wouldn't
|
By
Alan Snow
·
#669
·
|
|
Re: Rasterio 1.2b1
Hi Sean,
Thanks a lot for this upcoming release, I am really looking forward to using some of its new features!
Out of interest, the 1.2b1 wheels do not seem to be lighter than the 1.1.8 wheels even
Hi Sean,
Thanks a lot for this upcoming release, I am really looking forward to using some of its new features!
Out of interest, the 1.2b1 wheels do not seem to be lighter than the 1.1.8 wheels even
|
By
Guillaume Lostis <g.lostis@...>
·
#668
·
|
|
Re: rasterio.features.shapes with holes in polygons
Hi Paolo,
Welcome! I ran the your file through rio-shapes and jq
rio shapes --bidx 1 ~/Downloads/sample_cover.tif | jq -c 'select(.properties.val == 3.0)' | fio collect
and then uploaded to a
Hi Paolo,
Welcome! I ran the your file through rio-shapes and jq
rio shapes --bidx 1 ~/Downloads/sample_cover.tif | jq -c 'select(.properties.val == 3.0)' | fio collect
and then uploaded to a
|
By
Sean Gillies
·
#667
·
|
|
rasterio.features.shapes with holes in polygons
Hello users and devs
First: thanks a lot for this wonderful project, I am really enjoying using it for my geospatial needs.
For a specific process I am using rasterio.features.shapes and it is working
Hello users and devs
First: thanks a lot for this wonderful project, I am really enjoying using it for my geospatial needs.
For a specific process I am using rasterio.features.shapes and it is working
|
By
Paolo Corti
·
#666
·
|
|
Re: Rasterio 1.2b1
Thanks for working on this Sean!
I verified that PROJ_NETWORK=ON works with a basic test:
rio_geom.py:
from rasterio.warp import transform_geom
geometry = [
{
"type": "Polygon",
"coordinates": [
Thanks for working on this Sean!
I verified that PROJ_NETWORK=ON works with a basic test:
rio_geom.py:
from rasterio.warp import transform_geom
geometry = [
{
"type": "Polygon",
"coordinates": [
|
By
Alan Snow
·
#665
·
|
|
Rasterio 1.2b1
Hi all,
Wheels for Python versions 3.6-3.8 and manylinux1 and macos (built with xcode 9.3) are on PyPI this morning. I'd appreciate it if you could give it a try: python -m pip install
Hi all,
Wheels for Python versions 3.6-3.8 and manylinux1 and macos (built with xcode 9.3) are on PyPI this morning. I'd appreciate it if you could give it a try: python -m pip install
|
By
Sean Gillies
·
#664
·
|
|
resampling raster after clipping/masking
Hello,
I have found references in rasterio.readthedocs.io both on how to crop/clip a raster and how to resample. I generally understand the steps and sought to combine the two steps into
Hello,
I have found references in rasterio.readthedocs.io both on how to crop/clip a raster and how to resample. I generally understand the steps and sought to combine the two steps into
|
By
Eyal Saiet
·
#663
·
|
|
Re: Rasterio 1.2a1
+1 LGTM. Light testing of new coordinate transformation and warping with rpcs in WSL 2 Ubuntu 20.04.
Sebastien
+1 LGTM. Light testing of new coordinate transformation and warping with rpcs in WSL 2 Ubuntu 20.04.
Sebastien
|
By
Yann-Sebastien Tremblay-Johnston
·
#662
·
|
|
Rasterio 1.2a1
Hi all,
Some wheels and an sdist for rasterio 1.2a1 are on PyPI today. I'd appreciate some testing by adventurous folks.
The change log is behind the curve, but the new features are listed in
Hi all,
Some wheels and an sdist for rasterio 1.2a1 are on PyPI today. I'd appreciate some testing by adventurous folks.
The change log is behind the curve, but the new features are listed in
|
By
Sean Gillies
·
#661
·
|
|
Re: masking in rio calc
Great, thanks Sean.
As I’m sure you figured out from my original example, but I wasn’t explicit about, was that filling with 255 when the numpy dtype was bool resulted in True, which then gets
Great, thanks Sean.
As I’m sure you figured out from my original example, but I wasn’t explicit about, was that filling with 255 when the numpy dtype was bool resulted in True, which then gets
|
By
Gregory, Matthew
·
#660
·
|
|
Re: masking in rio calc
Update: https://github.com/mapbox/rasterio/issues/2041. Thanks for bringing this up, Matt.
--
Sean Gillies
Update: https://github.com/mapbox/rasterio/issues/2041. Thanks for bringing this up, Matt.
--
Sean Gillies
|
By
Sean Gillies
·
#659
·
|
|
Re: masking in rio calc
Hi Matt,
You may get better results using numpy.where, like "(where (>= (read 1) 0.5) 1 0)".
I'll dig into the filling code, that looks like a bug to me.
--
Sean Gillies
Hi Matt,
You may get better results using numpy.where, like "(where (>= (read 1) 0.5) 1 0)".
I'll dig into the filling code, that looks like a bug to me.
--
Sean Gillies
|
By
Sean Gillies
·
#658
·
|
|
masking in rio calc
Hi all,
I'm wondering if I'm using rio-calc incorrectly to achieve what I'd like to do. I have a floating-point raster that ranges from 0.0-1.0 with areas in the raster that are masked. I'd like to
Hi all,
I'm wondering if I'm using rio-calc incorrectly to achieve what I'd like to do. I have a floating-point raster that ranges from 0.0-1.0 with areas in the raster that are masked. I'd like to
|
By
Gregory, Matthew
·
#657
·
|
|
Re: Sampling from one single point location using sample()
Hey Sean,
I made it work using your tests! Thanks for that ;)
Cheers Alex
Hey Sean,
I made it work using your tests! Thanks for that ;)
Cheers Alex
|
By
Alexander Jüstel
·
#656
·
|
|
Re: Sampling from one single point location using sample()
Hi Alex,
Is your approach any different than the examples in https://github.com/mapbox/rasterio/blob/master/tests/test_sampling.py?
--
Sean Gillies
Hi Alex,
Is your approach any different than the examples in https://github.com/mapbox/rasterio/blob/master/tests/test_sampling.py?
--
Sean Gillies
|
By
Sean Gillies
·
#655
·
|
|
Re: Is it possible to ignore existing overview when performing decimated read?
Hi Loïc,
A test that requires 3.3 would be welcome.
The next time we have a rasterio release I will patch GDAL the GDAL library in the wheels we publish on PyPI.
Hi Loïc,
A test that requires 3.3 would be welcome.
The next time we have a rasterio release I will patch GDAL the GDAL library in the wheels we publish on PyPI.
|
By
Sean Gillies
·
#654
·
|
|
Re: Is it possible to ignore existing overview when performing decimated read?
Many thanks Sean and Even,
So with rasterio compiled against gdal 3.3 I'll be able to force ignore overviews?
If that deserves a new rasterio unit test I'm happy to send a pull request in the coming
Many thanks Sean and Even,
So with rasterio compiled against gdal 3.3 I'll be able to force ignore overviews?
If that deserves a new rasterio unit test I'm happy to send a pull request in the coming
|
By
Loïc Dutrieux
·
#653
·
|
|
Sampling from one single point location using sample()
Hello,
I would like to sample the value of my raster at one single point location. I have passed the coordinates as an iterable to the sample() function. However, I am not able to extract the value
Hello,
I would like to sample the value of my raster at one single point location. I have passed the coordinates as an iterable to the sample() function. However, I am not able to extract the value
|
By
Alexander Jüstel
·
#652
·
|
|
Re: Is it possible to ignore existing overview when performing decimated read?
Hi Even,
Thanks!
--
Sean Gillies
Hi Even,
Thanks!
--
Sean Gillies
|
By
Sean Gillies
·
#651
·
|
|
Re: Is it possible to ignore existing overview when performing decimated read?
Was left as an exercice for a contributor:
https://github.com/OSGeo/gdal/pull/3181
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
Was left as an exercice for a contributor:
https://github.com/OSGeo/gdal/pull/3181
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
|
By
Even Rouault
·
#650
·
|