Hi All
i've old scripts that i'm using to parse the "g.proj" output
in it i have units == meters
but form recent svn 6.5 version i can see it use : metres
GRASS 6.5.svn (spearfish60):~/wxpython/data_catalog > g.proj -p
-PROJ_INFO-------------------------------------------------
name : Transverse Mercator
proj : tmerc
datum : rome40
ellps : international
lat_0 : 0
lon_0 : 15
k : 0.9996
x_0 : 2520000
y_0 : 0
no_defs : defined
towgs84 : -104.1,-49.1,-9.9,0.971,-2.917,0.714,-11.68
-PROJ_UNITS------------------------------------------------
unit : metre
units : metres
meters : 1
is it a typo, or need i to modify my scripts to use : metre / metres ?
Massimo Di Stefano wrote:
i've old scripts that i'm using to parse the "g.proj" output
in it i have units == meters
but form recent svn 6.5 version i can see it use : metres
GRASS 6.5.svn (spearfish60):~/wxpython/data_catalog > g.proj -p
-PROJ_UNITS------------------------------------------------
unit : metre
units : metres
meters : 1
is it a typo, or need i to modify my scripts to use : metre / metres ?
g.proj outputs whatever is in the PROJ_UNITS file. The textual
description of the unit can be whatever the user chooses it to be, or
in the case of "g.proj -c", whatever is obtained from the source
specified by georef=. GRASS itself only the unit/units fields for
display to the user; calculations use the numeric value in the meters
field.
What do your scripts use the "unit" or "units" field for?
--
Glynn Clements <glynn@gclements.plus.com>