Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
C++
Branch: master
Pull request Compare This branch is 12 commits ahead of rundel:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
include
src
tests
tools
Makefile
README.md
SConstruct

README.md

carto-parser

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.

Requirements

  • Recent revision of Mapnik2 from SVN
  • Boost 1.4.7 or newer

Building

To build the example application:

make

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.

Running

The example application can be run as follows:

./example tests/test.mml
./example tests/test.mss
Something went wrong with that request. Please try again.