[Proj] cs2cs returns error then 0s with datum conversion
EMiller at dfg.ca.gov
Tue Jan 11 17:10:04 EST 2011
I'm going to guess that your binary NAD files (conus, etc.) do not match your architecture. If your Proj.4 binaries are 64-bit, you need 64-bit NAD files. Likewise, if you have 32-bit binaries, you need 32-bit NAD files. You can confirm that is the problem by using cs2cs with +towgs84 parameters instead of +nadgrids.
The NAD *.lla files are converted to platform specific binary data structures during the build process (via nad2bin.exe). Maybe someday an enterprising soul will convert cs2cs to use National Geodetic Survey's current correction file format directly...
Eric G. Miller
CA Dept. of Fish & Game
>>> On 1/11/2011 at 11:47 AM, "R. Jay Flaming" <jflaming at uw.edu> wrote:
> I'm trying to de-arcgis a script I have written in python for
> processing some database coordinates by using proj to replace the ESRI
> geoprocessor. I have installed proj4 and I call it from subprocess
> Proj itself works fine, but cs2cs is not working for me, either in
> python or directly from the command line. No matter what I enter, if
> I use a nad27 to nad83 conversion or vice versa, the first pair of
> coordinates I enter return asterisks, and all further requests yield
> Windows 7, 64 bit workstation, with Proj installed to the default
> directory (c:\proj). I've set the path.
> I'm sure I'm missing something simple... can anyone help?
> R. Jay Flaming
> Digital Archaeology Research Laboratory, University of Washington
> jay.flaming at gmail.com
> Proj mailing list
> Proj at lists.maptools.org
More information about the Proj