Crate osmptparser

Source

Structsยง

Area
Area simple model
ParseStatus
Public transport simple model
Parser
Main class that parses a pbf file and maintains a cache of relations/ways/nodes then provides methods to access the public transports (PTv2) inside that (cached) file
ParserRelationIterator
Sequential iterator that returns a Relation on each turn
PublicTransport
Public transport simple model
Relation
OSM relation representation with all the relevant osm data (tags and ids of relation and all ways and nodes)