|
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
...
· #698
·
|
|
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 t
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 t
|
By
...
· #668
·
|
|
Convert BoundingBox data into lat/lon
Hi, The rasterio.warp.transform_bounds function should do what you want: https://rasterio.readthedocs.io/en/latest/api/rasterio.warp.html#rasterio.warp.transform_bounds Pass it the CRS of your dataset
Hi, The rasterio.warp.transform_bounds function should do what you want: https://rasterio.readthedocs.io/en/latest/api/rasterio.warp.html#rasterio.warp.transform_bounds Pass it the CRS of your dataset
|
By
...
· #563
·
|
|
MemoryFile loses Profile information
Like Ciaran I'm not very familiar with GDAL's python bindings, but I've tried running a little snippet which I believe does the same thing as what was done with rasterio: it writes a JP2 to a vsimem i
Like Ciaran I'm not very familiar with GDAL's python bindings, but I've tried running a little snippet which I believe does the same thing as what was done with rasterio: it writes a JP2 to a vsimem i
|
By
...
· #515
·
|
|
MemoryFile loses Profile information
Hi, I guess the B01.jp2 file mentioned is a Sentinel-2 band, which is standalone, there is no side-car file attached to it. I have tried downloading a single B01.jp2 file from a SAFE and running Vince
Hi, I guess the B01.jp2 file mentioned is a Sentinel-2 band, which is standalone, there is no side-car file attached to it. I have tried downloading a single B01.jp2 file from a SAFE and running Vince
|
By
...
· #507
·
|
|
Silencing NotGeoreferencedWarning
Hi Sean, Thanks for your answer. I understand why you would want to keep this as a warning so that a user can act upon it if needed. If I understand correctly, rasterio currently lacks the ability to
Hi Sean, Thanks for your answer. I understand why you would want to keep this as a warning so that a user can act upon it if needed. If I understand correctly, rasterio currently lacks the ability to
|
By
...
· #415
·
|
|
Silencing NotGeoreferencedWarning
Hi Vincent, Option 1 with RPCs and GCPs would be perfect for my use case because all of the datasets I open have one of them. But it would still leave warnings when you write a png or jpg with no geor
Hi Vincent, Option 1 with RPCs and GCPs would be perfect for my use case because all of the datasets I open have one of them. But it would still leave warnings when you write a png or jpg with no geor
|
By
...
· #413
·
|
|
Silencing NotGeoreferencedWarning
Hi, I'm frequently working with GeoTIFF datasets that don't have a geotransform because they are georeferenced through other means (Sentinel-1 SLC images through the satellite state vectors, or non-or
Hi, I'm frequently working with GeoTIFF datasets that don't have a geotransform because they are georeferenced through other means (Sentinel-1 SLC images through the satellite state vectors, or non-or
|
By
...
· #411
·
|
|
reading raster with masked=True leads to error
Hi, I think the reason you get an error is that you have misspelled the argument (you wrote maksed instead of masked). FYI, the list of arguments of the read() function can be found in the documentati
Hi, I think the reason you get an error is that you have misspelled the argument (you wrote maksed instead of masked). FYI, the list of arguments of the read() function can be found in the documentati
|
By
...
· #354
·
|
|
gdal_translate -projwin with rasterio
You are right James, I had not done my due diligence thoroughly :) The issue you are referring to must be this PR: https://github.com/mapbox/rasterio/pull/1565 There was also some more recent discussi
You are right James, I had not done my due diligence thoroughly :) The issue you are referring to must be this PR: https://github.com/mapbox/rasterio/pull/1565 There was also some more recent discussi
|
By
...
· #325
·
|
|
gdal_translate -projwin with rasterio
Hi all, I am trying to rewrite some legacy code that was using gdal_translate -projwin to use rasterio. The goal of the code is just to crop an image, given geographical bounds in the CRS of the image
Hi all, I am trying to rewrite some legacy code that was using gdal_translate -projwin to use rasterio. The goal of the code is just to crop an image, given geographical bounds in the CRS of the image
|
By
...
· #323
·
|
|
Transform Conversion to Lat/Long
Hi, From the screenshot you have provided, we can see that the CRS of your image (EPSG:32617) is a UTM zone, so its unit is indeed in meters. That means that if you take a point with coordinates expre
Hi, From the screenshot you have provided, we can see that the CRS of your image (EPSG:32617) is a UTM zone, so its unit is indeed in meters. That means that if you take a point with coordinates expre
|
By
...
· #315
·
|
|
Reading from S3
Hi, I will add to the previous message that if you want to specify a non-default region, the environment variable you're looking for is probably AWS_REGION (or AWS_DEFAULT_REGION starting with GDAL 2.
Hi, I will add to the previous message that if you want to specify a non-default region, the environment variable you're looking for is probably AWS_REGION (or AWS_DEFAULT_REGION starting with GDAL 2.
|
By
...
· #299
·
|
|
[feature] List tags namespaces
Great, thank you very much Vincent! Guillaume Lostis
Great, thank you very much Vincent! Guillaume Lostis
|
By
...
· #283
·
|
|
[feature] List tags namespaces
Hi all, I would like to be able to list a file's namespaces for tags. I am handling files with several tag "namespaces" (default, IMAGE_STRUCTURE, and RPC for example). I want to create a "copy" of th
Hi all, I would like to be able to list a file's namespaces for tags. I am handling files with several tag "namespaces" (default, IMAGE_STRUCTURE, and RPC for example). I want to create a "copy" of th
|
By
...
· #280
·
|