mapbox/carto

Possibly suboptimal translation to XML

Open

#20 opened on Mar 7, 2011

View on GitHub
 (18 comments) (0 reactions) (0 assignees)JavaScript (132 forks)auto 404
help wantedperformancewishlist

Repository metrics

Stars
 (658 stars)
PR merge metrics
 (PR metrics pending)

Description

I'm not sure whether this is a bug, but I managed to create ~50 lines of Carto that get translated into something like 12,000 lines of XML. I probably should just be breaking things up differently, but perhaps there's room for optimization on Carto's side as well.

The offending style is at https://gist.github.com/859095 and the data to go with it is http://dl.dropbox.com/u/2398828/country-labels.geojson

Not the main issue, but I noticed many identical fontsets are created as well.

Contributor guide