forked from organicmaps/organicmaps
[generator] better proposed/construction handling
This commit is contained in:
parent
2d06cf4f63
commit
73cd2bc63e
1 changed files with 6 additions and 2 deletions
|
@ -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 ToDo> class tags_wrapper
|
||||
|
|
Loading…
Add table
Reference in a new issue