[Proj] Problem with program on Windows

Frank Willett fyw at wwwtools.com
Wed Aug 10 11:41:41 EST 2011


Thanks,

My confusion was the difference between tmerc and utm.

BTW: I was inputing (0, 0).

When I switched to tmerc all is well.

Thanks again :-)

Frank

On Aug 10, 2011, at 10:25 AM, Frank Warmerdam wrote:

> 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
> _______________________________________________
> Proj mailing list
> Proj at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/proj



More information about the Proj mailing list