[GRASS-SVN] r68161 - grass-addons/grass7/vector/v.in.natura2000
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Mar 26 13:40:38 PDT 2016
Author: hellik
Date: 2016-03-26 13:40:38 -0700 (Sat, 26 Mar 2016)
New Revision: 68161
Modified:
grass-addons/grass7/vector/v.in.natura2000/v.in.natura2000.py
Log:
v.in.natura2000: fix column name change - db end 2014 -> db end 2015 (PERCENTAGE_COVER -> PERCENTAGECOVER)
Modified: grass-addons/grass7/vector/v.in.natura2000/v.in.natura2000.py
===================================================================
--- grass-addons/grass7/vector/v.in.natura2000/v.in.natura2000.py 2016-03-26 19:10:30 UTC (rev 68160)
+++ grass-addons/grass7/vector/v.in.natura2000/v.in.natura2000.py 2016-03-26 20:40:38 UTC (rev 68161)
@@ -254,7 +254,7 @@
sqlhabitatspatial1 += '"b"."COVER_HA" AS "COVER_HA", "b"."CAVES" AS "CAVES", "b"."REPRESENTATIVITY" AS "REPRESENTATIVITY", '
sqlhabitatspatial1 += '"b"."RELSURFACE" AS "RELSURFACE", "b"."CONSERVATION" AS "CONSERVATION", '
sqlhabitatspatial1 += '"b"."GLOBAL_ASSESMENT" AS "GLOBAL_ASSESMENT", "b"."DATAQUALITY" AS "DATAQUALITY", '
- sqlhabitatspatial1 += '"b"."PERCENTAGE_COVER" AS "PERCENTAGE_COVER" '
+ sqlhabitatspatial1 += '"b"."PERCENTAGECOVER" AS "PERCENTAGECOVER" '
sqlhabitatspatial1 += 'FROM "Natura2000polygon" AS "a" '
sqlhabitatspatial1 += 'JOIN %s AS "b" USING ("SITECODE") ' % (habitat_view)
sqlhabitatspatial1 += 'ORDER BY "a"."SITECODE";'
More information about the grass-commit
mailing list