artemp/trac2github — Issue #45: add support for 3D/4D postgis geometries
Author: artemp
Created: 2011-10-09 20:09:59+00:00
State: open
Labels: PostGIS_Input_Driver

See [https://lists.berlios.de/pipermail/mapnik-users/2007-October/000439.html thread on Mapnik users mailing list].

The PostGIS plugin/WKB reader assumes that geometries are in 2D. Though not standard OGC, PostGIS supports 3D/4D. There are two ways to fix this in Mapnik :

1. Add support for 3D/4D Geometries in wkb reader

2. Use force_2D inside postgis plug-in