A multipolygon is recognized as fully tagged if one or more special tags are set. The patch expands this list by the tags "leisure", "military", "man_made", "building", "place" and "tourism".

This is a result of the thread http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2010q3/008849.html.

WanMil
Index: src/uk/me/parabola/mkgmap/reader/osm/MultiPolygonRelation.java
===================================================================
--- src/uk/me/parabola/mkgmap/reader/osm/MultiPolygonRelation.java	(revision 1669)
+++ src/uk/me/parabola/mkgmap/reader/osm/MultiPolygonRelation.java	(working copy)
@@ -61,7 +61,8 @@
 	 * ways use the mp tags instead of their own tags.
 	 */
 	private static final List<String> polygonTags = Arrays.asList("boundary",
-			"natural", "landuse", "land_area", "building", "waterway");
+		"natural", "landuse", "land_area", "building", "waterway", "leisure",
+		"military", "man_made", "building", "place", "tourism");
 
 	/**
 	 * Create an instance based on an existing relation. We need to do this
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to