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's gravatar image

zlzhao1104
61335
accept rate: 100%


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.

permanent link

answered 05 Mar '17, 19:18

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
69.4k806291086
accept rate: 24%

Thank you! That makes sense!

(06 Mar '17, 05:01) zlzhao1104
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×157
×23

question asked: 05 Mar '17, 19:06

question was seen: 1,230 times

last updated: 06 Mar '17, 05:01

powered by OSQA