From 73cd2bc63e7c1271cb0bf1e870cc003fd7451b2f Mon Sep 17 00:00:00 2001 From: Darafei Praliaskouski Date: Mon, 13 May 2013 00:36:12 +0300 Subject: [PATCH] [generator] better proposed/construction handling --- generator/osm2type.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/generator/osm2type.cpp b/generator/osm2type.cpp index 32f3dd750b..4ca5459e4a 100644 --- a/generator/osm2type.cpp +++ b/generator/osm2type.cpp @@ -41,8 +41,12 @@ namespace ftype bool is_skip_tag(string const & k) { - // skip "cycleway's" tags because they interfer to set a valid types like "highway's" - return (k == "created_by" || k == "description" || k == "cycleway" || k == "embankment"); + return (k == "created_by" + || k == "description" + || k == "cycleway" // [highway=primary][cycleway=lane] parsed as [highway=cycleway] + || k == "proposed" // [highway=proposed][proposed=primary] parsed as [highway=primary] + || k == "construction" // [highway=primary][construction=primary] parsed as [highway=construction] + ); } template class tags_wrapper