|
Re: Get PROJ.4 representation of CRS object
pyproj.CRS has a to_proj4 method that should be able to do that: https://pyproj4.github.io/pyproj/stable/examples.html
pyproj.CRS has a to_proj4 method that should be able to do that: https://pyproj4.github.io/pyproj/stable/examples.html
|
By
Alan Snow
·
#680
·
|
|
Get PROJ.4 representation of CRS object
Hi folks! Is there a way to get a PROJ.4 representation of CRS object?
I've tried to use to_proj4() method:from rasterio.crs import CRSwkt = 'PROJCS["WGS 84 / UTM zone 5N",GEOGCS["WGS
Hi folks! Is there a way to get a PROJ.4 representation of CRS object?
I've tried to use to_proj4() method:from rasterio.crs import CRSwkt = 'PROJCS["WGS 84 / UTM zone 5N",GEOGCS["WGS
|
By
Denis Rykov
·
#679
·
|
|
Re: What is the raster merge criteria algorithm on rasterio.merge?
Hi Eduardo,
I'd suggest taking a look at the method argument that merge accepts. There are a few pre-defined methods, and you can also define your own function for selecting which pixel to select from
Hi Eduardo,
I'd suggest taking a look at the method argument that merge accepts. There are a few pre-defined methods, and you can also define your own function for selecting which pixel to select from
|
By
James McBride
·
#678
·
|
|
What is the raster merge criteria algorithm on rasterio.merge?
I'm creating a mosaic from many sentinel images with a bunch of overlapping areas, although I'm trying to understand what is criteria. For example:
This is a small piece totally clear of clouds
And
I'm creating a mosaic from many sentinel images with a bunch of overlapping areas, although I'm trying to understand what is criteria. For example:
This is a small piece totally clear of clouds
And
|
By
Eduardo <eduardosteps@...>
·
#677
·
|
|
rasterio.windows.from_bounds height and width int parameters
Hi all
I am trying to figure out how to pass the height and width integer
parameters to the from_bounds method. In my case they look not to be
honored and the window returned has slightly different
Hi all
I am trying to figure out how to pass the height and width integer
parameters to the from_bounds method. In my case they look not to be
honored and the window returned has slightly different
|
By
Paolo Corti
·
#676
·
|
|
rio-color 1.0.1
Hi all,
Version 1.0.1 of rio-color is on PyPI now: https://pypi.org/project/rio-color/1.0.1/#files. Thank you, Kyle Barron, for showing how to get started with cibuildwheel.
Please note that there are
Hi all,
Version 1.0.1 of rio-color is on PyPI now: https://pypi.org/project/rio-color/1.0.1/#files. Thank you, Kyle Barron, for showing how to get started with cibuildwheel.
Please note that there are
|
By
Sean Gillies
·
#675
·
|
|
Re: Rasterio 1.2b1
I think this is the problem: https://pyproj4.github.io/pyproj/stable/gotchas.html#internal-proj-error-sqlite-error-on-select
I think this is the problem: https://pyproj4.github.io/pyproj/stable/gotchas.html#internal-proj-error-sqlite-error-on-select
|
By
Alan Snow
·
#674
·
|
|
Re: Rasterio 1.2b1
I just installed rasterio==1.2.0b1 on a fresh virtual env (with no GDAL/PROJ env set) and I'm getting a proj error
Not sure what's going on :-(
I just installed rasterio==1.2.0b1 on a fresh virtual env (with no GDAL/PROJ env set) and I'm getting a proj error
Not sure what's going on :-(
|
By
vincent.sarago@...
·
#673
·
|
|
Re: rio-color 1.0.1.dev0 wheels
Hi all,
I got reports that the 1.0.1.dev0 wheels install and work, so I've made a more stable set and a 1.0.1a1 release. Target date for 1.0.1 is 2020-12-21. See
Hi all,
I got reports that the 1.0.1.dev0 wheels install and work, so I've made a more stable set and a 1.0.1a1 release. Target date for 1.0.1 is 2020-12-21. See
|
By
Sean Gillies
·
#672
·
|
|
Re: rasterio.features.shapes with holes in polygons
<sean@...> wrote:
Hi Sean!
Thanks a lot for your hint. My problem was caused by the fact that I
was merging the polygons returned by rasterio.features.shape using
unary_union. I
<sean@...> wrote:
Hi Sean!
Thanks a lot for your hint. My problem was caused by the fact that I
was merging the polygons returned by rasterio.features.shape using
unary_union. I
|
By
Paolo Corti
·
#671
·
|
|
rio-color 1.0.1.dev0 wheels
Hi all,
Lack of an up to date wheel building system has been blocking us from making a 1.0.1 release. See https://github.com/mapbox/rio-color/issues/65. Kyle Barron suggested using cibuildwheel and
Hi all,
Lack of an up to date wheel building system has been blocking us from making a 1.0.1 release. See https://github.com/mapbox/rio-color/issues/65. Kyle Barron suggested using cibuildwheel and
|
By
Sean Gillies
·
#670
·
|
|
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
·
#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
·
|