mapnik/mapnik — Issue #1062: PointSymbolizer renders far too many points
Author: bcavagnolo
Created: 2012-02-03 07:04:36+00:00
State: open

I followed the python Hello World example and was able to render the world map as expected. Next I added a postGIS layer that used a single table containing a single point. In the png output, the point marker was rendered several times around the world, even though I was only expecting a single point. I tried dumping the table from the postgis table to a shape file, and got similar results. FWIW, qgis renders both the postgis and dumped shape file as expected. I've attached a tarball containing all of the files that I used. Note that I am running mapnik 2.0.0 built from source on Ubuntu 11.10. Here's the config dump:

$ mapnik-config --json
{ "prefix": "/usr/local", "mapnik_libname": "mapnik2", "mapnik_include": "/usr/local/include", "mapnik_lib": "/usr/local/lib", "version": "2.0.0", "ldflags": " -L/usr/local/lib -L/usr/lib -L/usr/lib/x86_64-linux-gnu", "dep_libs": " -lfreetype -lltdl -lpng -ltiff -lz -ljpeg -lproj -licuuc -lboost_filesystem -lboost_regex -lxml2 -lboost_thread -lboost_system -lcairomm-1.0 -lcairo -lsigc-2.0", "other_includes": " -I/usr/local/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gdal -I/usr/include/postgresql -DHAVE_JPEG -DBOOST_REGEX_HAS_ICU -ansi -Wall -pthread -ftemplate-depth-300 -DLINUX -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O3 -finline-functions -Wno-inline -DNDEBUG -DHAVE_CAIRO -DLIBTOOL_SUPPORTS_ADVISE -DHAVE_LIBXML2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include", "fonts": "/usr/local/lib/mapnik2/fonts", "input_plugins": "/usr/local/lib/mapnik2/input", "svn_revision": None }