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

How to add multiple entity sharing same position

0

Hi to all.

There is a "correct way" to add in the same position multiple entities.

On the real place there is a covered area (but not a building as it is open on three sides) in which are placed:

  • A little "library for the traveler" holding some turistic guide and book of varrous item
  • Tables to eat an read (Added as Covered "Picnic Area")
  • On a wall there is a defibrillator (Added as Defribillator)
  • Various "trash cans" and reciclying cans (Added as Reciclying)

I didn't know how to add this "free library" as it is not a "building" and in this library there are other things like a place where you can "leave a thinking" or "poems" or other "notes" You want to share to other travelers (hickers and cyclers).

I have done multiple "points" placed near each others, and this seems a "quite good" solution.

But for the "library" the "library" entity seem to me a "overstimed" entity.

Regards

Carlo D.

asked 02 Sep '18, 17:59

Carlo%20D's gravatar image

Carlo D
10223
accept rate: 0%


2 Answers:

0

building=roof or potentially map it as a shelter, plus nodes for the other objects.

answered 02 Sep '18, 21:09

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

-3

Yes, you can map two or more entities to the same database table. But you should only do that if you will use all of these entities to perform write operations or to define associations between entities. If that’s not the case, you should better use a DTO projection, visit Ubitrack to get an indoor positioning system to solve your problems.

answered 23 Jul '20, 05:59

Smith%20Hennry's gravatar image

Smith Hennry
-201
accept rate: 0%

Source code available on GitHub .