colouring-cities / colouring-core

The Core Platform for the Colouring Cities Research Programme (CCRP)
https://colouringcities.org
GNU General Public License v3.0
48 stars 43 forks source link

More expressive map style definition language #629

Open mz8i opened 4 years ago

mz8i commented 4 years ago

Suggest switching to CartoCSS (or similar pre-processor) for editing map styles.

Reasoning: editing the Mapnik XML file is usually not a recommended option, and while it has been suitable for the simple styles initially, a number of recent developments has made it more time-consuming to maintain the map styles using the Mapnik XML:

Maintaining those rules in raw Mapnik XML is time-consuming and requires a lot of repetition.

Proposal: define map styles using the CartoCSS format. Use the carto node module at tile server start-up to generate a Mapnik XML.

mz8i commented 4 years ago

@tomalrussell what do you think?