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

3
1

When I map smaller villages I often make a polygon and tag it landuse=residential, place=village/hamlet and name=[name]. For some reason however, this won't render the name of the village in any render style available on openstreetmap.org. Example: http://www.openstreetmap.org/?lat=55.59874&lon=13.40605&zoom=15&layers=M landuse=residential without place tag for reference: http://www.openstreetmap.org/?lat=55.69905&lon=13.19617&zoom=17&layers=M

How is this? Is this kind of mapping discouraged? I thought it best if the place name rendered at the center of the polygon, instead of where the mapper may have put the place node. Or is it simply a Mapnik bug?

asked 05 Feb '13, 23:17

Grillo's gravatar image

Grillo
345101422
accept rate: 25%


Usually the place tags go on nodes. If it's on a closed way, it's usually also tagged with boundary=administrative. See http://wiki.openstreetmap.org/wiki/Place (NB: the villages of Veberod and Dalby near your example seem to use the node)

I've put a name on landuse only when it's a specific unified area (ie residential development, trailer park, powerplant, military base, etc) which is generally a smaller subsection of an administrative area.

Also, from the landuse=residential wiki page:

"The extent of the area should mark the boundary of known residential use, not the extent of the whole town or village, where they are not identical." It would appear in your example that not all of the area is residential?

permanent link

answered 06 Feb '13, 15:35

neuhausr's gravatar image

neuhausr
7.5k870121
accept rate: 21%

1

The place tag is equally valid on areas.

(06 Feb '13, 17:16) scai ♦
1

When I've used residential in this way at least the majority of the village is residential (there's some industrial tagged in the north of Genarp, my linked example)

Towns and villages aren't administrative units in Sweden, so it would be misleading to use administrative tags for them.

The main problem still stands though: why won't the name render just because there's a place tag in the area, together with the residential tag?

(06 Feb '13, 20:27) Grillo
1

Sorry, but since the above really didn't answer my question (why place and residential won't render name, but only residential will), I voted it down.

(28 Feb '13, 12:44) Grillo
2

Fair enough, but the literal answer to that is "because that's how the Mapnik rendering works right now". Use trac to search for or report bugs/wishes: https://trac.openstreetmap.org/query?component=mapnik&order=id&desc=1

(28 Feb '13, 15:16) neuhausr

If an area is tagged as a place, its name is only rendered if area=yes is set.

But this doesn't make much sense to me. Place the residential area where it is, place an admin border where it is and place a place name node where you want the label to be placed.

/al

permanent link

answered 06 Mar '13, 09:21

_al's gravatar image

_al
86021018
accept rate: 4%

Thank you, but we don't use admin borders for Swedish towns since they are not administrative units. Also thank you for the area suggestion, but I decided to make the place tag into a node of itself again.

(09 May '13, 22:51) Grillo

area=yes and place gets rendered? that doesn't work for me unfortunately.

(11 May '13, 07:37) moszkva ter
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:

×440
×341
×103
×43
×43

question asked: 05 Feb '13, 23:17

question was seen: 5,260 times

last updated: 11 May '13, 07:37

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