On Thu, May 26, 2011 at 7:12 PM, Mathieu Baudier <[email protected]> wrote:
> Hello,
>
> I have a weird behavior and before I investigate further, I wanted to
> ask if I'm doing something obviously wrong.

Yeah, the referencing subsystem insists on having the
axis order lat/lon by default even if almost no data source uses it.

Use this at the very startup of your code to force it to use lon/lat
order instead:
System.setProperty("org.geotools.referencing.forceXY", "true");

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to