This is a testbed for the implementation of a native C++ parser for the carto stylesheet language. Current example implementation handles parsing of both mml and mss files with translated output into xml.
- Recent revision of Mapnik2 from SVN
- Boost 1.4.7 or newer
To build the example application:
The included makefile has been tested on OSX 10.6 and 10.7 with Mapnik2 and Boost installed via the Homebrew package management system. It has not been tested on Linux or Windows, please report any issues you encounter on these or other systems. Note that the makefile currently uses clang++ as the default compiler, this can be changed to g++ by commenting and uncommenting the relevant lines.
The example application can be run as follows:
./example tests/test.mml ./example tests/test.mss