Closed cmalzer closed 3 years ago
Hey. Thanks for reaching out. Happy to help solve this issue. geotiff.io is using an older version of georaster-layer-for-leaflet. Do you have the same issue when you load the GeoTIFF here: https://geotiff.github.io/georaster-layer-for-leaflet-example/examples/load-file.html ?
Hi, thanks for your fast response! Yes, unfortunately the same is happening when I'm using this link. In the console at georaster --> projection it says "4326" and the map is empty. Only after converting it to WGS84 with gdalwarp
I can see the file.
Unfortunately I'm not allowed to share the file in public, but I could email it to you if this helps.
Okay. Thanks for trying though. You can email it to me at daniel.j.dufour@gmail.com and I can take a look.
I figured out the issue. It's this line in georaster: https://github.com/GeoTIFF/georaster/blob/master/src/parseData.js#L93
Basically, it currently mistakenly gives priority to GeographicTypeGeoKey vs. ProjectedCSTypeGeoKey, but it should be the reverse.
Sorry about that. I'll fix georaster and let you know when I've republished. Should be today or tomorrow. (There's a rather lengthly release process)
I published a new version of georaster. Should be working now!
Great, thanks a lot! It is now working when using the link above.
Could you possibly also update the geoblaze package? I'm using geoblaze as a wrapper in my application and I guess it is using the older georaster version which is why it is not yet working there. But I'm closing the issue here since it is definitely working with georaster now.
Okay. I published a new version of GeoBlaze! https://github.com/GeoTIFF/geoblaze/releases/tag/v1.0.3
First of all, thank you for your awesome work! I'm currently implementing my own application based on geotiff.io, with additional support for shapefiles and integration of Dataverse to search and map geospatial files.
Unfortunately, I have some GeoTiffs which are not getting displayed (not just in my own implementation, but also when uploading them on geotiff.io). I'm not getting any errors; but the debug info says: "georaster projection is in 4326" which is not the case since these files are actually in UTM48S /EPSG 32748. So I guess the problem is that they are incorrectly interpreted as having 4326 coordinate system.
This is the gdalinfo of one of these GeoTiffs:
I'm able to view the files after transforming them to 4326, but is there any way of fixing this without the need of transforming them?
Thank you!