Closed mbforbes closed 6 years ago
This is actually basically done---I've figured out basically all of the high level structure of nodes / ways / nds / tags, and a good chunk of the features (and what's missing).
Creating a more mature object format will come when it needs to to support whatever data structure I need for (machine) learning and/or when I nail down the (map) feature representation.
Read in data from an OSM map file, filter to relevant items I care about (e.g. just labeled shapes), and parse into high-level objects I can iterate over