Changed polygon groups delimeter to '|' from ','

because country names can contain ,
This commit is contained in:
Alex Zolotarev 2011-01-22 22:09:47 +02:00 committed by Alex Zolotarev
parent dd86845706
commit 654fe2e087

View file

@ -235,7 +235,7 @@ namespace kml
continue;
CountryPolygons country;
PolygonLoader loader(baseDir, country, simplifyCountriesLevel);
utils::TokenizeString(line, ",", loader);
utils::TokenizeString(line, "|", loader);
if (!country.m_regions.empty())
countries.push_back(country);
}