tilemaker icon indicating copy to clipboard operation
tilemaker copied to clipboard

fix area test for platforms in OMT process

Open etienneJr opened this issue 4 months ago • 0 comments

A cartes.app user noticed that public_transport=platform were never considered as areas. I checked process_openmaptiles.lua and indeed noticed an inconsistency between: local is_highway_area = highway~="" and Find("area")=="yes" and is_closed, only for highway and if highway ~= "" or public_transport == "platform" then, also for public_transport

I modified the first in local is_area = (public_transport == "platform" or Find("area")=="yes") and is_closed since area=yes is not required on public_transport=platform

This modification has been validated in https://codeberg.org/cartes/serveur/pulls/86

etienneJr avatar Oct 19 '25 21:10 etienneJr