|
Re: Fast X-array rasterization
oh sure!
here is the link:
https://gist.github.com/Casyfill/0b0dc927fad892bbef2bfd7275d9fd14
And indeed, I am using geoseries.apply, but it is pretty much the same as looping - and obviously
oh sure!
here is the link:
https://gist.github.com/Casyfill/0b0dc927fad892bbef2bfd7275d9fd14
And indeed, I am using geoseries.apply, but it is pretty much the same as looping - and obviously
|
By
Philipp Kats
·
#41
·
|
|
Re: Rasterio 1.0.3.post1
Sean,
Your wheels use openjpeg for GDAL JPEG2000 capability, right ? There has been
a change in GDAL ./configure in 2.3.0 related to openjpeg detection. It now
requires pkg-config to be available
Sean,
Your wheels use openjpeg for GDAL JPEG2000 capability, right ? There has been
a change in GDAL ./configure in 2.3.0 related to openjpeg detection. It now
requires pkg-config to be available
|
By
Even Rouault
·
#40
·
|
|
Re: Fast X-array rasterization
Hi Philipp,
How are you looping over each value to create a new raster? Are you able to share a gist of what you are doing?
Hi Philipp,
How are you looping over each value to create a new raster? Are you able to share a gist of what you are doing?
|
By
Brendan Ward
·
#39
·
|
|
Fast X-array rasterization
Hi! I am trying to produce a map using rasterio's rasterization and datashader, following this gist
https://gist.github.com/brendancol/db030013e981c46acb2886060dde607e
It works perfectly well, when I
Hi! I am trying to produce a map using rasterio's rasterization and datashader, following this gist
https://gist.github.com/brendancol/db030013e981c46acb2886060dde607e
It works perfectly well, when I
|
By
Philipp Kats
·
#38
·
|
|
Re: Rasterio 1.0.3.post1
Thanks for the report, Denis. I had upgraded GDAL to 2.3.1 in these wheel builds, and was blaming my inability to access these jp2 files on a lack of credentials, but maybe something has changed
Thanks for the report, Denis. I had upgraded GDAL to 2.3.1 in these wheel builds, and was blaming my inability to access these jp2 files on a lack of credentials, but maybe something has changed
|
By
Sean Gillies
·
#37
·
|
|
Re: Rasterio 1.0.3.post1
Hi Sean!
After updating rasterio I get the following error:
In [1]: from rasterio import open
In [2]:
Hi Sean!
After updating rasterio I get the following error:
In [1]: from rasterio import open
In [2]:
|
By
Denis Rykov
·
#36
·
|
|
Rasterio 1.0.3.post1
Hi all,
The 1.0.3 wheels I built for OSX and uploaded to PyPI included a GDAL library with no curl support. I've made a post-release that fixes this problem. If you installed one of these wheels,
Hi all,
The 1.0.3 wheels I built for OSX and uploaded to PyPI included a GDAL library with no curl support. I've made a post-release that fixes this problem. If you installed one of these wheels,
|
By
Sean Gillies
·
#35
·
|
|
Rasterio 1.0.3
Hi all,
Rasterio 1.0.3 is on PyPI now, finally. It fixes 2 bugs found since 1.0.2:
- A regression in GeoJSON source handling in rio-rasterize (#1425) has been fixed.
- Rasterization of linear rings
Hi all,
Rasterio 1.0.3 is on PyPI now, finally. It fixes 2 bugs found since 1.0.2:
- A regression in GeoJSON source handling in rio-rasterize (#1425) has been fixed.
- Rasterization of linear rings
|
By
Sean Gillies
·
#34
·
|
|
Re: rio stack with compression
Hi Luke,
I don't understand the issue entirely, but as Even Rouault explains in https://lists.osgeo.org/pipermail/gdal-dev/2015-June/041917.html a "naive" use of the write() method of a Rasterio
Hi Luke,
I don't understand the issue entirely, but as Even Rouault explains in https://lists.osgeo.org/pipermail/gdal-dev/2015-June/041917.html a "naive" use of the write() method of a Rasterio
|
By
Sean Gillies
·
#33
·
|
|
rio stack with compression
I stacked some singleband rasters into a multiband raster using `rio stack` with a compress=deflate creation option. The compressed output filesize was approx 1.4x the sum of the uncompressed input
I stacked some singleband rasters into a multiband raster using `rio stack` with a compress=deflate creation option. The compressed output filesize was approx 1.4x the sum of the uncompressed input
|
By
Luke
·
#32
·
|
|
Re: read masked and overviews when no-data value is defined
clicked send too soon:
2. when using masked overviews, it looked like it was using the overview
later today I will try to run tests again
Do you care on how we created the original raster?
clicked send too soon:
2. when using masked overviews, it looked like it was using the overview
later today I will try to run tests again
Do you care on how we created the original raster?
|
By
Guy Doulberg
·
#31
·
|
|
Re: read masked and overviews when no-data value is defined
He Sean,
We are creating cog files using our code that takes as input any raster, tiles it add overviews and rearrange the tif to be a cog.
For doing so we are using rasetio shutils copy and rasterio
He Sean,
We are creating cog files using our code that takes as input any raster, tiles it add overviews and rearrange the tif to be a cog.
For doing so we are using rasetio shutils copy and rasterio
|
By
Guy Doulberg
·
#30
·
|
|
Re: read masked and overviews when no-data value is defined
Hi Guy,
A month ago we resolved an issue in Rasterio that has some commonalities with yours. There was a report that overviews were being missed when reading masked arrays and it turned out that the
Hi Guy,
A month ago we resolved an issue in Rasterio that has some commonalities with yours. There was a report that overviews were being missed when reading masked arrays and it turned out that the
|
By
Sean Gillies
·
#29
·
|
|
Re: `import rasterio` error on Win7 and Mac: ValueError: numpy.dtype has the wrong size, try recompiling
I am sorry, but upgrading numpy is the only way forward. If you don't want to overwrite your existing numpy installation, you have several options. I believe the following two are the best. Other
I am sorry, but upgrading numpy is the only way forward. If you don't want to overwrite your existing numpy installation, you have several options. I believe the following two are the best. Other
|
By
Sean Gillies
·
#28
·
|
|
`import rasterio` error on Win7 and Mac: ValueError: numpy.dtype has the wrong size, try recompiling
I am having the same problem on Windows 7 and Mac OS X High Sierra:
1) Windows 7 (64 bits)
Using python 2.7 (32 bits).
I have installed GDAL Core and its Python bindings using the executables here
I am having the same problem on Windows 7 and Mac OS X High Sierra:
1) Windows 7 (64 bits)
Using python 2.7 (32 bits).
I have installed GDAL Core and its Python bindings using the executables here
|
By
nurbachris@...
·
#27
·
|
|
read masked and overviews when no-data value is defined
Hi all,
We are trying to read masked array using `DatasetReaderBase.read`, reading the documentation it looks that if we pass masked=True we will get what we wanted.
I was testing the read on raster
Hi all,
We are trying to read masked array using `DatasetReaderBase.read`, reading the documentation it looks that if we pass masked=True we will get what we wanted.
I was testing the read on raster
|
By
Guy Doulberg
·
#26
·
|
|
Re: Mask to alpha band
Hi Denis,
There's no way to do it in Rasterio without creating a new dataset and copying the band and mask arrays from the original.
--
Sean Gillies
Hi Denis,
There's no way to do it in Rasterio without creating a new dataset and copying the band and mask arrays from the original.
--
Sean Gillies
|
By
Sean Gillies
·
#25
·
|
|
Rasterio 1.0.1
Hi all,
Rasterio 1.0.1 is on PyPI now. It fixes 4 bugs found since 1.0.0:
- Bounding envelopes are densified at higher precision in transform_bounds to
fix #1411.
- Add LERC compression to
Hi all,
Rasterio 1.0.1 is on PyPI now. It fixes 4 bugs found since 1.0.0:
- Bounding envelopes are densified at higher precision in transform_bounds to
fix #1411.
- Add LERC compression to
|
By
Sean Gillies
·
#24
·
|
|
Re: Reproject with mask preserving
Hi Denis,
As you discovered in your post to gdal-dev, GDAL's warper doesn't output internal (or sidecar) mask bands. You must materialize these into an alpha band and then copy the data to produce a
Hi Denis,
As you discovered in your post to gdal-dev, GDAL's warper doesn't output internal (or sidecar) mask bands. You must materialize these into an alpha band and then copy the data to produce a
|
By
Sean Gillies
·
#23
·
|
|
Mask to alpha band
Hi, folks!
Is it possible to convert internal mask to alpha band?
Hi, folks!
Is it possible to convert internal mask to alpha band?
|
By
Denis Rykov
·
#22
·
|