Hi, All,
I have a data set in a NAD83 Albers projection:
PROJCS[“NAD_1983_California_Teale_Albers”, GEOGCS[“GCS_North_American_1983”,DATUM[“D_North_American_1983”,
SPHEROID[“GRS_1980”,6378137.0,298.257222101]],
PRIMEM[“Greenwich”,0.0],
UNIT[“Degree”,0.0174532925199433]],PROJECTION[“Albers”],
PARAMETER[“False_Easting”,0.0],PARAMETER[“False_Northing”,-4000000.0],
PARAMETER[“Central_Meridian”,-120.0],
PARAMETER[“Standard_Parallel_1”,34.0],
PARAMETER[“Standard_Parallel_2”,40.5],
PARAMETER[“Latitude_Of_Origin”,0.0],
UNIT[“Meter”,1.0]]
I edited the jar: gt2-epsg-wkt-2.2.0.jar, added this projection information to the end of the file:
org/geotools/referencing/crs/epsg.properties
As:
52308=PROJCS[“NAD83 / California Albers”,GEOGCS[“NAD83”,DATUM[“North_American_Datum_1983”,SPHEROID[“GRS 1980”,6378137.0,298.257222101],TOWGS84[0,0,0]],PRIMEM[“Greenwich”,0],
UNIT[“degree”,0.0174532925199433]],PROJECTION[“Albers_conic_equal_area”],
PARAMETER[“central_meridian”,-120.0],
PARAMETER[“latitude_of_origin”,0],
PARAMETER[“standard_parallel_1”,34],
PARAMETER[“standard_parallel_2”,40.5],
PARAMETER[“false_easting”,0],
PARAMETER[“false_northing”,-4000000],UNIT[“Meter”,1],
AUTHORITY[“EPSG”,“52308”]]
Then I went to Geoserver to create a new Feature Type, I put 52308 as the SRS, then I hit the bounding box generate
button, it generates some lat/lon data there. However, I can see the data from the preview demo page:
http://pollux.cs.ucdavis.edu:8080/geoserver/preview/geons_pctl05_83_reduce_oid.html
How can I change the lon: and lat: boxes so that it will actually show me the position in my projection when I move the
mouse over the map?
Thanks a lot.
Haiyan
Proj.js