Hi all;

I'm trying to set up two coordinates systems using EPSG codes, one
geographic and the other projected:

//GeographicCRS geoCRS = FactoryFinder.get
String g = "4269";
GeographicCRS geoCRS = FactoryFinder.getCRSAuthorityFactory("EPSG",
null).createGeographicCRS(g);
                                            
//Vermont State Plane;
String s = "32145";     
CoordinateReferenceSystem vspCRS =
FactoryFinder.getCRSAuthorityFactory("EPSG",
null).createCoordinateReferenceSystem(s);

The projects ones is fine but I'm having trouble with the geographic
one. I keep getting a "NoSuchAuthorityCodeException". I confirmed that
4269 is the EPSG code I'm after but I'm stumped, any help would be
appreciated. (I've hadded the gt2-epsg-hsql.jar to my class path)
         

Eric


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to