changeset 152:7fddf8a60481

polygon-Layers
author fknauft
date Mon, 07 Feb 2011 11:17:45 +0100
parents 348a11a5e49c
children cca88caad152
files RestDbGisApi.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/RestDbGisApi.py	Fri Feb 04 16:50:38 2011 +0100
+++ b/RestDbGisApi.py	Mon Feb 07 11:17:45 2011 +0100
@@ -318,7 +318,7 @@
                 for poly in polys:
                     kmlPlace = {}
                     kmlPlace['description'] = desc
-                    coords=poly.replace(')','').split(',')
+                    coords=poly.replace(')','').replace("'","").split(',')
                     coord_string=''
                     if len(coords)>1:
                         for coord in coords: