changeset 257:61525f0ca492

GIS-Links from MPDL-Documents now served by Mappit-Server
author fknauft
date Wed, 28 Sep 2011 19:00:01 +0200
parents cb953cc153a6
children ed99a2468264
files RestDbGisApi.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/RestDbGisApi.py	Wed Sep 28 18:46:00 2011 +0200
+++ b/RestDbGisApi.py	Wed Sep 28 19:00:01 2011 +0200
@@ -267,7 +267,7 @@
             yCoord = 0.0
             if gisIdIdx != None and geomField=='point' :
                 gisID = dataset[gisIdIdx]
-                if gisID != " ":
+                if gisID != " " and gisID != " 0":
                     coords=self.getPointForChGisId(gisID)
                     if coords!=None:
                         xCoord=coords[0]