3

I created my own tile server according to this instruction and my own layout/style with Mapbox Studio. Following the mentioned instruction I currently use OSM Bright as layout/style.

Question: How can I use my style on my own tile server (with mapnik)?

1

I've been investigating this exact problem lately.

One thing I've found is this NPM package made by Mapbox which should be able to convert geoJSON style to mapnik's XML. But it doesn't seem to work.

Another package stating the same capabalities is this one. It generates some sort of XML. But when I try to use it on our tile server mapnik is unable to render tiles. It fails either on missing font-face properties, missing marker files or invalid filter expressions.

This probably won't help a lot but might point you somewhere at least.

Also, this question is quite old. It would be awesome if you could share how did you solve it. (If you did.)

  • Any progress with this? I'm looking for a more visual designer for mapnik.xml. – janosrusiczki Sep 28 '18 at 15:07
  • 1
    @janosrusiczki Not really. We have moved from Mapnik to Tileserver GL by Klokantech. And it works like a charm. – Jen Oct 3 '18 at 8:37

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.