translateProperties

translateProperties takes the properties stored in the MVT and translates them into a set of foreign properties that nearer matches those returned by the soundscape-backend.

Return

a map of properties that can be used in the same way as those from soundscape-backend

Parameters

properties

is a map of the tags from the MVT feature

id

is the feature id which is ((OSM_ID * 10) + offset) where offset is 1 for an OSM node 2 for an OSM way 3 for an OSM relation