Hi list, maybe one of you has some ideas about this case.

I’m uploading a tiff to geoserver using rest api. Geoserver fails to import the 
tiff. In the geoserver logs I found this error:

org.geotools.coverage.grid.io.imageio.geotiff.GeoTiffException: GEOTIFF Module 
Error Report
GeoTiffMetadata2CRSAdapter::createGeodeticDatum(Unit unit):A user defined 
Geographic Coordinate system must include a predefined datum!

Apparently the tiff has an incomplete/incompatible projection definition geo 
tools is not able to manage.  What would you suggest for improvement? 
- Is it an option to improve geo tools so it would be able to parse this 
projection, or use some sensible default datum? 
- Or would it be sensible to add a parameter to the rest api to be able to 
force a source projection which is known to geo tools?
- Or would it be better we transform the raster to a common projection before 
publishing? 
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to