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:
authorvng <viktor.govako@gmail.com>2014-05-28 13:52:55 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:16:08 +0300
commitcace5a35197ef47e58f6540d72b7f6fbf6cef28c (patch)
tree0e18b37cb573345b42e89b3fae53ecfd08526e93 /indexer/feature_data.cpp
parent122c45ec209e529f9a678f742c34f3597c901dfe (diff)
[generator] Fixed generation of .addr file.
Diffstat (limited to 'indexer/feature_data.cpp')
-rw-r--r--indexer/feature_data.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/feature_data.cpp b/indexer/feature_data.cpp
index b7ebab168a..9aada94f03 100644
--- a/indexer/feature_data.cpp
+++ b/indexer/feature_data.cpp
@@ -193,8 +193,8 @@ bool FeatureParams::FormatFullAddress(m2::PointD const & pt, string & res) const
if (!m_street.empty() && !house.IsEmpty())
{
res = m_street + "|" + house.Get() + "|"
- + strings::to_string(MercatorBounds::YToLat(pt.y)) + "|"
- + strings::to_string(MercatorBounds::XToLon(pt.x)) + '\n';
+ + strings::to_string_dac(MercatorBounds::YToLat(pt.y), 8) + "|"
+ + strings::to_string_dac(MercatorBounds::XToLon(pt.x), 8) + '\n';
return true;
}