1
1

Hello

I must be doing/understanding something the wrong way because for some types of buildings (namely: swimming pools, libraries and museums), if I draw a polygon and then give it the corresponding amenity + a name, the name only is displayed, not the polygon.

For schools and sports center it's working fine.

examples can be found here :

http://www.openstreetmap.org/?lat=50.405887&lon=4.448771&zoom=18&layers=M (Piscine Helios in Charleroi) http://www.openstreetmap.org/?lat=50.412762&lon=4.448814&zoom=18&layers=M (Bibliothèque Rimbaud, note how the school building is displayed but not the Library's and how the Library's name can be displayed either by assigning a name to the polygon or by adding another node)

So far I've got around the problem by defining the polygon as a "building" and adding a simple node with the desired amenity (see http://www.openstreetmap.org/?lat=50.387906&lon=4.405551&zoom=18&layers=M , Musée de la Photographie and again note that the sport center just beside is ok).

But I've the impression that it's not the intended way to do things.

Any ideas ?

Many thanks

Chninkel

asked 11 Jun '11, 23:40

Chninkel's gravatar image

Chninkel
21113
accept rate: 0%

edited 11 Jun '11, 23:41


You need to tag all buildings with building tag. When mapping schools then amenity=school can be used in three ways: by using a node for school, by using an area to mark only one school building and for areas around school buildings. Because there is no way to distinguish whether the area you tagged as amenity=school is a single school building or an area containing many school buildings then you need to add building=school tag for school buildings.

Same goes for sport centres, swimming pools, museums and many other things.

permanent link

answered 12 Jun '11, 11:53

RM87's gravatar image

RM87
3.2k23553
accept rate: 22%

edited 12 Jun '11, 12:34

SK53's gravatar image

SK53 ♦
22.1k46228346

1

Thanks, indeed having amenity=library and building=yes (building=library works too) for a library makes the polygon appears on the map. But why is it that for some type of amenity, only having amenity=... is enough to have the polygon appear on the map (no need to add building=yes)? e.g. sport centers ?

And is it possible in potlach2 to add amenity=... and buidling=yes without using the advanced editor ?

(13 Jun '11, 11:17) Chninkel
2

Currently it is not possible to add both building and amenity tag in potlatch2 without using advanced mode.

Whether area tagged with only amenity tag is rendered or not mostly follows a simple rule: If that amenity can exist without building then it gets rendered, if it can't than it won't get rendered. For example try to imagine a library without a building.

Even if your amenity gets rendered without building tag, you still should add building tag to it if it is a building. Otherwise there is no way to know whether there is a building or not.

(13 Jun '11, 17:43) RM87

OK, it totally makes sense, thanks a lot :-)

(13 Jun '11, 21:07) Chninkel

Also, a library might exist within a larger building, but a school building may exist on a school campus.

(13 Jun '11, 23:50) c2r
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:

×204
×76
×71
×47

question asked: 11 Jun '11, 23:40

question was seen: 3,855 times

last updated: 13 Jun '11, 23:50

powered by OSQA