Martin Desruisseaux ha scritto:

> System properties should not be needed in any way for configuring the 
> factories. 
> They are just workaround for legacy applications that do not specify their 
> hints. For example the "org.geotools.referencing.forceXY" system property 
> sets 
> the default value of Hints.FORCE_LONGITUDE_FIRST_AXIS_ORDER to Boolean.TRUE, 
> but 
> this is ignored and useless if the user - like Geoserver - provides an 
> explicit 
> value for Hints.FORCE_LONGITUDE_FIRST_AXIS_ORDER.

In Geoserver we do use only the system properties, never the hints.
The issue is, all of Geoserver is using CRS to perform its work, so the
only way to force axis order application wide is to set the system property.
Is there any other global way to set these hints? CRS is used directly
by renderer, by datastores, and in many other places in Geoserver,
Eclipse is giving me 153 references to CRS in the Geoserver workspace 
(which means, Geoserver code + geotools code used by geoserver).
Maybe a way to provide CRS with standard hints is needed?

Cheers
Andrea

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to