Skip to content

Dedicated bus lanes not getting a referenceId in POST /match/geoms API #3

Description

@alephcero

Like the issue with the Python API, when I try to match a line within a dedicated bus lane, the API doesn't return a referenceId.

I assumed this is realted to the level 6 of sharedstreet which doen't take into account service roads (type 7 does).

In OSM, dedicated bus lanes are tagged as service roads, according to OSM standars:

For dedicated, separate bus tracks, use highway=service, access=no, psv=designated (or psv=yes)

This was the LineString I used to test it (bearingTolerance=50&searchRadius=10) :

{'type': 'FeatureCollection',
 'features': [{'id': '0',
   'type': 'Feature',
   'properties': {},
   'geometry': {'type': 'LineString',
    'coordinates': ((-58.3813759227416, -34.606569952195585),
     (-58.38135557659362, -34.60693988197623))},
   'bbox': (-58.3813759227416,
    -34.60693988197623,
    -58.38135557659362,
    -34.606569952195585)}],
 'bbox': (-58.3813759227416,
  -34.60693988197623,
  -58.38135557659362,
  -34.606569952195585)} 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions