1

I set up my own tile server starting with the switch2osm tutorial to which I added contour lines and hillshading. It is based on openstreetmap-carto which is obviously CartoCSS, but when I tried to find a way to edit the styling faster and easier I noticed that TileMill is pretty much abandoned and that most modern tools output JSON.

Is it worth sticking to CartoCSS, (if yes, please recommend a working editor), or shall I switch to the newer JSON based styling?

1

You can simply edit the style files in any text editor. You can use Kosmtik to quickly see your changes.

  • Thanks. I stumbled upon Kosmtik before but didn't really understand what it does so I ignored it. I tried it out now, generating mapnik.xml from project.mml still takes a lot of time, but it is indeed more user friendly to click around than issue commands. I haven't had an indepth look at the inspector yet. – janosrusiczki Oct 2 '18 at 11:44
  • Kosmtik can also directly read the .mml. It still will take some time to parse (perhaps about half a minute, depending on your machine), on every change. This would be the same in TileMill. – Matthijs Melissen Oct 3 '18 at 12:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.