latest news

Similar to Herm I wanted to update the community on the status of my work this summer on the native carto parser. There has been a lot of progress since the midterm update and we are now very close to being completely compatible with the current javascript carto parser.

Recent work has focused on implementing the dynamic features of carto, namely variable and expression handling. A simple example demonstrating this processing is included in the gist below:

With these features implemented we are able to work with complex styles like the open_street_dc map from the tilemill project. While more debugging is necessary the parser is able to produce valid output which can be rendered:

carto C++:

carto javascript:

Hopefully we will be able to resolve the remaining issues in the near future with the goal of merge both the parser and generator into trunk to be part of Mapnik 2.1.