[GRASS-dev] [grass-code I][381] r.colors rules: some scripts broken
grass-codei at wald.intevation.org
grass-codei at wald.intevation.org
Wed Apr 25 13:24:55 EDT 2007
code I item #381, was opened at 2007-04-25 19:24
Status: Open
Priority: 3
Submitted By: Maciej Sieczka (msieczka)
Assigned to: Nobody (None)
Summary: r.colors rules: some scripts broken
Issue type: module bug
Issue status: None
GRASS version: CVS HEAD
GRASS component: raster
Operating system: all
Operating system version:
GRASS CVS checkout date, if applies (YYMMDD): 070425
Initial Comment:
Eg. in GRASS 6.3 scripts dir:
i.in.spotvgt: 213: r.colors ${NAME} rules=ndvi 2>&1 >/dev/null
i.in.spotvgt: 275: r.colors ${NAME}_filt rules=ndvi 2>&1 >/dev/null
r.in.srtm: 237: r.colors rul=srtm map=$TILEOUT
Such syntax leads now to "ERROR: Unable to load rules file srtm".
How do we fix it? Add the $GISBASE/etc/colors/ before the rule name? Looks like a broken backwards compatibility...
Could C modules be affected?
Maciek
----------------------------------------------------------------------
You can respond by visiting:
http://wald.intevation.org/tracker/?func=detail&atid=204&aid=381&group_id=21
More information about the grass-dev
mailing list