changeset 118:2795bb8fbcbc

polygon-Layers
author fknauft
date Wed, 02 Feb 2011 13:46:53 +0100
parents 3369c21b66e0
children 584621b392da
files RestDbGisApi.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/RestDbGisApi.py	Wed Feb 02 13:42:45 2011 +0100
+++ b/RestDbGisApi.py	Wed Feb 02 13:46:53 2011 +0100
@@ -291,7 +291,7 @@
                kmlPlace['coord_x'] = str(xCoord)
                kmlPlace['coord_y'] = str(yCoord)
                kmlPlace['coord_z'] = '0'
-            if geomtry=='poly':
+            if geometry=='poly':
                 kmlPlace['LinearRing']=geomdata.split('(')[4]
             kmlData.append(kmlPlace)