[GRASS-dev] Re: [GRASS5] Re: auto-locate EPSG

Paul Kelly paul-grass at stjohnspoint.co.uk
Fri May 12 07:03:17 EDT 2006


On Fri, 12 May 2006, Glynn Clements wrote:

> A program which wants to read the EPSG file could do so by linking
> against the PROJ library and using pj_open_lib() to open the file. But
> that seems like overkill if the program doesn't need the PROJ library
> for any other reason.

Yes just thought I'd mention/remind that the EPSG file isn't used for 
anything at all except displaying it to the user in the Tcl/Tk GUI 
startup. All the data used in the GPJ_ GRASS functions comes from data 
files contained within the GRASS source code. This is really a whole lot 
of fuss over something that isn't very important! Perhaps a copy of the 
file could just be kept in the GRASS source code? It needs a python script 
to generate it from the .csv files in lib/proj --it is one of the scripts 
in the pymod directory in the GDAL source treem, not sure which one.

Paul




More information about the grass-dev mailing list