salut Martin, On Friday 22 September 2006 07:09, Martin Desruisseaux wrote: > Raif S. Naffah a écrit : > > in the class: > > org.geotools.referencing.factory.wms.WebCRSFactory > > > > in the method: > > public CoordinateReferenceSystem > > createCoordinateReferenceSystem(String code) > > throws FactoryException > > > > 1. where does CoordinateReferenceSystem come from? > > This is an interface from GeoAPI. > > > 2. what is the expected syntax of the code string param; i.e. is > > "EPSG:4326" a valid value? > > No, "EPSG:4326" is for factory defined in > org.geotools.referencing.factory.epsg package. The values are the ones > defined in the WMS specification. There is only three valid values at this > time: "CRS:WGS84", "CRS:NAD83" and "CRS:NAD27". > > The org.geotools.referencing.CRS.decode(String) convenience method should > understand the above codes as well as "EPSG:xxxx" codes.
merci + cheers; rsn
pgphhvnUH3C8p.pgp
Description: PGP signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
