[OSRS-PROJ] FOUND THE ANSWER to: problems with ' and " in coordinates? (fwd)

Agustin Lobo alobo at ija.csic.es
Fri Apr 19 12:32:35 EDT 2002


Sorry, I've realized that the correct format
is 
+lat_1="37d10'41.058"  
and not:
+lat_1=37d10'41.058"

I thought that as ' stands for min, " meant seconds.

Agus

Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo at ija.csic.es


---------- Forwarded message ----------
Date: Fri, 19 Apr 2002 18:25:35 +0200 (MET DST)
From: Agustin Lobo <alobo at ija.csic.es>
To: osrs-proj at remotesensing.org
Subject: problems with ' and " in coordinates?


Hi!

I'm using PROJ to transform from lcc to lon,lat
and I'm confused by the following:

If I use:

proj -I +proj=lcc +a=6378388.0000000000 +es=0.0067226700 +lat_0=40.0
+lat_1=37.1780716667 +lat_2=42.8219283333 +lon_0=-3.687500  +x_0=600000.0
+y_0=600000.0 +unfact=1.0000000000 <<EOF
> 600000 600000
> EOF
I get the correct result:
3d41'15"W       40dN

But if I use ' and " for the coordinates (i.e.,+lat_1=37d10'41.058"
instead
of +lat_1=37.1780716667 ), I get a wrong result:

proj -I +ellps=intl +proj=lcc +x_0=600000  +y_0=600000
+lat_1=37d10'41.058"  +lat_2=42d49'18.9420"  +lon_0=-3d41'15"  +lat_0=40d
<<EOF
> 600000 600000
> EOF
0dE     40dN


As I understand from the man page, both notations
are correct, where is the problem?

Thanks

Agus



Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo at ija.csic.es



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



More information about the Proj mailing list