cyclosm / cyclosm-cartocss-style

Cycle oriented CartoCSS style.

Home Page:https://www.cyclosm.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[question/feature request] Can cycleosm vector tiles be created?

jakecoppinger opened this issue · comments

Hello, I'm working on https://safecyclingmap.com/ and would love to use vector tiles rather than raster tiles for cycleosm.

Is this possible with cartocss, or is there more work that would need to be done? I'm using Maplibre GL JS (though have used Mapbox GL JS in the past).

Very happy to write a PR to add docs if I figure out how to do this!

Hi,

I'm not very familiar with the vector tiles stack, but as far as I know, there is simply no easy way to produce vector tiles from a cartocss stylesheet. If you are working with precomputed tiles (such as OpenMapTiles etc.), they will probably miss a lack of features we are exploiting from the render. It might be possible to generate custom vector tiles from the SQL queries but styling is done in CartoCSS and I don't think it can be translated into MapboxGL.

We had https://github.com/cyclosm/cyclosm-basic-gl-style in the beginning of the project, but this is very different compared to CyclOSM and super basic.