mapbox/carto

Possibly suboptimal translation to XML

Aberta

#20 aberto em 7 de mar. de 2011

 (18 comentários) (0 reação) (0 responsável)JavaScript (132 forks)auto 404
help wantedperformancewishlist

Métricas do repositório

Stars
 (658 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador