[GRASS-dev] r.distance: 'maps=map1,map2' vs 'maps=map1 maps=map2'

Maciej Sieczka msieczka at sieczka.org
Thu Nov 11 12:22:53 EST 2010


Hi,

I have discovered an undocumented feature (?) in r.distance.

The manual reads:

r.distance maps=map1,map2

When I specify it as:

r.distance maps=map1 maps=map2

it works as well.

The order can also be controlled this way. I.e.:

r.distance maps=map1,map2 is equivalent to r.distance maps=map1 maps=map2

and:

r.distance maps=map2,map1 is equivalent to r.distance maps=map2 maps=map1

Can I rely on this behavior or may it change in future? Currently it 
works for 6.4 svn and 7 svn.

Maciek

-- 
Maciej Sieczka
http://www.sieczka.org


More information about the grass-dev mailing list