mapnik-org/mapnik — Issue #447: PostGIS driver should check for existence of table by name
Author: artemp
Created: 2011-10-11 07:56:08+00:00
State: closed
Labels: PostGIS_Input_Driver

Currently in trunk if you happen to misspell the name of a table and it does not exist you get a misleading error about a missing geometry column. We should catch this earlier.

In this case I misspelled planet_osm as osm_planet:

{{{
UserWarning: PostGIS Driver Error: Geometry column not specified or found in geometry_columns table: 'osm_planet_polygon'. Try setting the 'geometry_field' parameter or adding a proper geometry_columns record (encountered during parsing of layer 'leisure')
}}}