static void DumpCoord(const osmscout::Point& coord) { std::cout << "Coord {" << std::endl; std::cout << " id: " << coord.GetId() << std::endl; std::cout << " lat: " << coord.GetLat() << std::endl; std::cout << " lon: " << coord.GetLon() << std::endl; std::cout << "}" << std::endl; }
static void DumpCoord(const osmscout::Point& coord) { std::cout << "Coord {" << std::endl; std::cout << " id: " << coord.GetId() << std::endl; std::streamsize oldPrecision=std::cout.precision(5); std::ios_base::fmtflags oldFlags=std::cout.setf(std::ios::fixed,std::ios::floatfield); std::cout << " lat: " << coord.GetLat() << std::endl; std::cout << " lon: " << coord.GetLon() << std::endl; std::cout.setf(oldFlags,std::ios::floatfield); std::cout.precision(oldPrecision); std::cout << "}" << std::endl; }