| 13 | { |
| 14 | |
| 15 | std::string PointToString(m2::PointD const & org, char const separator) |
| 16 | { |
| 17 | double const lon = mercator::XToLon(org.x); |
| 18 | double const lat = mercator::YToLat(org.y); |
| 19 | |
| 20 | std::ostringstream ss; |
| 21 | ss.precision(8); |
| 22 | |
| 23 | ss << lon << separator << lat; |
| 24 | return ss.str(); |
| 25 | } |
| 26 | |
| 27 | std::string PointToLineString(geometry::PointWithAltitude const & pt) |
| 28 | { |
no test coverage detected