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 |
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 answered 06 Mar '13, 09:21 _al 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
|
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? answered 06 Feb '13, 15:35 neuhausr 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
|