[GRASS-dev] SEARCH_PATH: current mapset name laundering

Markus Neteler neteler at osgeo.org
Sat Apr 30 08:27:40 EDT 2011


Hi,

I sometimes need to rename mapsets and regularly run into the trap that
also the first row in the SEARCH_PATH files needs to be updated accordingly.
Since I tend to forget about this, maps in the current mapset are no longer
found and obscure errors pop up.

Questions:
- why does the current mapset needs to be specified at all in SEARCH_PATH?
- wouldn't it be better to auto-add the current mapset name internally?
- otherwise, could a test be added upon startup of GRASS to auto-add
   the current mapset name is missing from SEARCH_PATH?

Markus


More information about the grass-dev mailing list