mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 21:13:35 +00:00
@@ -109,6 +109,10 @@ void TypeToOSMTranslator::LoadFromStream(std::istream & s)
|
|||||||
osmTag.key = keyValuePair.substr(0, equalSign);
|
osmTag.key = keyValuePair.substr(0, equalSign);
|
||||||
osmTag.value = keyValuePair.substr(equalSign + 1);
|
osmTag.value = keyValuePair.substr(equalSign + 1);
|
||||||
|
|
||||||
|
// mapcss-mapping.csv uses 'not' instead of 'no' as a workaround for the rendering engine
|
||||||
|
if (osmTag.value == "not")
|
||||||
|
osmTag.value = "no";
|
||||||
|
|
||||||
osmTags.push_back(osmTag);
|
osmTags.push_back(osmTag);
|
||||||
}
|
}
|
||||||
else if (keyValuePair.front() == '!')
|
else if (keyValuePair.front() == '!')
|
||||||
|
|||||||
Reference in New Issue
Block a user