diff RestDbGisApi.py @ 252:efd2469d1722

geometry-column of tables will be displayed as string
author fknauft
date Tue, 20 Sep 2011 11:19:35 +0200
parents d7ceeb8ccbd7
children 901c1f745d13
line wrap: on
line diff
--- a/RestDbGisApi.py	Mon Sep 19 16:33:02 2011 +0200
+++ b/RestDbGisApi.py	Tue Sep 20 11:19:35 2011 +0200
@@ -59,7 +59,8 @@
                     "id": "text",
                     "gis_id": "text",
                     "coord_lat": "numeric",
-                    "coord_lon": "numeric"
+                    "coord_lon": "numeric",
+                    "the_geom": "the_geom"
                    }
     
     def getTableOwner(self,schema,table):