|
In-memory multi dataset object
Hi
I wonder if I can create in-memory multi-dataset dataset, something like `gdalbuildvrt` but in memory
The use case I have in mind, is that I have a list of urls some of them construct the same
Hi
I wonder if I can create in-memory multi-dataset dataset, something like `gdalbuildvrt` but in memory
The use case I have in mind, is that I have a list of urls some of them construct the same
|
By
Guy Doulberg
·
#49
·
|
|
Re: Fast X-array rasterization
Hi Brendan,
Thanks!
Indeed, that what I am trying to achieve. and your hint to ints is great! In fact, I could boil it down to store binary masks - feature id would be stored in the Z dimension
Hi Brendan,
Thanks!
Indeed, that what I am trying to achieve. and your hint to ints is great! In fact, I could boil it down to store binary masks - feature id would be stored in the Z dimension
|
By
Philipp Kats
·
#48
·
|
|
Re: Rasterio 1.0.3.post1
Thank you very much, Sean!
Thank you very much, Sean!
|
By
Denis Rykov
·
#47
·
|
|
Re: Rasterio 1.0.3.post1
Hi Denis,
I discovered that I had to patch GDAL 2.3.1 to build with OpenJPEG for the ancient manylinux1 platform. I've uploaded new wheels with a "-1" build tag to
Hi Denis,
I discovered that I had to patch GDAL 2.3.1 to build with OpenJPEG for the ancient manylinux1 platform. I've uploaded new wheels with a "-1" build tag to
|
By
Sean Gillies
·
#46
·
|
|
Re: Fast X-array rasterization
I'm not entirely sure I follow what you are aiming for here yet. Are you trying to aggregate across features per pixel to calculate various statistics? Like, what is the average feature size of all
I'm not entirely sure I follow what you are aiming for here yet. Are you trying to aggregate across features per pixel to calculate various statistics? Like, what is the average feature size of all
|
By
Brendan Ward
·
#45
·
|
|
Re: Rasterio 1.0.3.post1
OS: Ubuntu 16.04.5
Wheel: rasterio-1.0.3.post1-cp35-cp35m-manylinux1_x86_64.whl
Full example:
$ pip install -U rasterioCollecting rasterio Using cached
OS: Ubuntu 16.04.5
Wheel: rasterio-1.0.3.post1-cp35-cp35m-manylinux1_x86_64.whl
Full example:
$ pip install -U rasterioCollecting rasterio Using cached
|
By
Denis Rykov
·
#44
·
|
|
Re: Rasterio 1.0.3.post1
Even,
Thanks for the pointer!
In configuring my GDAL 2.3.1 builds, pkg-config and openjpeg were found:
(full logs here:
Even,
Thanks for the pointer!
In configuring my GDAL 2.3.1 builds, pkg-config and openjpeg were found:
(full logs here:
|
By
Sean Gillies
·
#43
·
|
|
Re: Fast X-array rasterization
So what I am trying to achieve in the end is the same as basic `rasterio.feature.rasterize`, but with more flexible aggregation strategies, like median, mean, percentile and std - currently it
So what I am trying to achieve in the end is the same as basic `rasterio.feature.rasterize`, but with more flexible aggregation strategies, like median, mean, percentile and std - currently it
|
By
Philipp Kats
·
#42
·
|
|
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
·
|