nptscot / npt

Data processing code, also use this repo for issue tracking for the Network Planning Tool. See https://nptscot.github.io for development version
https://www.npt.scot/
GNU Affero General Public License v3.0
5 stars 0 forks source link

Order in which CbD layer is displayed #501

Open Robinlovelace opened 3 months ago

Robinlovelace commented 3 months ago

Currently the less importat Mixed traffic links are show over the top of more important links, e.g.:

image

Source: https://nptscot.github.io/#/clos/#15.59/55.972368/-3.220731

Would be good to set the order, as we do with the network layer.#500

I think this is a quick fix. Not sure if should be fixed in the pmtiles code or by arranging the output, thoughts @wangzhao0217 ?

Robinlovelace commented 3 months ago

Cannot see a way of ordering without it being based on a value in the data, rather than a pre-defined order as we have here: https://github.com/felt/tippecanoe?tab=readme-ov-file#reordering-features-within-each-tile