void multipolygon_outer_ring_start() { try { m_coordinate_sequence.reset(m_geos_factory.getCoordinateSequenceFactory()->create(static_cast<size_t>(0), 2)); } catch (geos::util::GEOSException&) { THROW(osmium::geos_geometry_error()); } }
void multipolygon_inner_ring_start() { try { m_coordinate_sequence.reset(m_geos_factory->getCoordinateSequenceFactory()->create(static_cast<std::size_t>(0), 2)); } catch (const geos::util::GEOSException& e) { THROW(osmium::geos_geometry_error(e.what())); } }
void linestring_start() { try { m_coordinate_sequence.reset(m_geos_factory->getCoordinateSequenceFactory()->create(static_cast<size_t>(0), 2)); } catch (geos::util::GEOSException& e) { THROW(osmium::geos_geometry_error(e.what())); } }