<HTML>
<HEAD>
<TITLE>another plea for consistency</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>I&#8217;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&#8217;t an xy location have units? Why isn&#8217;t it&#8217;s output proj &nbsp;: 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 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: ll<BR>
ellps &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: wgs84<BR>
name &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: Lat/Lon<BR>
a &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: 6378137<BR>
es &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: 0.0066943800<BR>
-PROJ_UNITS------------------------------------------------<BR>
unit &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: degree<BR>
units &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: degrees<BR>
meter &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: 1.0<BR>
<BR>
<BR>
2) a UTM location <BR>
<BR>
-PROJ_INFO-------------------------------------------------<BR>
name &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: UTM<BR>
datum &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: nad27<BR>
nadgrids &nbsp;&nbsp;: conus<BR>
proj &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: utm<BR>
ellps &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: clark66<BR>
a &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: 6378206.4000000004<BR>
es &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: 0.0067686580<BR>
f &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: 294.9786982000<BR>
zone &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: 13<BR>
-PROJ_UNITS------------------------------------------------<BR>
unit &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: meter<BR>
units &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: meters<BR>
meters &nbsp;&nbsp;&nbsp;&nbsp;: 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 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: Lambert Conformal Conic<BR>
proj &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: lcc<BR>
ellps &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: clark66<BR>
lat_1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: 60<BR>
lat_2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: 46<BR>
lat_0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: 44<BR>
lon_0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: -68.5<BR>
x_0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: 0<BR>
y_0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: 0<BR>
no_defs &nbsp;&nbsp;&nbsp;: defined<BR>
-PROJ_UNITS------------------------------------------------<BR>
unit &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: metre<BR>
units &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: metres<BR>
meters &nbsp;&nbsp;&nbsp;&nbsp;: 1<BR>
<BR>
Michael<BR>
__________________________________________<BR>
Michael Barton, Professor of Anthropology<BR>
School of Human Evolution &amp; Social Change &nbsp;&nbsp;&nbsp;<BR>
Center for Social Dynamics &amp; 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>