Coordinate conversion (EXTENT)

Chris Hackel cvhackel at YAHOO.COM
Mon Aug 29 11:23:05 EDT 2005


Hello.
Recently I switched from a latlong proj shapefile to
Lambert Conformal Canonic. I'm having trouble
converting my EXTENT with cs2cs.

Based on the ogrinfo below, I tried this in cs2cs:
cvhackel% cs2cs +proj=latlong +ellps=GRS80
+datum=NAD83 +to +proj=lcc +datum=NAD83 +units=ft
+lon_0=-74.0 +lat_0=40.16666 +lat_1=40.1666666
+lat_2=41.033333 +x_0=984250.0 +y_0=0
-73.994992 40.717690
3230554.89      200744.22 0.00

This doesn't look right (again, based on the ogrinfo).
Can someone help?

Thanks,
Chris


Layer name: street_centerline
Geometry: Line String
Feature Count: 123866
Extent: (910057.005249, 120827.652033) -
(1067494.180516, 274629.837850)
Layer SRS WKT:
PROJCS["NAD_1983_StatePlane_New_York_Long_Island_FIPS_3104_Feet",
    GEOGCS["GCS_North_American_1983",
        DATUM["North_American_Datum_1983",
           
SPHEROID["GRS_1980",6378137.0,298.257222101]],
        PRIMEM["Greenwich",0.0],
        UNIT["Degree",0.0174532925199433]],
    PROJECTION["Lambert_Conformal_Conic_2SP"],
    PARAMETER["False_Easting",984250.0],
    PARAMETER["False_Northing",0.0],
    PARAMETER["Central_Meridian",-74.0],
   
PARAMETER["Standard_Parallel_1",40.66666666666666],
   
PARAMETER["Standard_Parallel_2",41.03333333333333],
    PARAMETER["Latitude_Of_Origin",40.16666666666666],
    UNIT["Foot_US",0.3048006096012192]]



More information about the mapserver-users mailing list