carto-generator
carto-generator copied to clipboard
C++ Parser for the Carto stylesheet language
carto-generator
This is a testbed for the implementation of a native C++ generator for the carto stylesheet language. Current example implementation handles parsing of mapnik XML style files. As this example uses mapnik's load_map functionality the XML file must correctly specify the location of any datasources or an error will result.
Requirements
- Recent release of Mapnik
- Boost 1.5.6 or newer
Building
To build the example application:
make
Running
The example application can be run as follows:
./example tests/test.xml
./example tests/map.xml