Virginie BERRE a écrit :
How to initialise de CRS associated with my mapPane ??
It should be provided with yours data (from a .prj file if you are
reading shapefile I think). I don't know how to force a data store to
use a specific CRS if none is provided with the data.
Setting a CRS in MapPane just set the "view" CRS (i.e. geometries are
automatically projected from the "real data" CRS to the "view" CRS at
rendering time), so setting the MapPane's CRS will probably not help.
Looks if there is a .prj file with yours data. If none, you may try to
force yours DataStore to use DefaultGeographicCRS.WGS84 (but I don't
know how to force that).
Martin.
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users