mapbox / carto

fast CSS-like map stylesheets
https://cartocss.readthedocs.io/
Apache License 2.0
652 stars 129 forks source link

add support for YAML MML files #419

Closed nebulon42 closed 8 years ago

nebulon42 commented 8 years ago

Fixes #401.

I'm not sure if this is a too naive approach, but I tested with openstreetmap-carto project files and both json mml and yaml mml worked. The produced xml was identical except for the sequence of some parameters.

pnorman commented 8 years ago

ping.

JSON is a subset of YAML 1.2, so this is a much better approach than what I had thought of with detecting based on extension.

tmcw commented 8 years ago

:+1: