Esempio n. 1
0
 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());
     }
 }
Esempio n. 2
0
 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()));
     }
 }
Esempio n. 3
0
 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()));
     }
 }