It's indeed a one time issue.
I will thus try your method.
However, I find it strange that there are no accessors on such CRS parameters...
Thank you very much
Ben

Le 20 janv. 2010 à 15:26, Andrea Aime a écrit :

> 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.
> 

----
Benoît Thiébault

  Société Artenum
  24 rue Louis Blanc, 75010 Paris
  tel: +33 (0)1 46 94 67 54

  Artenum - Science & Groupware - http://www.artenum.com


------------------------------------------------------------------------------
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

Reply via email to