[GRASS-SVN] r62601 - grass-addons/grass7/vector/v.isochrones
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Nov 4 16:21:37 PST 2014
Author: mlennert
Date: 2014-11-04 16:21:37 -0800 (Tue, 04 Nov 2014)
New Revision: 62601
Modified:
grass-addons/grass7/vector/v.isochrones/v.isochrones.py
Log:
give the resulting polygons a default color table
Modified: grass-addons/grass7/vector/v.isochrones/v.isochrones.py
===================================================================
--- grass-addons/grass7/vector/v.isochrones/v.isochrones.py 2014-11-04 20:03:05 UTC (rev 62600)
+++ grass-addons/grass7/vector/v.isochrones/v.isochrones.py 2014-11-05 00:21:37 UTC (rev 62601)
@@ -198,6 +198,13 @@
type='area',
column='time')
+ # give the polygons a default color table
+ grass.run_command('v.colors',
+ map=isochrones,
+ use='attr',
+ column='time',
+ color='grey')
+
if __name__ == "__main__":
options, flags = grass.parser()
atexit.register(cleanup)
More information about the grass-commit
mailing list