- • Loop over all nodes, and:
- • Store the node in a different cache database
- • If a node has tags, store in the collection.
- • Loop over all the ways, and:
- • Look up locations for each node in the cache database
- • Store the way into the collection
- • Loop over all the relations, and:
- • See whether we have multi-polygon relations and do something clever with them
- • Remove ways that were converted into a multi-polygon