changeset 153:cca88caad152

polygon-Layers
author fknauft
date Mon, 07 Feb 2011 11:25:13 +0100
parents 7fddf8a60481
children 58524989283b
files RestDbGisApi.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/RestDbGisApi.py	Mon Feb 07 11:17:45 2011 +0100
+++ b/RestDbGisApi.py	Mon Feb 07 11:25:13 2011 +0100
@@ -194,7 +194,7 @@
         
         fieldMap = self.getFieldNameMap(data['fields'])
         try:
-            geomstr='select astext(st_simplify(transform(the_geom,4326),0.02)) from "%s"."%s"'%(schema,table)
+            geomstr='select astext(st_simplify(transform(the_geom,4326),0.01)) from "%s"."%s"'%(schema,table)
             geomdata=self.executeSQL(geomstr)
         except:
             geomdata=None