This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Query regarding OSM file structure

0

Hi, Had a query regarding the OSM file's tags and values. I came across files where there are inconsistencies in tag names and certain node ids/uids do not have tag names and thereby don't allow us to identify what feature it is without opening them in any GIS software. For example, some node ids and uids have tag names as "source bing". Is there a way to identify what they represent without opening them in GIS software? Also, How does OSM recognize these features without proper tag names and values?

Thank you!

asked 04 Feb '22, 14:53

Wind-pioneer's gravatar image

Wind-pioneer
11112
accept rate: 0%


2 Answers:

2

Many nodes are just there to build a way object from them. This means while a node might represent a wind turbine, a node might also just represent one of 20 points that make up the building footprint of a wind turbine. In these cases, the node will be a member of a way object and that way object will have the tags you are interested in.

answered 04 Feb '22, 15:00

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

1

This wiki article gives a lot of details about the OSM data structure : https://wiki.openstreetmap.org/wiki/Elements

Regards

answered 04 Feb '22, 15:17

H_mlet's gravatar image

H_mlet
5.4k1781
accept rate: 13%

Source code available on GitHub .