openstreetmaposm.pbf

Identify crossroad nodes in openstreetmap data (.pbf)


does anybody know if there is a way I can seperate only the crossroad nodes which are included in a .pbf file? Is this clue (if a node is crossroad or not) included in this file's format?


Solution

  • Another option to solve your issue would be to use the new Atlas project.

    As part of loading .osm.pbf files into in-memory Atlas files, it takes care of doing way sectioning on roads:

    In the end, each Atlas Node which is connected to more than 4 Edges on a two-way road or 2 Edges on a one way road would be a candidate if I understand your question correctly.