...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
DSV stands for Delimiter Separated Values. Geometries can be streamed as DSV. There are defaults for all separators.
template<typename Geometry> detail::dsv::dsv_manipulator< Geometry > dsv(Geometry const & geometry, std::string const & coordinate_separator = ", ", std::string const & point_open = "(", std::string const & point_close = ")", std::string const & point_separator = ", ", std::string const & list_open = "(", std::string const & list_close = ")", std::string const & list_separator = ", ")
Type |
Concept |
Name |
Description |
---|---|---|---|
Geometry const & |
geometry |
||
std::string const & |
coordinate_separator |
||
std::string const & |
point_open |
||
std::string const & |
point_close |
||
std::string const & |
point_separator |
||
std::string const & |
list_open |
||
std::string const & |
list_close |
||
std::string const & |
list_separator |
Either
#include <boost/geometry.hpp>
Or
#include <boost/geometry/io/dsv/write.hpp>