P.Rizzi Ag.Mobilità Ambiente wrote:
In fact I looked into the GeoTools code and find no easy way of getting the
SRID from a CoordinateReferenceSystem. Sadly this is something that happens 
often with GeoTools...

I wrote a utility class to get the SRID from a CoordinateReferenceSystem,
but I'm not sure
if the way I did it is the best one, neither I know if there're better ways.

Abything better than this???
Yes - go through the list and find one that starts with "EPSG" :-) Also can we place this code in the CRS utility class? Not the WMS code has a slightly more involved take on the problem - if I hunt it down we can use it to start the implementation off right.

Jody


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to