thanks Michael for your information

i was not thinking of this java code which is quite practical

Jean-Marie

> Date: Fri, 17 Sep 2010 18:44:25 +1000
> Subject: Re: [Geotools-gt2-users] list of projections in WKT format
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> 
> Hello Jean-Marie
> 
> You can generate such a file if you redirect the output of the
> following quick and dirty code...
> 
> Set<String> codes = CRS.getSupportedCodes("EPSG");
> for (String code : codes) {
>     try {
>         String epsg = "EPSG:" + code;
>         System.out.print("*****" + epsg);
>         System.out.println();
>         System.out.println(CRS.decode("EPSG:"+code, true).toWKT());
>         System.out.println();
>     } catch (Exception ex) {
>         // nothing
>     }
> }
> 
> Michael
> 
> On 17 September 2010 17:28, Jean Marie <[email protected]> wrote:
> > hello
> >
> > is there a file containing the list of available projections in WKT format
> > with their corresponding EPSG codes ?
> > or do I have to generate each WKT string with Geotools that I need (from the
> > EPSG code) ?
> >
> > thanks in advance
> >
> > Jean-Marie
> >
> > ------------------------------------------------------------------------------
> > Start uncovering the many advantages of virtual appliances
> > and start using them to simplify application deployment and
> > accelerate your shift to cloud computing.
> > http://p.sf.net/sfu/novell-sfdev2dev
> > _______________________________________________
> > Geotools-gt2-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> >
> >
                                          
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to