|
rasterio 1.2b4
Hi all,
I think this may be it, the last pre-1.2.0 release. Would love to know if you find any issues with it.
What a day!
--
Sean Gillies
Hi all,
I think this may be it, the last pre-1.2.0 release. Would love to know if you find any issues with it.
What a day!
--
Sean Gillies
|
By
Sean Gillies
·
#702
·
|
|
rio-color 1.0.2
Hi all,
Version 1.0.2 of rio-color is on PyPI today. It has one bug fix, a change to the rasterio requirement's version specifier which filters out pre-releases. Installing rio-color 1.0.1 could
Hi all,
Version 1.0.2 of rio-color is on PyPI today. It has one bug fix, a change to the rasterio requirement's version specifier which filters out pre-releases. Installing rio-color 1.0.1 could
|
By
Sean Gillies
·
#701
·
|
|
Re: reading with a window doesn't honour window shape
Note that setting out_shape to (1200, 1200) will likely read a (1200, 1199) shaped chunk of data and resample it to (1200, 1200); which is not exactly the same as reading a 1200*1200 window.
Kind
Note that setting out_shape to (1200, 1200) will likely read a (1200, 1199) shaped chunk of data and resample it to (1200, 1200); which is not exactly the same as reading a 1200*1200 window.
Kind
|
By
Loïc Dutrieux
·
#700
·
|
|
Re: reading with a window doesn't honour window shape
Thanks Guillaume, that did the trick :)
Would also love to know the reason why that is needed.
best
Paolo
--
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter:
Thanks Guillaume, that did the trick :)
Would also love to know the reason why that is needed.
best
Paolo
--
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter:
|
By
Paolo Corti
·
#699
·
|
|
Re: reading with a window doesn't honour window shape
Hi,
If you add `out_shape=(1200, 1200)` to your `read()` call it returns an array with the right shape. I don't know exactly why you need to specify this though.
Best,
Guillaume
Hi,
If you add `out_shape=(1200, 1200)` to your `read()` call it returns an array with the right shape. I don't know exactly why you need to specify this though.
Best,
Guillaume
|
By
Guillaume Lostis
·
#698
·
|
|
reading with a window doesn't honour window shape
Hi all
I have the following problem: I want to read a dataset using a window with a specific shape, but the window shape isn't always honored from the returned array.
You can replicate this problem
Hi all
I have the following problem: I want to read a dataset using a window with a specific shape, but the window shape isn't always honored from the returned array.
You can replicate this problem
|
By
Paolo Corti
·
#697
·
|
|
Re: gdal_proximity
Thanks. I'll give that a go.
Thanks. I'll give that a go.
|
By
Spencer Gardner
·
#696
·
|
|
Re: Rasterio installation on Amazon/AWS/EC2/notebook instance
Hi,
I don't know anything about AWS notebook instances and am not a regular conda user, so my help might be a little sketchy. In my experience, one cannot incrementally upgrade or install new packages
Hi,
I don't know anything about AWS notebook instances and am not a regular conda user, so my help might be a little sketchy. In my experience, one cannot incrementally upgrade or install new packages
|
By
Sean Gillies
·
#695
·
|
|
Re: gdal_proximity
Hi Spencer,
You're not overlooking anything. The rasterio project doesn't surface GDALComputeProximity. There are pointers to equivalent functionality in scipy at
Hi Spencer,
You're not overlooking anything. The rasterio project doesn't surface GDALComputeProximity. There are pointers to equivalent functionality in scipy at
|
By
Sean Gillies
·
#694
·
|
|
Rasterio installation on Amazon/AWS/EC2/notebook instance
I am attempting to install rasterio on an AWS notebook instance (essentially managed EC2 with Jupyter installed).
This should be straightforward but I have already sunk several hours without success.
I am attempting to install rasterio on an AWS notebook instance (essentially managed EC2 with Jupyter installed).
This should be straightforward but I have already sunk several hours without success.
|
By
robmarkcole@...
·
#693
·
|
|
Rasterio 1.2b3
Hi all,
Rasterio 1.2b3 is on PyPI and has a fix for https://github.com/mapbox/rasterio/issues/2079.
--
Sean Gillies
Hi all,
Rasterio 1.2b3 is on PyPI and has a fix for https://github.com/mapbox/rasterio/issues/2079.
--
Sean Gillies
|
By
Sean Gillies
·
#692
·
|
|
Georeference and warp a drone image based on sensor orientation and location using transform.from_gcps()
I have been flying some drone surveys over the ocean and need to properly project and georeference and warp my images. I have all the information I think I need: lat, lon, altitude, yaw, pitch, and
I have been flying some drone surveys over the ocean and need to properly project and georeference and warp my images. I have all the information I think I need: lat, lon, altitude, yaw, pitch, and
|
By
pgrayobx@...
·
#691
·
|
|
Rasterio 1.2b2
Hi all,
Rasterio 1.2b2 is on PyPI now. We've made metadata reading more forgiving of unexpected values and changed the Cython language level for .pyx files to "3". See
Hi all,
Rasterio 1.2b2 is on PyPI now. We've made metadata reading more forgiving of unexpected values and changed the Cython language level for .pyx files to "3". See
|
By
Sean Gillies
·
#690
·
|
|
Re: gdal_proximity
Hello,
First sorry for my bad English.
Maybe I can help you and other people with the same doubt. Currently I' ve been working on a project that I need this functionality.
def proximity(in_raster,
Hello,
First sorry for my bad English.
Maybe I can help you and other people with the same doubt. Currently I' ve been working on a project that I need this functionality.
def proximity(in_raster,
|
By
Anderson Roberto da Silva
·
#689
·
|
|
gdal_proximity
Hi all. I'm using Rasterio for a raster analysis but I need to calculate proximity as is done in gdal_proximity.
https://gdal.org/programs/gdal_proximity.html
Is this implemented somewhere in
Hi all. I'm using Rasterio for a raster analysis but I need to calculate proximity as is done in gdal_proximity.
https://gdal.org/programs/gdal_proximity.html
Is this implemented somewhere in
|
By
Spencer Gardner
·
#688
·
|
|
Re: Any idea why I'd be getting a missing region when reprojecting?
Another update, for posterity. I tried doing the same reprojection using the gdal.Warp and it worked perfectly with far less effort around setting up transforms and whatnot. I filed an issue with
Another update, for posterity. I tried doing the same reprojection using the gdal.Warp and it worked perfectly with far less effort around setting up transforms and whatnot. I filed an issue with
|
By
nart@...
·
#687
·
|
|
Re: Any idea why I'd be getting a missing region when reprojecting?
Just an update: I set the env variable CHECK_WITH_INVERT_PROJ to YES and was able to generate the output using the vertical slice but again, when I try to do this with the global raster I get a blank
Just an update: I set the env variable CHECK_WITH_INVERT_PROJ to YES and was able to generate the output using the vertical slice but again, when I try to do this with the global raster I get a blank
|
By
nart@...
·
#686
·
|
|
Any idea why I'd be getting a missing region when reprojecting?
I'll try my best to describe the issue although it's really confusing me so I'm not sure how well I can explain it.
I'm trying to reproject some satellite imagery in the form of a raster that covers
I'll try my best to describe the issue although it's really confusing me so I'm not sure how well I can explain it.
I'm trying to reproject some satellite imagery in the form of a raster that covers
|
By
nart@...
·
#685
·
|
|
Re: Binary raster to geojson
https://rasterio.readthedocs.io/en/latest/cli.html#shapes is a command line program for extracting GeoJSON shapes from a raster. It's a thin wrapper around rasterio.features.dataset_features() (see
https://rasterio.readthedocs.io/en/latest/cli.html#shapes is a command line program for extracting GeoJSON shapes from a raster. It's a thin wrapper around rasterio.features.dataset_features() (see
|
By
Sean Gillies
·
#684
·
|
|
Re: Get PROJ.4 representation of CRS object
Hi,
Rasterio's CRS.to_dict and .to_prog4 *do* return PROJ4 mappings and strings but we reduce to +init=epsg:xxxx when allowed. In the new world where there is no longer an epsg file to init from, it
Hi,
Rasterio's CRS.to_dict and .to_prog4 *do* return PROJ4 mappings and strings but we reduce to +init=epsg:xxxx when allowed. In the new world where there is no longer an epsg file to init from, it
|
By
Sean Gillies
·
#683
·
|