Custom Model with OSM Way Id

I am trying to find a solution to disable an edge by osm id. I have checked a lot of topics that could help to build the osm way id relation to edge.

Is there any way to create the custom model to change the priority of an edge by an osm way id.

Apperciate your help.

BR
Kevin

You can just add the osm_way_id encoded value and use it in a custom model.

Thanks for the reply.

Finally achieved that by creating the custom model as below:
{
“priority”: [
{
“if”: “osm_way_id == xxxxx”,
“multiply_by”: “0.0”
}
]
}

By the way, is there any possibility to create the custom model with osm way name ?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.