> -----Messaggio originale----- > Da: Jody Garnett [mailto:[EMAIL PROTECTED] > Inviato: martedì 25 ottobre 2005 21.38 > A: "P.Rizzi Ag.Mobilità Ambiente" > Cc: GeoTools-devel (E-mail) > Oggetto: Re: [Geotools-devel] About toSRID() > > > 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 You surely can put it an utility class, or if you name it, I can do it myself. Bye Paolo
AVVERTENZE AI SENSI DEL D. LGS. 196/2003 Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i, sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceveste questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema; costituisce comportamento contrario ai principi dettati dal D. Lgs. 196/2003 il trattenere il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse. ------------------------------------------------------- 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
