Calling all PROJ4 genuises

Tyler Mitchell tylermitchell at SHAW.CA
Mon Aug 29 12:27:47 PDT 2005


Hi Chris,
After looking up the EPSG code for a similar sounding projection, this gives results closer to what you are looking for:
cs2cs +proj=latlong +ellps=GRS80 +datum=NAD83 +to +proj=lcc +lat_1=40.66666666666666 +lat_2=41.03333333333333 +lat_0=40.16666666666666 +lon_0=-74 +x_0=300000 +y_0=0 +ellps=GRS80 +datum=NAD83 +to_meter=0.3048006096012192

Input: -73.994992 40.717690
Output: 985638.25       200750.38 0.00

Where did you get cs2cs and your proj environment from?  Depending on this, you may have a shorthand way of calling this, if you put a couple lines into your epsg code file.  Follow up with us to get that done if you are interested.  That would result in a much shorter cs2cs line:

cs2cs +init=epsg:4326 +to +init=102718

A bit easier to read ;)
Hope that helps!

Tyler



More information about the MapServer-users mailing list