Hi,
I was wondering about providing better error message information
to users when they misconfigure a coverage format in GeoServer,
and that basically boils down to get some info out of the
format.

At the moment the question we can ask is: "is this a geotiff"?
If if is the format will return a reader, otherwise it will
return null.
However, the actual answer when the file is not considered
a geotiff could be:
- this is not a tiff file
- the tiff file has no pixel to world transformation
- the tiff file has no CRS

It would be really nice to have such information somehow.
I think that with datastores we can just go to the factory,
force it to create a store with the provided params, and
see the stack trace to gather some intel (wrong user? cannot
connect to server?).

Wondering, do you see any short term way to get the same results
out of the current coverage API?

If not in the short term, what about the new coverage stores,
would they behave the same as the vector ones?

Cheers
Andrea

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to