Benoît Thiébault ha scritto:
> Thank you for your answer. Do you know how I can retrieve the
> parameters values from an existing CRS ? I don't want to build a new
> one from scratch, just to change the central_meridian parameter
If this is a one time issue (that is, you don't need to automate it),
you can use the following:
CoordinateReferenceSystem crs = CRS.decode("EPSG:3395);
System.out.println(crs); // this will print the WKT definition
String newWKT = "..."; // modified WKT definition with new cent. mer.
CoordinateReferenceSystem crs2 = CRS.parseWKT(newWKT);
Hope this helps
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users