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's gravatar image

anuranpal
2191215
accept rate: 0%


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?

permanent link

answered 10 Aug '18, 19:44

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
68.3k806231067
accept rate: 24%

@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.

(11 Aug '18, 03:33) anuranpal
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×255
×15
×12

question asked: 10 Aug '18, 18:18

question was seen: 320 times

last updated: 11 Aug '18, 03:34

powered by OSQA