File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -433,20 +433,6 @@ class AreaManager
433
433
Call this functions inside @ref process_way. If this way is a member of a
434
434
relation that was registered for meshing, those relations will be returned.
435
435
436
- Since the member ways of a multipolygon relation are as a rule untagged, and
437
- since OSRM discards untagged ways, you have to copy at least the defining tag
438
- (and maybe the name tags) from the relation to the way.
439
-
440
- Example:
441
-
442
- ```lua
443
- for _, rel_id in pairs(area_manager:get_relations(way)) do
444
- local rel = relations:relation(rel_id)
445
- data.highway = rel:get_value_by_key('highway')
446
- WayHandlers.names(profile, rel, result, data)
447
- end
448
- ```
449
-
450
436
@return A Table of Relation objects.
451
437
*/
452
438
Table get_relations(Way);
You can’t perform that action at this time.
0 commit comments