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

What’s the proper tagging for a military barracks?

0

A few months ago, Mapnik quit rendering closed ways with the tag military=barracks; as a result, many of the barracks I have mapped with only that tag are now "hidden".

I am tempted to add landuse=military and thus making them visible on the default map again, but I would like not to map for the renderer;

This is an example: it's a military area with restricted access, and, as far as I know, mainly used as a training and dormitory facility for troops.

So my question is: how are military barracks correctly tagged?

Thanks in advance!

asked 26 May '15, 20:03

MarcoR's gravatar image

MarcoR
6873820
accept rate: 23%

edited 26 May '15, 23:20

2

The complete discussion on why the Mapnik team decided to stop rendering barracks. Please do not change the tagging because they decided to change the rendering rules.

(26 May '15, 20:21) escada

@MarcoR - One thing that might help is if you can link to an example. I can imagine how people might tag such things slightly differently, so an example would help.

(26 May '15, 21:35) SomeoneElse ♦

One Answer:

3

My understanding was always that landuse=military is the high-level tag and that military=* is a refinement to the base tag. This fits the classic "mainkey=value, value=refinement" scheme, the wiki, and this comment in the mapnik bugtracker.

So tag the area with landuse=millitary first, military=barracks second. If there's more than one purpose for the area (barracks and firing range for example), the military=* tag can be applied to smaller polygons inside the big landuse polygon. You might also want to tag individual building=bararcks inside the area.

answered 27 May '15, 10:42

Vincent%20de%20Phily's gravatar image

Vincent de P... ♦
17.3k18152249
accept rate: 19%

OSZAR »