NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi

If I look at e.g. node 514362704, which is the Hanoi railway station in Vietnam (see https://www.openstreetmap.org/way/514362704#map=16/21.0234/105.8404), then I get a lot of details like the name, name:zh, landuse, etc etc etc

If I look at the same node using overpass turbo, I get none of those details. Please see http://overpass-turbo.eu/s/RK7

Why is there a difference between OSM and overpass turbo for that node?

If I try with another station, e.g. Da Nang railway station (node 377702460), then I get in overpass turbo the same details as in OSM. What am I missing here?

asked 20 Mar '20, 05:02

miteyema's gravatar image

miteyema
16112
accept rate: 0%


Your first link points to a way with ID 514362704 while your Overpass query asks for a node with ID 514362704. These are two completely different objects! Elements in OSM can share the same IDs while still representing different things. IDs are only unique within each element type but not across different element types.

permanent link

answered 20 Mar '20, 07:33

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

Thank you so much for clarifying that for me. My only question left is now: why is a railway station sometimes a node and sometimes a way in OSM?

(31 Mar '20, 06:30) miteyema

A node is simpler to add for mappers while a way is more accurate since it describes the extent of the railway station building. Both is correct, however. Many objects in OSM can be described by either a node or a way and sometimes also a relation. See elements for more information.

(31 Mar '20, 06:51) scai ♦

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:

×710
×228
×68
×24
×12

question asked: 20 Mar '20, 05:02

question was seen: 1,400 times

last updated: 31 Mar '20, 06:51

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum