# HG changeset patch # User fknauft # Date 1297073865 -3600 # Node ID 7fddf8a6048160e8bd10cb4e1ff84434e273e25e # Parent 348a11a5e49c51ba173878aba79479b83b6e78c0 polygon-Layers diff -r 348a11a5e49c -r 7fddf8a60481 RestDbGisApi.py --- 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: