[GRASS-dev] differences between entries in epsg file and <g.proj -j> output

Sebastian Holler shgeo at online.de
Wed Aug 20 11:19:41 EDT 2008


I'm currently work on a python script that detects the epsg code of a
arbitrary GRASS location.

It scans the projection information of a GRASS location <g.proj -j> and
compares the output with the entries in /usr/share/proj/epsg file.

But there are significant differences between both parameter lists of a
defined epsg code.
GRASS never prints the "+ellps" parameter. Even if there is a "+units"
parameter in epsg file, there is no such parameter with <g.proj -j>.

There are some further differences as the case arises.

It would be very helpful, if both outputs were congruent in either case.
Or is there another (better) way to detect the epsg code of a given
location?

Regards,
Sebastian H.


More information about the grass-dev mailing list