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

Hi all, we currently are modelling an indoor osm map following the Indoor Schema. There is also a part in which vertical passages are described. It connects the doors of elevators, stairs and others with the doors above and below it. That means you have to know the doors' ids of both "neighboring" doors. The connection is done by the tag connector:ids:


      <node id='-245' action='modify' visible='true' lat='52.39349018473089' lon='13.130163004646104'>
      <tag k='connector:ids' v='<id_door_above>, <id_door_below>' />
      <tag k='door' v='yes' />
   </node>

We model our buildings in JOSM. JOSM gives negative IDs to each new element and those IDs will be replaced by positive ones when the data gets uploads. The IDs in the tag (written by hand) won't be replaced which makes the file inconsistent. (Though I cannot verify at the moment because currently I'm not allowed to upload any indoor data for legal reasons).

A solution would be to upload the floors one after the other, but to me it doesn't seem to be a good solution.

Has anyone ever run into this problem? Have I missed to read the best practice?

Thank you for your time and any help!

asked 13 Jan '14, 12:07

Henry%20Moews's gravatar image

Henry Moews
1223
accept rate: 0%


Do not, under any circumstances, use the IDs of other objects in tag values. This is asking for trouble - IDs could change at any time, e.g. if someone were to delete and re-create an object.

Instead, use relations to model links between objects.

permanent link

answered 13 Jan '14, 12:13

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

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:

×710
×622
×40

question asked: 13 Jan '14, 12:07

question was seen: 4,194 times

last updated: 13 Jan '14, 12:13

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