mapbox/carto

Possibly suboptimal translation to XML

Aperta

#20 aperta il 7 mar 2011

 (18 commenti) (0 reazioni) (0 assegnatari)JavaScript (132 fork)auto 404
help wantedperformancewishlist

Metriche repository

Star
 (658 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor