[GRASS-dev] Re: [bug #5454] (grass) projection units incorrectly
pluralized
Glynn Clements
glynn at gclements.plus.com
Wed Feb 7 02:57:04 EST 2007
Paul Kelly wrote:
> > This would print a GUI parsable list of options: (or error if bad epsg code)
> > g.proj epsg=#### datumtrans=0
> > or
> > g.proj epsg=#### datumtrans=list
>
> Yes it's starting to make more sense now when you put it like that.
> Although as Glynn said maybe the GUI should be reading the datumtransform
> tables itself, although again it has no way of telling from the EPSG code
> what the associated datum is. Even I am not sure how it does it. Some
> magic inside the OGR library I think.
My guess is from some combination of the CSV/WKT files in
/usr/[local/]share/gdal.
Some of the entries in the EPSG file have explicit +datum= options,
but most don't.
Ultimately, I don't think that replicating the OSR stuff within the
GUI is a viable option; we need a utility that gets this information
from GDAL.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list