[GRASS-SVN] r64271 - grass-addons/grass7/vector/v.isochrones
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 21 01:13:15 PST 2015
Author: mlennert
Date: 2015-01-21 01:13:15 -0800 (Wed, 21 Jan 2015)
New Revision: 64271
Modified:
grass-addons/grass7/vector/v.isochrones/v.isochrones.py
Log:
Apparently MSWin PIDs can go above 100,000, so shortening even more
Modified: grass-addons/grass7/vector/v.isochrones/v.isochrones.py
===================================================================
--- grass-addons/grass7/vector/v.isochrones/v.isochrones.py 2015-01-21 03:31:26 UTC (rev 64270)
+++ grass-addons/grass7/vector/v.isochrones/v.isochrones.py 2015-01-21 09:13:15 UTC (rev 64271)
@@ -130,7 +130,7 @@
resolution = math.sqrt(float(region['nsres']) * float(region['ewres']))
# add cost column to road vector
- cost_column = 'temp%d' % os.getpid()
+ cost_column = 'tmp%d' % os.getpid()
def_cost_column = cost_column + ' DOUBLE PRECISION'
grass.run_command('v.db.addcolumn',
map=roads,
More information about the grass-commit
mailing list