I'm new to OSM and I'm particularly interested in address point data. I found that many ways and relations contain address data, for example: <way id="4712941" version="6" timestamp="2015-03-16T03:16:49Z" uid="2601744" user="sctrojan79" changeset="29509013"> <nd ref="30004021"/> <nd ref="30004018"/> <nd ref="3401208140"/> <nd ref="2049285169"/> <nd ref="30004020"/> <nd ref="30004021"/> <tag k="name" v="Fire Station 30"/> <tag k="amenity" v="fire_station"/> <tag k="building" v="yes"/> <tag k="addr:city" v="Seattle"/> <tag k="addr:street" v="South Mount Baker Boulevard"/> <tag k="addr:postcode" v="98144"/> <tag k="addr:housenumber" v="2801"/> </way> <relation id="233742" version="4" timestamp="2015-02-27T20:27:27Z" uid="2601744" user="sctrojan79" changeset="29143782"> <member type="way" ref="40416110" role="outer"/> <member type="way" ref="40416111" role="inner"/> <member type="way" ref="40416112" role="inner"/> <tag k="name" v="Northwest Fisheries Science Center, NOAA"/> <tag k="type" v="multipolygon"/> <tag k="office" v="government"/> <tag k="source" v="yahoo_wms"/> <tag k="building" v="office"/> <tag k="addr:city" v="Seattle"/> <tag k="wheelchair" v="yes"/> <tag k="addr:street" v="Montlake Blvd E,"/> <tag k="addr:postcode" v="98112"/> <tag k="building:levels" v="3"/> <tag k="addr:housenumber" v="2725"/> </relation> Is there a way to find out where exactly on a linear segment (or polygon) an address point exists? Or should I interpret it as "this entire linear segment (or polygon) represents an address"? asked 05 Mar '17, 19:06 zlzhao1104 |
The latter. It should usually not be a linear segment but a polygon, and will usually represent a building or area that has the given address. answered 05 Mar '17, 19:18 Frederik Ramm ♦ Thank you! That makes sense!
(06 Mar '17, 05:01)
zlzhao1104
|