Hello Jose,
> Basically I need to create a CRS for EPSG:42304
>
42304 is not a standard EPSG code but spatialreference.org has a WKT
for it. Using that you can do the following...
String wkt = "PROJCS[\"unnamed\", "
+ "GEOGCS[\"NAD83\", "
+ "DATUM[\"North_American_Datum_1983\", "
+ "SPHEROID[\"GRS 1980\", 6378137,298.257222101,"
+ "AUTHORITY[\"EPSG\",\"7019\"]],"
+ "TOWGS84[0,0,0,0,0,0,0],"
+ "AUTHORITY[\"EPSG\",\"6269\"]],"
+ "PRIMEM[\"Greenwich\",0,"
+ "AUTHORITY[\"EPSG\",\"8901\"]],"
+ "UNIT[\"degree\",0.0174532925199433,"
+ "AUTHORITY[\"EPSG\",\"9108\"]],"
+ "AXIS[\"Lat\",NORTH],"
+ "AXIS[\"Long\",EAST],"
+ "AUTHORITY[\"EPSG\",\"4269\"]],"
+ "PROJECTION[\"Lambert_Conformal_Conic_1SP\"],"
+ "PARAMETER[\"latitude_of_origin\",49],"
+ "PARAMETER[\"central_meridian\",-95],"
+ "PARAMETER[\"scale_factor\",1],"
+ "PARAMETER[\"false_easting\",0],"
+ "PARAMETER[\"false_northing\",0],"
+ "UNIT[\"Meter\",1]]";
CoordinateReferenceSystem crs = CRS.parseWKT(wkt);
Hope this helps,
Michael
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users