[GRASS-dev] [GRASS GIS] #2660: r.external / r.external.out: support paths relative to the mapset, and variables

#2660: r.external / r.external.out: support paths relative to the mapset, and
variables
--------------------------+---------------------------------
  Reporter: sbl | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.3
Component: Raster | Version: svn-releasebranch70
Resolution: | Keywords: r.external.out
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------

Comment (by sbl):

This issue applies equally to r.external, where links are allways
converted to absolute paths
(https://trac.osgeo.org/grass/browser/grass/trunk/raster/r.external/main.c
lines: 162-170).

Both r.external and r.external.out are therefore practically unusable in
mixed environments where data can / should be accessed from both Windows
and Linux. Maps linked with r.external / r.external.out will not be
readable across platforms, because absolute paths differ (of course
directory delimiters differ as well).

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2660#comment:4&gt;
GRASS GIS <https://grass.osgeo.org>