[Proj] Problem with program on Windows

Frank Warmerdam warmerdam at pobox.com
Wed Aug 10 09:25:43 PDT 2011


On Wed, Aug 10, 2011 at 9:09 AM, Frank Willett <fyw at wwwtools.com> wrote:
> I'm running Windows 7 Ultimate 64 and have cygwin installed.
>
> I downloaded the proj.4 Windows binary distribution and tried the following command:
>
> proj.exe +proj=utm +ellps=clrk66 +lon_0=0 +lat_0=0 +x_0=500000 +y_0=0 +units=m
>
> expecting an answer of (500000.00, 0.00) and got (166017.00, 0.00)

Frank,

You have not indicated what user input you gave, so it is hard to be
sure what the correct output should be.  However, I will note that it
is not normal to try and specify the detailed parameters like +lon_0,
+lat_0, +x_0 and +y_0 with +proj=utm.  With UTM you should provide
a +zone.  If you want to specify the transverse mercator projection
yourself then just use +proj=tmerc instead.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Software Developer



More information about the Proj mailing list