I have a table name erpAssets which has column name Region of type polygon. it contains entries of points also like (-79.4609576808001,43.9726680183837)). I have written query which convert these points to geometry which is used by mapnick to generate tiles. (
SELECT replace(concat(concat('POINT',concat(trim(TRAILING ')'FROM concat('(',trim(LEADING '(' FROM region::TEXT)::TEXT) ),')')),''),',',' ') as data
from "erpAssets" where parent=326815) as foo My osm.xml file is as follows:
Tiles are not generated and i am getting error on console as follows: Postgis Plugin: geometry name lookup failed for table '"erpassets"'. Please manually provide the 'geometry_field' parameter or add an entry in the geometry_columns for '"erpassets"'. I have converted region column into geometry by aliasing then why i am not getting points on map? asked 15 May '14, 07:18 Muneem |