Heads up: In Mapnik trunk I've committed a change that enables the  
reporting of errors and subsequent throw of a  
mapnik::datasource_exception from libpq if queries fail.

The goal is to avoid the headaches and guesswork currently required  
for debugging PostGIS datasources that returning no features or blank  
maps because one of any of the multiple queries to either fetch  
metadata from the geometry_columns or the actual features have failed  
silently.

In short if you write broken SQL or have other invalid PostGIS  
parameters your stylesheet parsing will now die violently with an  
explicit error instead of ignoring you like before.

Feel free to comment or re-open http://trac.mapnik.org/ticket/363 if  
you see ways to improve this.

Dane

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to