Hello Arnauld,
> Before i add my first layer, i have put these lines:
> CoordinateReferenceSystem crs=CRS.decode("EPSG:4326");
That will give you latitude as the first axis and longitude as the
second, as defined for EPSG:4326.
Try this instead (note extra boolean arg)...
CoordinateReferenceSystem crs = CRS.decode(EPSG:4326, true);
Or you can do this...
CoordinateReferenceSystem crs = DefaultGeographicCRS.WGS84;
There has been another thread about this "axis order" issue in the
last few days.
Michael
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users