Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generator/coastlines_generator.cpp4
-rw-r--r--generator/feature_generator.cpp7
-rw-r--r--map/framework.cpp1
3 files changed, 6 insertions, 6 deletions
diff --git a/generator/coastlines_generator.cpp b/generator/coastlines_generator.cpp
index f1c4c40c88..0bdc73d8f6 100644
--- a/generator/coastlines_generator.cpp
+++ b/generator/coastlines_generator.cpp
@@ -97,6 +97,8 @@ namespace
{
if (fb.IsGeometryClosed())
m_rMain.AddRegionToTree(fb);
+ else
+ LOG(LINFO, ("Not merged coastline", fb));
}
};
}
@@ -180,7 +182,7 @@ namespace
}
bool CoastlineFeaturesGenerator::GetFeature(size_t i, FeatureBuilder1 & fb)
-{
+{
// get rect cell
CellIdT cell = CellIdT::FromBitsAndLevel(i, m_Level);
double minX, minY, maxX, maxY;
diff --git a/generator/feature_generator.cpp b/generator/feature_generator.cpp
index 6df1d473e0..434634d32c 100644
--- a/generator/feature_generator.cpp
+++ b/generator/feature_generator.cpp
@@ -264,10 +264,8 @@ public:
: m_countries(info)
{
{
- vector<string> path;
- path.push_back("natural");
- path.push_back("coastline");
- m_coastType = classif().GetTypeByPath(path);
+ static char const * path[] = {"natural", "coastline"};
+ m_coastType = classif().GetTypeByPath(vector<string>(path, path + 2));
}
if (info.m_createWorld)
@@ -306,6 +304,7 @@ public:
m_coasts->Finish();
size_t const count = m_coasts->GetFeaturesCount();
+ LOG(LINFO, ("Generating coastline polygons", count));
for (size_t i = 0; i < count; ++i)
{
FeatureBuilder1 fb;
diff --git a/map/framework.cpp b/map/framework.cpp
index 98ef29453c..7aba4d346e 100644
--- a/map/framework.cpp
+++ b/map/framework.cpp
@@ -53,7 +53,6 @@ void Framework<TModel>::RemoveMap(string const & datFile)
template <typename TModel>
void Framework<TModel>::OnGpsUpdate(location::GpsInfo const & info)
{
- LOG(LINFO, (info.m_status));
// notify GUI (note that gps can be disabled by user or even not available)
if (!(m_locationState & location::State::EGps) && m_locationObserver)
m_locationObserver(info.m_status);