<HTML>
<HEAD>
<TITLE>another plea for consistency</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>I’m trying to script from the output of g.proj. Here is an example of the output from 4 different locations. Note the differences.<BR>
<BR>
The order of the key : value pairs varies somewhat.<BR>
<BR>
Why can’t an xy location have units? Why isn’t it’s output proj : xy?<BR>
<BR>
In the PROJ_UNITS field, sometimes there are American meters and other times British metres in the values. In the keys, there is meter and meters for the same key name.<BR>
<BR>
These are all trivial when you are just looking at the output on the screen, but a pain when you want to script this and check for values. It would help a lot if we could standardize these things.<BR>
<BR>
1) a LatLon location<BR>
<BR>
-PROJ_INFO-------------------------------------------------<BR>
proj : ll<BR>
ellps : wgs84<BR>
name : Lat/Lon<BR>
a : 6378137<BR>
es : 0.0066943800<BR>
-PROJ_UNITS------------------------------------------------<BR>
unit : degree<BR>
units : degrees<BR>
meter : 1.0<BR>
<BR>
<BR>
2) a UTM location <BR>
<BR>
-PROJ_INFO-------------------------------------------------<BR>
name : UTM<BR>
datum : nad27<BR>
nadgrids : conus<BR>
proj : utm<BR>
ellps : clark66<BR>
a : 6378206.4000000004<BR>
es : 0.0067686580<BR>
f : 294.9786982000<BR>
zone : 13<BR>
-PROJ_UNITS------------------------------------------------<BR>
unit : meter<BR>
units : meters<BR>
meters : 1.0<BR>
<BR>
3) an XY location<BR>
<BR>
XY location (unprojected)<BR>
<BR>
<BR>
4) a Lambert location<BR>
<BR>
-PROJ_INFO-------------------------------------------------<BR>
name : Lambert Conformal Conic<BR>
proj : lcc<BR>
ellps : clark66<BR>
lat_1 : 60<BR>
lat_2 : 46<BR>
lat_0 : 44<BR>
lon_0 : -68.5<BR>
x_0 : 0<BR>
y_0 : 0<BR>
no_defs : defined<BR>
-PROJ_UNITS------------------------------------------------<BR>
unit : metre<BR>
units : metres<BR>
meters : 1<BR>
<BR>
Michael<BR>
__________________________________________<BR>
Michael Barton, Professor of Anthropology<BR>
School of Human Evolution & Social Change <BR>
Center for Social Dynamics & Complexity<BR>
Arizona State University<BR>
<BR>
phone: 480-965-6213<BR>
fax: 480-965-7671<BR>
www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a> <BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>