i'm using overpass api , understand difference between node
, way
. below xml snippet each. appreciate if knew number values mean , how relate real world. difference between node tags , 1 without.
<way id="4600886"> <nd ref="27605443"/> <nd ref="30346321"/> <nd ref="1705297211"/> <nd ref="391210257"/> <nd ref="390384217"/> <nd ref="391210271"/> <nd ref="32343771"/> <nd ref="391210305"/> <nd ref="391210664"/> <nd ref="97175448"/> <tag k="highway" v="secondary"/> <tag k="lanes" v="2"/> <tag k="name" v="days road"/> <tag k="surface" v="asphalt"/> </way> <node id="18615430" lat="44.2384337" lon="-76.5411605"> <tag k="created_by" v="r_coastlines"/> <tag k="source" v="pgs"/> </node>
first of all, question not @ overpass api - that's normal openstreetmap object model nodes, ways , relations.
the ref
values such don't have meaning, they're database internal object ids. however, way may reference node via id example. geographic lat/lon information stored in nodes. , of course, nodes may have tags, if represent node-like object in real life (could amenity or maybe stop-sign). highway (=way uses number of nodes), individual nodes don't need have tag @ all.
some recommended reading:
Comments
Post a Comment