forked from organicmaps/organicmaps
Minor logging output.
This commit is contained in:
parent
713e32a1d2
commit
a3d3b71d4d
2 changed files with 6 additions and 2 deletions
|
@ -225,7 +225,10 @@ namespace kml
|
|||
{
|
||||
FileReader file(kmlFile);
|
||||
ReaderSource<FileReader> source(file);
|
||||
return ParseXML(source, parser, true);
|
||||
LOG(LINFO, ("Parsing XML"));
|
||||
bool const bRes = ParseXML(source, parser, true);
|
||||
LOG(LINFO, (bRes));
|
||||
return bRes;
|
||||
}
|
||||
catch (std::exception const &)
|
||||
{
|
||||
|
|
|
@ -34,9 +34,10 @@ namespace feature
|
|||
Polygonizer(TInfo & info) : m_FeatureOutInitData(info.datFilePrefix, info.datFileSuffix),
|
||||
m_worldMap(info.maxScaleForWorldFeatures, info.mergeCoastlines, m_FeatureOutInitData)
|
||||
#if PARALLEL_POLYGONIZER
|
||||
, m_ThreadPoolSemaphore(m_ThreadPool.maxThreadCount() * 4)
|
||||
, m_ThreadPoolSemaphore(m_ThreadPool.maxThreadCount() * 8)
|
||||
#endif
|
||||
{
|
||||
LOG(LINFO, ("Polygonizer thread pool threads:", m_ThreadPool.maxThreadCount()));
|
||||
CHECK(kml::LoadCountriesList(info.datFilePrefix, m_countries, info.simplifyCountriesLevel),
|
||||
("Error loading country polygons files"));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue