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


How do you tag a multi-function facility? Examples of multi-use facilities include, cafes that become nightclubs, resorts that include restaurants and book stores that include coffee shops.

A detailed example is included below.

I don't know how unique this particular establishment's concept is, but I am using it to get my thoughts in order when it comes to a single physical building containing two (or more) POIs.

Here's the place in question: Renaissance ClubSport. They bill themselves as a "contemporary boutique hotel, an impressive full-service sports club, a vibrant bar & restaurant, and a rejuvenating day spa all under one roof...creating a one-of-a-kind experience." I would not worry about the spa, bar and restaurant, though they are certainly rejuvenating and vibrant, respectively. But one can belong to the sports club without staying at the hotel (I do), and one can stay at the hotel without setting a foot in the gym. Thinking from the standpoint of POIs on a map, I would like the place to show up as both a hotel and a sports club.

What I did for now (map) was split the building outline roughly where the gym (plus spa, bar and restaurant) ends and the hotel begins, even though they are under the same roof. One is tagged as a tourism=hotel with applicable hotel schema tags, the other as leisure=sports_centre with an opportunity to add other tags from the schema (have not done that yet).

The problem I am having with this solution is that on a map both might show up as two separate, though extremely close, POIs with the same rather longish name. That would be ugly. More likely, because they are so close, only one will show up at most scale levels - either as a result of the decision by the smart renderer, or as a result of overlap by a "dumb" renderer. Also, I had to list the same address on both objects, and that does not feel right at all.

There is an additional (though not as crucial) challenge of tagging the spa and the eateries. Again, from the standpoint of someone driving in the neighborhood looking for a place to eat or drink, they might want to visit the restaurant or the bar inside the hotel/club, which are open to the public.

I dealt with that issue by dropping three POI nodes (there is also a coffee bar) approximately where they are located inside the building. (The spa could be the fourth, although there should probably be a spa=yes key on the hotel or the sports club.)

And, for good measure, I added a relationship of type=site, to which I added both parts of the building and the two pools I outlined.

I ended up with a mixed solution of outlines and points. The Mapnik rendering looks quite intriguing, though not unreasonable. At zoom 17 it shows the icon and the name of the hotel and the outline and shading, though not the name or the icon, for the the gym. It also shows the icon and the name for the restaurant, which is fine. but it appears that all of the gym is the restaurant - confusing. At zoom=18, it also shows the icon for the coffee bar, though no name (which is fine), but no icon for the bar (and in all fairness, I did not have to add it since most restaurants can be assumed to have a bar; also, unlike the coffee bar, this bar does not have its own name).

All I want is to capture the data properly while keeping the needs of the renderers and POI searchers in mind. Am I way off? Is there a best practice for this sort of a situation? How would you have mapped/tagged this place?

One last question: what would happen - from the standpoint of data integrity and the rendered look - if I kept it as one building, but tagged it as both tourism=hotel and leisure=sports_centre? It's tempting, but somehow that does not feel right.

asked 11 Feb '11, 22:59

ponzu's gravatar image

accept rate: 0%

edited 13 Feb '11, 21:53

Richard%20Weait's gravatar image

Richard Weait


My first suggestion would be to find a way to ask the question using fewer words.

(13 Feb '11, 12:45) Andy Allan

I asked the question in 10 words, didn't I?

(13 Feb '11, 14:58) ponzu

This could be quite a useful question, but it really is much too long to read.

(13 Feb '11, 16:41) SK53 ♦

The way the question is written probably lends itself better to the forum. But the forum appears a little dead. It IS a useful question. Would it be helpful if I asked it in two lines and moved the context and the nuances to a comment? More people might read it and more people might attempt to answer it using their own assumptions. But unless they read the comment, I doubt it will lead to a useful answer. I am hoping that sooner or later someone will show up who hates unanswered questions more than reading.

(13 Feb '11, 18:53) ponzu

I'd suggest you summarise the problem and the question in one paragraph (as a "tl;dr" summary), then put the rest below for people who are really interested.

(13 Feb '11, 21:06) Richard ♦

This question addresses one of the key tensions in OpenStreetMap; How much detail is Just Right. How do we know when we have mapped too little, with just enough detail, or provided too much information?

Typical mapping of multi-function facilities is to map the largest, or most-significant object as an area and the lesser objects as nodes. This gives us a shopping mall building with individual store nodes; enough detail to find the individual shops without the additional detail of the exact size of each suite within the shopping mall.

In the case of a book store that contains a coffee shop, it would be typical to map the building as shop=books and include a node within for the coffee shop, tagged amenity=cafe. It would be unusual to then subdivide the book shop into fiction, non-fiction, biography and other sections.

Where there are only a few objects, of similar importance one might choose to map each object as areas / buildings or each as nodes, either with or without an un-differentiated building. Consider a building that houses a grade-school and a public day care facility. It would be a matter for the mapper to choose either building with nodes or joined buildings for these features.

Differentiate this from an office building with a non-public day care, for families of employees only. I'd would argue that the private day care would not be included in the OSM database as a general case. Of course an OSM contributor who is also an employee might have the access and interest in mapping that extra detail even if a general audience might not be interested.

In the case of the resort in the original question, I would want to base any mapping decision on a site survey to understand the context of the place. Then I would be inclined to tag only the public-facing amenities. Without that local context, I'm inclined to say, tag the building as tourism=hotel, and then add a node for each public-facing amenity, like the spa, restaurant or gym. If there is no public sign for an internal amenity, I'd be inclined to leave it out.

permanent link

answered 13 Feb '11, 22:41

Richard%20Weait's gravatar image

Richard Weait
accept rate: 17%

Thank you for your answer. It makes sense, and adding nodes for lesser objects (like a coffee shop inside of a book store) is what I would do - and have done in the case of the facility described above. As far as approaching this unique case - and it may be truly unique, so I may just make a decision and move on, rather tan trying to build any kind of knowledge base around it - the place truly is two things in one. And the sports club is the more prominent part of it. To be honest, I'm happy with the way it came out looking in Mapnik, see link above.

(14 Feb '11, 17:49) ponzu

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 11 Feb '11, 22:59

question was seen: 8,274 times

last updated: 14 Feb '11, 17:49

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