[Proj] cs2cs

Eric Miller EMiller at dfg.ca.gov
Fri Mar 20 15:51:36 EST 2009


I believe the problem is that the "nad27" file doesn't specify the critical parameter "+unit=us-ft".  When added, I get almost the same result as what you're expecting.

I have little faith in any of those "init" files and never use them...
-- 

Eric G. Miller
Staff Programmer
CA Dept. of Fish & Game


>>> On 3/20/2009 at 11:46 AM, "Ames, Kieran J." <Kieran.Ames at us.ngrid.com> wrote:
> Can I please ask the list for some guidance?
>  
> In an attempt to convert some data from projected to lat/lon, I'm
> attempting to use cs2cs.
>  
> The data:
> My coordinates of 2174727 164482 are based on NAD27 3104 (Long Island).
> My lat/lon of -73.370096 40.675382 is based on a geocoding calculation
> from a Sagent geocoding engine.
>  
> I'm attempting to use cs2cs to calculate lat/lon values for a rather
> large file.
>  
> In testing, I use the command:
> echo 2174727 164482 nad27:3104  |c:\ms4w\proj\bin\cs2cs    -E  -f %3.6f
> +init=nad27:3104  +to +proj=latlong +datum=NAD83
>  
> This returns coordinates of -55.478096 40.211109... somewhere out in the
> Atlantic Ocean. 
>  
> I've tried a brute force approach against all the NAD27, NAD83 and EPSG
> definitions but cannot come up with anything close to the lat/lon I
> expect.
>  
> I've been told that the coordinates I'm using are actual and not
> "padded" for any reason.
>  
> If anyone has any insight as to how I could resolve this issue, I'd be
> most appreciative.
>  
> Thank you
>  
> Kieran Ames
> 
> 
> 




More information about the Proj mailing list