[GRASS-dev] adding units and vertical datum metadata to
michael.barton at asu.edu
Mon May 21 17:14:39 CEST 2007
Any chance that vertical units will show up in g.proj? That's where your
current code grabs the horizontal units for display in measurement and
profiles (very nice in fact, so I'm redoing it in wxgrass too).
On 5/21/07 3:53 AM, "Hamish" <hamish_nospam at yahoo.com> wrote:
>>>> TODO: create a fn in r.info to take care of G_asprint() work,
>>>> right now the "fancy output" section of the module is an ugly
>> I've added G_vasprintf().
> r.info cleaned. Thanks.
> I have now added in support for raster map units and vertical datum
> metadatas in 6.3 cvs. Settable with r.support, viewable with r.info.
> All other modules currently ignore these, it is expected that in future
> modules like r.shaded.relief and NVIZ may use the units values for
> conversion hinting in lat/lon locations, and modules like r.patch might
> produce a warning if the units or vertical datums don't match. Both are
> freeform in nature, so it is not recommended to code against them for
> anything critical. (ie don't expect them to be set to anything already)
> For now r.info will be quiet about units and vertical datum unless they
> have been set.
> I also added in r.support a couple new options to set other r.info
> fields, and renamed the new organization= option to source1= (as now
> there is a source2= too, and "data source" may well be a satellite
> name or published dataset).
> All non-interactive r.support options can now be used in one call to the
> program as well.
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
More information about the grass-dev