Thanks Martin, I tried to construct CRS with this WKT but it raises the 
following exception:

Exception in thread "main" org.opengis.referencing.NoSuchIdentifierException: 
Aucune transformation de classe "Lambert Azimuthal Equal Area" n'est définie.
        at 
org.geotools.referencing.operation.DefaultMathTransformFactory.getProvider(DefaultMathTransformFactory.java:266)

I'm using gt-2.3.1, not 2.3.2, and I have the following libs in my classpath 
(among others):
gt2-referencing-2.3.1.jar
gt2-epsg-hsql-2.3.1.jar
gt2-epsg-wkt-2.3.1.jar


-----Message d'origine-----
De : Martin Desruisseaux [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 22 juin 2007 16:31
À : zze-M2S FRISON V ext RD-BIZZ-SOP
Cc : [email protected]
Objet : Re: [Geotools-gt2-users] Lambert Azimuthal Equal Area

zze-M2S FRISON V ext RD-BIZZ-SOP a écrit :
> EPSG:3035 seems to be the good one for me but apparently it's not 
> present in the current EPSG database included GeoTools 2.3.x.
> 
> Apparently there's no SRS in the current (2.3.x) EPSG database. Do I 
> have to wait 2.4 release if I want to use a SRS which use a Lambert 
> Azimuthal Equal Area projection?

I confirm that CRS.decode("EPSG:3035") work with Geotools 2.4. But if you 
prefer to stay with Geotools 2.3, an alternative is to use:

CRS.parseWKT(crsDefinition);

where 'crsDefinition' is the following string:

PROJCS["ETRS89 / ETRS-LAEA",
   GEOGCS["ETRS89",
     DATUM["European Terrestrial Reference System 1989",
       SPHEROID["GRS 1980", 6378137.0, 298.257222101, AUTHORITY["EPSG","7019"]],
       TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
       AUTHORITY["EPSG","6258"]],
     PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
     UNIT["degree", 0.017453292519943295],
     AXIS["Geodetic latitude", NORTH],
     AXIS["Geodetic longitude", EAST],
     AUTHORITY["EPSG","4258"]],
   PROJECTION["Lambert Azimuthal Equal Area", AUTHORITY["EPSG","9820"]],
   PARAMETER["latitude_of_center", 52.0],
   PARAMETER["longitude_of_center", 10.0],
   PARAMETER["false_easting", 4321000.0],
   PARAMETER["false_northing", 3210000.0],
   UNIT["m", 1.0],
   AXIS["Northing", NORTH],
   AXIS["Easting", EAST],
   AUTHORITY["EPSG","3035"]]


        Martin

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to