|
Clarification on rio bounds --sequence/--collection
Hi, I agree, it is confusing. And there is a bug here. The --sequence/--collection switch was intended to allow printing a sequence of JSON texts (GeoJSON feature or bbox) or a single GeoJSON feature
Hi, I agree, it is confusing. And there is a bug here. The --sequence/--collection switch was intended to allow printing a sequence of JSON texts (GeoJSON feature or bbox) or a single GeoJSON feature
|
By
Sean Gillies
· #344
·
|
|
masking using another raster
Hi Matt, Yes, I think that's the only builtin command that will do it. Enhancing rio-stack to more clearly provide this feature might be feasible. Note that few formats support addition of a mask and
Hi Matt, Yes, I think that's the only builtin command that will do it. Enhancing rio-stack to more clearly provide this feature might be feasible. Note that few formats support addition of a mask and
|
By
Sean Gillies
· #343
·
|
|
reading hdf4 files with rasterio
Rasterio doesn't improve the situation with subdatasets very much. You would still need to discover them via a rasterio dataset's subdatasets property. Something like with rasterio.open("file.hdf4") a
Rasterio doesn't improve the situation with subdatasets very much. You would still need to discover them via a rasterio dataset's subdatasets property. Something like with rasterio.open("file.hdf4") a
|
By
Sean Gillies
· #342
·
|
|
Flaw in rasterio design?
Hi all, Since I haven't written much about Rasterio's design principles or goals beyond what is at https://rasterio.readthedocs.io/en/latest/intro.html#philosophy it is only natural that these questio
Hi all, Since I haven't written much about Rasterio's design principles or goals beyond what is at https://rasterio.readthedocs.io/en/latest/intro.html#philosophy it is only natural that these questio
|
By
Sean Gillies
· #338
·
|
|
Rasterio 1.1.0
Hi all, Rasterio 1.1.0 is on PyPI now. There have been no changes since 1.1b3. Thanks for your help, everyone!
Hi all, Rasterio 1.1.0 is on PyPI now. There have been no changes since 1.1b3. Thanks for your help, everyone!
|
By
Sean Gillies
· #328
·
|
|
Rasterio 1.1b3
Vincent Sarago brought a regression to my attention. It is fixed in 1.1b3, which is on PyPI now. I've used a couple of my team's projects to smoke test 1.1b3 and it seems to be ready to go. Let me kno
Vincent Sarago brought a regression to my attention. It is fixed in 1.1b3, which is on PyPI now. I've used a couple of my team's projects to smoke test 1.1b3 and it seems to be ready to go. Let me kno
|
By
Sean Gillies
· #327
·
|
|
Rasterio 1.1b1
Hi all, A pre-release of Rasterio 1.1 is on PyPI now. Please try it out if you can and see if you can find any new bugs before we have a 1.1.0 release as soon as tomorrow. Thanks!
Hi all, A pre-release of Rasterio 1.1 is on PyPI now. Please try it out if you can and see if you can find any new bugs before we have a 1.1.0 release as soon as tomorrow. Thanks!
|
By
Sean Gillies
· #322
·
|
|
Serializing and deserializing rasterio object
There's no protocol for making classes JSON-serializable (though there may be some day, see https://bugs.python.org/issue27362), so we have to coerce two of those values to built-in Python types (str
There's no protocol for making classes JSON-serializable (though there may be some day, see https://bugs.python.org/issue27362), so we have to coerce two of those values to built-in Python types (str
|
By
Sean Gillies
· #320
·
|
|
Serializing and deserializing rasterio object
Hi, Do you mean a dataset object returned by rasterio.open()? We have left them not pickleable for the same reason Python file objects aren't pickleable: in the implementation there is an OS file desc
Hi, Do you mean a dataset object returned by rasterio.open()? We have left them not pickleable for the same reason Python file objects aren't pickleable: in the implementation there is an OS file desc
|
By
Sean Gillies
· #318
·
|
|
Rasterio 1.0.28
Hi all, Rasterio 1.0.27 broke a CLI plugin that my team uses at worker and may have broken any of yours that also pass creation options like `BLOCKXSIZE=1024` directly to dataset constructors without
Hi all, Rasterio 1.0.27 broke a CLI plugin that my team uses at worker and may have broken any of yours that also pass creation options like `BLOCKXSIZE=1024` directly to dataset constructors without
|
By
Sean Gillies
· #308
·
|
|
Reading from S3
Hughes, would you be willing to run CPL_CURL_VERBOSE=1 rio info "s3://s1-image-dataset/test.tif" on your computer after unsetting AWS_S3_ENDPOINT and show us the output after sanitizing it (replace yo
Hughes, would you be willing to run CPL_CURL_VERBOSE=1 rio info "s3://s1-image-dataset/test.tif" on your computer after unsetting AWS_S3_ENDPOINT and show us the output after sanitizing it (replace yo
|
By
Sean Gillies
· #307
·
|
|
Reading from S3
Hughes, The AWS_S3_ENDPOINT config option is intended to allow GDAL users to work with S3-compatible systems like https://min.io/index.html. It shouldn't be needed for the Gov Cloud, specification of
Hughes, The AWS_S3_ENDPOINT config option is intended to allow GDAL users to work with S3-compatible systems like https://min.io/index.html. It shouldn't be needed for the Gov Cloud, specification of
|
By
Sean Gillies
· #306
·
|
|
Reading from S3
Hi Hughes, Yes, I've been able to read raster data from S3 in a Jupyter notebook. What do you make of the observation I made earlier today about the env: AWS_S3_ENDPOINT="us-west-1" log message from y
Hi Hughes, Yes, I've been able to read raster data from S3 in a Jupyter notebook. What do you make of the observation I made earlier today about the env: AWS_S3_ENDPOINT="us-west-1" log message from y
|
By
Sean Gillies
· #303
·
|
|
Rasterio 1.0.27
Hi all, Rasterio 1.0.27 is on PyPI now and here is the list of the changes. Resolve #1744 by adding a `dtype` keyword argument to the WarpedVRT constructor. It allows a user to specify the working dat
Hi all, Rasterio 1.0.27 is on PyPI now and here is the list of the changes. Resolve #1744 by adding a `dtype` keyword argument to the WarpedVRT constructor. It allows a user to specify the working dat
|
By
Sean Gillies
· #302
·
|
|
Reading from S3
Hi, The following log message catches my eye: env: AWS_S3_ENDPOINT="us-west-1" If that is set in your notebook's environment, it will override the value you pass to Env() in your program, and it looks
Hi, The following log message catches my eye: env: AWS_S3_ENDPOINT="us-west-1" If that is set in your notebook's environment, it will override the value you pass to Env() in your program, and it looks
|
By
Sean Gillies
· #298
·
|
|
rasterio.windows.transform seems to not scale my windows correctly, am I using it wrong?
Hi Ryan, I've been on vacation, just now getting the time to answer questions. Answers below. Your use of windows.transform in the first case is correct, and your use of windows.bounds in the second c
Hi Ryan, I've been on vacation, just now getting the time to answer questions. Answers below. Your use of windows.transform in the first case is correct, and your use of windows.bounds in the second c
|
By
Sean Gillies
· #295
·
|
|
multi-dimensional support
Hi Norman, Howard, I'm going to move this discussion over to https://rasterio.groups.io/g/dev/messages and continue there.
Hi Norman, Howard, I'm going to move this discussion over to https://rasterio.groups.io/g/dev/messages and continue there.
|
By
Sean Gillies
· #294
·
|
|
Rasterio 1.0.26
Hi all, Rasterio 1.0.26 wheels and source distribution are on PyPI today. There are eight bug fixes in this release. https://github.com/mapbox/rasterio/blob/master/CHANGES.txt#L4 Thank you for the rep
Hi all, Rasterio 1.0.26 wheels and source distribution are on PyPI today. There are eight bug fixes in this release. https://github.com/mapbox/rasterio/blob/master/CHANGES.txt#L4 Thank you for the rep
|
By
Sean Gillies
· #293
·
|
|
multi-dimensional support
Hi Norman, I would need to see a strawman proposal of how rasterio's dataset open/read/write API would be extended before I could support the work. I'm also a bit concerned about the small number of s
Hi Norman, I would need to see a strawman proposal of how rasterio's dataset open/read/write API would be extended before I could support the work. I'm also a bit concerned about the small number of s
|
By
Sean Gillies
· #290
·
|
|
Writing raster to GeoPackage layer
Ryan, I don't use geopackage rasters and haven't tested the code I'm about to suggest, but I think this is worth a try: with rasterio.open("testing.gpkg", "r+", raster_table="new_table", append_subdat
Ryan, I don't use geopackage rasters and haven't tested the code I'm about to suggest, but I think this is worth a try: with rasterio.open("testing.gpkg", "r+", raster_table="new_table", append_subdat
|
By
Sean Gillies
· #268
·
|