[OSRS-PROJ] proj4 parameter question regarding UTM

Ed McNierney ed at topozone.com
Fri Feb 6 18:46:26 EST 2004


Peter -

Those are NOT the correct values for those coordinates projected in UTM.
Your longitude of -143 degrees isn't even close to zone 10 - it's in UTM
zone 7.  The Northing and Easting you report seem approximately correct
for the zone 7 coordinates of that point, so you should simply change
your proj command line to specify zone 7.

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com
-----Original Message-----
From: pw [mailto:p.willis at telus.net] 
Sent: Friday, February 06, 2004 6:32 PM
To: osrs-proj at remotesensing.org
Subject: [OSRS-PROJ] proj4 parameter question regarding UTM

Hello,

I have been attempting to use proj to project latlons to utm.

In testing on the command line I get incorrect utm coordinates based on
the latlons that I am providing.

/*......................................................................
....
.....*/
Question A.) (in case of a scaling problem)

What scale does does proj project latlons to.
eg. UTM feet, UTM meters

/*......................................................................
....
.....*/
Question B.) (in case my parameters are wrong)

When using proj on the command line I am entering the following:

proj +proj=utm +ellps=WGS84 +zone=10

Is that correct?


/*......................................................................
....
........*/
Here is what I get at the command prompt:

I enter my lons and lats at the prompt.

-143.228         55.380

proj returns incorrect values
-771781.86            6325041.42

Actual correct utm values for this coord WGS84 utm zone 10 (north):
358851.385 east                 6139389.448 north

/*......................................................................
....
...........*/
Thanks for any help,

Peter


----------------------------------------
PROJ.4 Discussion List
See http://www.remotesensing.org/proj for subscription, unsubscription
and other information.

----------------------------------------
PROJ.4 Discussion List
See http://www.remotesensing.org/proj for subscription, unsubscription
and other information.



More information about the Proj mailing list