I want to use this style in my tile server. I am using Carto for creating mapnik.xml. It says I need to supply .mml file for converting it to mapnik xml. [carto: please pass either a .mml file or .mss file] But this style contains only yml file. Is there any way so that I can convert an yml file to mml file or mapnik xml? asked 10 Aug '18, 18:18 anuranpal |
One Answer:
Carto supports yml files directly since v0.16 (more than 2 years ago). If your carto version is older, try updating. If you have a current carto version, what exactly is the command you are executing? answered 10 Aug '18, 19:44 Frederik Ramm ♦ |
@Frederik.Thank you so much. I have a current carto version. I am using- sudo sh -c "carto project.yml > hot.xml". This command seems to be not working for .yml files.
Same here: carto project.yml > myxml.xml
But error: carto: please pass either a .mml file or .mss file
carto -v 1.2.0
Try renaming project.yml to project.mml.