Mapnik Users,
I've run into a repeatable failure (on both mac 10.5 and Ubuntu 8.04)
of the mapnik Filter expression and have a test case.
You can download the test case as a zip archive from here:
http://mapnik-utils.googlecode.com/svn/trunk/sandbox/mapnik_filter_failure_test_case.zip
Inside the zip archive are two shapefiles, two XML mapfiles, and a
test script.
The run_test.sh script utilizes nik2img to generate a simple graphic
using each mapfile.
The only difference between the mapfiles is that one points to a
'states.shp' shapefile which mapnik renders fully green highlighting
the failure of the <Filter> expression, while the other points to
'states_working.shp' which for me renders with states in shades of
green, blue or red, highlighting a working Filter on the [PEOPLE]
attribute.
The 'states_working.shp' is simply a copy of the 'states.shp' created
with the command:
$ ogr2ogr states_working.shp states.shp
So, something is strange with the original shapefile, and I'm hoping
that one of you can figure out what the difference is. It's obviously
useful that a simple ogr2ogr cleaned up the problem for mapnik, but
I'm not going to rest until I can figure out why mapnik fails on the
original file, because both MapServer, GeoServer, Qgis, and uDig
handle it without trouble.
The context here is that I would like to get mapnik working with this
exact/original shapefile because it is used in the benchmarking tests
detailed here:
http://blog.cleverelephant.ca/2008/10/picking-up-gauntlet.html
Thanks!
Dane
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users