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?
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 Edge
s on a two-way road or 2 Edge
s on a one way road would be a candidate if I understand your question correctly.