예제 #1
0
파일: wkt.hpp 프로젝트: 7890/osrm-backend
 void linestring_add_location(const osmium::geom::Coordinates& xy) {
     xy.append_to_string(m_str, ' ', m_precision);
     m_str += ',';
 }
예제 #2
0
파일: wkt.hpp 프로젝트: 7890/osrm-backend
 point_type make_point(const osmium::geom::Coordinates& xy) const {
     std::string str {"POINT"};
     xy.append_to_string(str, '(', ' ', ')', m_precision);
     return str;
 }