mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-28 08:53:37 +00:00
[generator] Implement hash for OsmElement::Tag
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -45,7 +45,8 @@ vector<string> const kBycicleAccessConditionalTags = {"bicycle:conditional"};
|
||||
// Some tags assume access:conditional in fact, but doesn't have it.
|
||||
// For example if road is tagged as "winter_road = yes",
|
||||
// for routing it is like: "access:conditional = no @ (Feb - Dec)"
|
||||
std::map<OsmElement::Tag, string> kTagToAccessConditional = {
|
||||
// TODO: handle Southern Hemisphere
|
||||
std::pair<OsmElement::Tag, string> const kTagToAccessConditional[] = {
|
||||
{OsmElement::Tag("winter_road", "yes"), "no @ (Mar - Nov)"},
|
||||
{OsmElement::Tag("ice_road", "yes"), "no @ (Mar - Nov)"}};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user