diff options
author | vng <viktor.govako@gmail.com> | 2014-05-28 13:52:55 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:16:08 +0300 |
commit | cace5a35197ef47e58f6540d72b7f6fbf6cef28c (patch) | |
tree | 0e18b37cb573345b42e89b3fae53ecfd08526e93 /indexer/feature_data.cpp | |
parent | 122c45ec209e529f9a678f742c34f3597c901dfe (diff) |
[generator] Fixed generation of .addr file.
Diffstat (limited to 'indexer/feature_data.cpp')
-rw-r--r-- | indexer/feature_data.cpp | 4 |
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; } |