Hi,
I'm doing some little work on the AUTO CRS factories.
The thing is, our current support for them is broken in multiple
ways:
a) the WMS spec asks to parse a syntax like AUTO:code,unit,lon,lat
    whilst our code supports AUTO:code,lon,lat
b) we claim to support 42003, 42004 and 42005, but in fact we don't

For a) I've modified the code to parse both syntaxes.

For b) there are some issues. 42003 is orthographic, 42004 is
Equirectangular. We support both of the them, but only in their
spherical development, whilst the WMS specification suggests a WKT
definition for them that uses an ellipsoid.
The projection code is strict and craps out with an exception
when faced with a elliptical case.
For 42005 the things are ever worse, 42005 is the Mollweide project
that we don't support at all.

For the moment I've removed support for 42003, 42004 and 42005 from
the AUTOCRSFactory, since they are not actually working, but I'm
wondering what to do with them.
Shall we get more relaxed and ignore the spherical/ellipsoidal issue
and just go ahead with the spherical code ignoring the elliptical
nature? Issue a warning? Have a general hint allowing the programmer
to switch between strict and lax behavior? Or it is just ok to leave
it like that?

Cheers
Andrea


-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to