I create a LineString containing a CoordinateSequence of length 167 and then do a buffer operation using the following code:
geos::operation::buffer::BufferParameters buffer_params;
geos::operation::buffer::BufferOp buffer_op(input, buffer_params);
std::unique_ptr<geos::geom::Geometry> output(buffer_op.getResultGeometry(1.5));
This throws a geos::geom::TopologyException
with message:
TopologyException: depth mismatch at at -6 -10.5
What does this mean and what can I do about it?