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
2313513
accept rate: 16%

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.0k16147244
accept rate: 19%

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:

×824
×312
×20
×18
×16

question asked: 26 May '15, 20:03

question was seen: 1,965 times

last updated: 27 May '15, 10:42

powered by OSQA