GDALRasterSource Issue Tracking
See original GitHub issueThese are known anomalies for using GDALRasterSource
that need to be fixed before we can start using it in production:
- Fails with an error for the “Mona Lisa” Tiff with the following error:
ERROR 1: The transformation is already "north up" or a transformation between pixel/line and georeferenced coordinates cannot be computed for /vsis3/rasterfoundry-production-data-us-east-1/user-uploads/auth0|57b744b09da7f9936f14fd5b/e16a297d-48e4-42b6-b301-18ddca0a8f9f/monalisa-cog.tiff. There is no affine transformation and no GCPs. Specify transformation option SRC_METHOD=NO_GEOTRANSFORM to bypass this check.
(I’ve attached a zipped version of the tiff)
I’m not sure if this is a problem that can be solved with GDAL or if it’s just bad data that we handled naively before so didn’t throw an error.
- The GDAL bindings do not respect reading credentials from an AWS
creds
profile (though it does work when used on a machine with an IAM role) so this seems to primarily a local problem - Servers seem to stop responding to requests after a period of time – it’s probably not worth looking into this further until we have better, reproducible steps
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
GDAL errors when reading repeatedly from one ... - GitHub
This error originated in some RasterFrames work. We have a table where one column is predominantly the same file and the analysis fails...
Read more >locationtech/rasterframes - Gitter
I've not done any RasterFrames work for some time, so I've not been tracking it. Debugging performance issues in Spark is just so...
Read more >GeoTrellis Documentation
3.1.5 Issue Tracking. If you find a bug and would like to report it please go there and create an issue. As always,...
Read more >GeoTrellis 3.0 Release - Azavea
This GitHub issue describes many of the goals in more technical detail. ... Because it is critical that GDALRasterSource behaves predictably ...
Read more >Running unit tests on Mac takes me down a GDAL installation ...
... line 4, in <module> from django.contrib.gis.gdal.raster.source import GDALRaster File ... What will track the work to fix the problem?
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Figured out how to correctly “georeference” non-georeferenced imagery to satisfy
GDALRasterSource
’s requirements (and GDAL more generally).The strategy I used is to call
gdalinfo
and get the upper-left and lower-right coordinates and use that ingdal_translate
when assigning a spatial reference system like:gdal_translate -a_ullr 0.0 369.0 656.0 0.0 -a_srs epsg:3857 usa_joel_embiid_3_sixers.png fixed.tiff
Which I used to generate
Possible reproduction of the “server stops after a while” problem:
s3://rasterfoundry-development-data-us-east-1/user-uploads/auth0%7C59318a9d2fbbca3e16bcfc92/9aa8e212-204c-4531-9a0b-0fb8d3faa2f0/cog.tif
~Note that the server does eventually recover, but the behavior while it’s cranky isn’t great~ it seems like maybe it doesn’t actually recover – my healthcheck is now timing out after waiting a bit for things to clear
EDIT: thinking back, my project with a huge number of scenes where I was trying to build a global basemap… was also MODIS imagery.