geometry: Formatting problem with model::d2::point_xy

This snippet

    using namespace boost::geometry;
    model::polygon<model::d2::point_xy<unsigned char>> poly{{{0, 0}, {0, 5}, {5, 0}, {0, 0}}};
    std::cout << dsv(poly);

will produce a bunch of funny characters instead of numerical values:

((( ,  ), ( , ♣), (♣,  ), ( ,  )))

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Comments: 15 (12 by maintainers)

Most upvoted comments

I wonder what @barendgehrels thinks about it?