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

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 ♦

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.

permanent link

answered 27 May '15, 10:42

Vincent%20de%20Phily's gravatar image

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

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:

×930
×341
×24
×23
×19

question asked: 26 May '15, 20:03

question was seen: 3,413 times

last updated: 27 May '15, 10:42

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