[GRASS-user] Unable to select EPSG code for location

Markus Neteler neteler at osgeo.org
Mon Apr 9 08:56:20 EDT 2012


On Mon, Apr 9, 2012 at 2:45 PM, Micha Silver <micha at arava.co.il> wrote:
> On 04/09/2012 11:00 AM, RichardC wrote:
>
> Hi,
>
> After installing 6.4.2 from source, attempting to insert a spatial reference
> system for a new location (/Select EPSG code for spatial reference system/)
> was giving an error that it was unable to find EPSG codes at
> /usr/local/share/proj/epsg

The path is handled via GRASS_PROJSHARE:

[neteler at north wxpython]$ grep GRASS_PROJSHARE */*
./gui/wxpython/location_wizard/wizard.py:        epsgdir =
utils.PathJoin(os.environ["GRASS_PROJSHARE"], 'epsg')
./gui/wxpython/core/settings.py:            projFile =
PathJoin(os.environ["GRASS_PROJSHARE"], 'epsg')

which comes from

./lib/init/init.sh:if [ ! "$GRASS_PROJSHARE" ] ; then
./lib/init/init.sh:    GRASS_PROJSHARE=CONFIG_PROJSHARE

which comes from

./lib/init/Makefile:    -e \"s#CONFIG_PROJSHARE#$(PROJSHARE)#\" \
./lib/init/Makefile:    -e \"s#CONFIG_PROJSHARE#$(PROJSHARE)#\" \

which comes from


configure:PROJSHARE=
configure:        PROJSHARE="$with_proj_share"
configure:if test -z "$PROJSHARE" ; then
configure:    PROJSHARE=/usr/local/share/proj

This is the --with-proj-share switch.

Hypothesis: No "make distclean" was done after PROJ4 installation?

Markus


More information about the grass-user mailing list