My code is kind of a mess, but it's at https://github.com/ericfischer/osm-snap/tree/buildings. It takes an OSM extract (or whole planet if you want to spend hours churning through it) in XML format and extracts building polygons and address nodes out of it. Then a second stage tries to find out if any of the nodes are inside any of the polygons.
Eric On Thu, Oct 24, 2013 at 7:16 PM, Clifford Snow <cliff...@snowandsnow.us>wrote: > > On Thu, Oct 24, 2013 at 5:57 PM, Alex Barth <a...@mapbox.com> wrote: > >> Eric Fischer and I got curious, he just ran numbers on the entire planet, >> I posted a summary here: >> http://www.openstreetmap.org/user/lxbarth/diary/20261 >> >> The short is that for better or worse, tagging addresses on buildings >> where possible is most common in OSM. Whether that's good or bad is a >> different discussion, for OSM NYC we'll stick to this convention. >> Especially as the location of the address point is not always meaningful in >> this dataset. >> > > Can you post a howto on how you pulled the data? I'm struggling trying to > get address info out. > > Thanks, > -- > Clifford > > OpenStreetMap: Maps with a human touch > > _______________________________________________ > Imports mailing list > Imports@openstreetmap.org > https://lists.openstreetmap.org/listinfo/imports > >
_______________________________________________ Imports mailing list Imports@openstreetmap.org https://lists.openstreetmap.org/listinfo/imports