Libosmium
2.4.1
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <problem_reporter_ogr.hpp>
Private Member Functions | |
void | write_point (const char *problem_type, osmium::object_id_type id1, osmium::object_id_type id2, osmium::Location location) |
void | write_line (const char *problem_type, osmium::object_id_type id1, osmium::object_id_type id2, osmium::Location loc1, osmium::Location loc2) |
Private Attributes | |
osmium::geom::OGRFactory | m_ogr_factory |
gdalcpp::Layer | m_layer_perror |
gdalcpp::Layer | m_layer_lerror |
Additional Inherited Members | |
![]() | |
osmium::item_type | m_object_type |
osmium::object_id_type | m_object_id |
Report problems when assembling areas by adding them to layers in an OGR datasource.
|
inlineexplicit |
|
virtualdefault |
|
inlineoverridevirtual |
Report a duplicate node, ie. two nodes with the same location.
node_id1 | ID of the first node. |
node_id2 | ID of the second node. |
location | Location of both nodes. |
Reimplemented from osmium::area::ProblemReporter.
|
inlineoverridevirtual |
Report an intersection between two segments.
way1_id | ID of the first involved way. |
way1_seg_start | Location where the segment of the first way with the intersection starts |
way1_seg_end | Location where the segment of the first way with the intersection ends |
way2_id | ID of the second involved way. |
way2_seg_start | Location where the segment of the second way with the intersection starts |
way2_seg_end | Location where the segment of the second way with the intersection ends |
intersection | Location of the intersection. This might be slightly off the correct location due to rounding. |
Reimplemented from osmium::area::ProblemReporter.
|
inlineoverridevirtual |
Report an open ring.
Reimplemented from osmium::area::ProblemReporter.
|
inlineoverridevirtual |
Report a segment that should have role "inner", but has a different role.
way_id | ID of the way this segment is in. |
seg_start | Start of the segment with the wrong role. |
seg_end | End of the segment with the wrong role. |
Reimplemented from osmium::area::ProblemReporter.
|
inlineoverridevirtual |
Report a segment that should have role "outer", but has a different role.
way_id | ID of the way this segment is in. |
seg_start | Start of the segment with the wrong role. |
seg_end | End of the segment with the wrong role. |
Reimplemented from osmium::area::ProblemReporter.
|
inlineprivate |
|
inlineprivate |
|
private |
|
private |
|
private |