Viewer is a GUI tool for using Mapnik. It's available under demo/viewer and needs to be compiled.
Benefits
- View tile images on-the-fly
- Debug information on bad config files, points to the erroneous line
- Shows scale and envelope for current view
- Fast!
Requirements
- Qt4 including dev files
- Qmake
Compiling
- Modify viewer.pro to match your system (include, lib directories) (FIXME?)
- Modify main.cpp to have correct paths to Mapnik's plug-ins and fonts directories (FIXME?)
- Qmake
- Make
Usage
You could try loading your XML files:
# ./viewer your.xml
or
# ./viewer your.xml -1,50,1,52
or
# ./viewer # (open your.xml from file menu)
Further Reading
Related mailing list discussions:
