void linestring_add_location(const osmium::geom::Coordinates& xy) { xy.append_to_string(m_str, '[', ',', ']', m_precision); m_str += ','; }
// { "type": "Point", "coordinates": [100.0, 0.0] } point_type make_point(const osmium::geom::Coordinates& xy) const { std::string str {"{\"type\":\"Point\",\"coordinates\":"}; xy.append_to_string(str, '[', ',', ']', m_precision); str += "}"; return str; }
void multipolygon_add_location(const osmium::geom::Coordinates& xy) { xy.append_to_string(m_str, ' ', m_precision); m_str += ','; }
point_type make_point(const osmium::geom::Coordinates& xy) const { std::string str {m_srid_prefix}; str += "POINT"; xy.append_to_string(str, '(', ' ', ')', m_precision); return str; }
point_type make_point(const osmium::geom::Coordinates& xy) const { std::string str {"POINT"}; xy.append_to_string(str, '(', ' ', ')'); return str; }