This service manage street edge notes. An edge note is an free-format alert (text) attached to an edge, which is returned in the itinerary when this edge is used, and which *does not have any impact on routing*. The last restriction is necessary as the edge do not know which notes it is attached to (this to prevent having to store note lists in the edge, which is memory consuming as only few edges will have notes). The service owns a list of StreetNotesSource, with a single static one used for graph building. "Dynamic" notes can be returned by classes implementing StreetNoteSource, added to this service during startup. Typical notes are: Toll (driving), unpaved surface (walk,bike), wheelchair notes... Each note is attached to a matcher, whose responsibility is to determine if the note is relevant for an edge, based on the itinerary state at this edge (the state after the edge has been traversed, ie "state back edge"). Usually matcher will match note based on the mode (cycling, driving) or if a wheelchair access is requested.
name | data type | description |
---|
Example
{ }