Andrea Aime a écrit :
> I set a system property to have axis in x/y order, so it should
> have longitude as the first axies.
>
> I believe this explains why Goeserver trunk won't render a single
> map today. Is this supposed to work, or is there a new way to
> force axis orientation now?
The system property must be set before the first call to
ReferencingFactoryFinder.getXXXAuthorityFactory(...), directly or indirectly
(e.g. CRS.decode(...)).
After the first call to ReferencingFactoryFinder, setting the system property
doesn't have any effect anymore (or maybe an explicit call to
ReferencingFactoryFinder.scanForPlugins would help; I didn't tried).
Is it possible to set every relevant system properties in some Geoserver
starting code before any Geotools code is invoked? If this is an issue, we can
investigate some way to allow changes after Geotools class loading.
Martin
-------------------------------------------------------------------------
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