Hello

Watch out axis order. If you are using EPSG:4326 as your source CRS, the
official axis order (according EPSG) is (latitude, longitude), not the other way
arround.

You can check which axis order you have with the following code:

    System.out.println(sourceCRS);

and look at the order in which AXIS[...] element appears.

If you really want (longitude, latitude) axis order, use

   sourceCRS = CRS.decode(sourceSys, true);



        Martin

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to