-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.47..v0.2.48 changeset ApiDbReader.h
Garret Voltz edited this page Sep 27, 2019
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/io/ApiDbReader.h b/hoot-core/src/main/cpp/hoot/core/io/ApiDbReader.h
index aa587fe..584c02b 100644
--- a/hoot-core/src/main/cpp/hoot/core/io/ApiDbReader.h
+++ b/hoot-core/src/main/cpp/hoot/core/io/ApiDbReader.h
@@ -30,7 +30,7 @@
// hoot
#include <hoot/core/elements/OsmMap.h>
#include <hoot/core/io/PartialOsmMapReader.h>
-#include <hoot/core/ops/Boundable.h>
+#include <hoot/core/util/Boundable.h>
#include <hoot/core/util/Configurable.h>
// Qt
@@ -114,6 +114,9 @@ public:
*/
virtual std::shared_ptr<OGRSpatialReference> getProjection() const override;
+ void setKeepImmediatelyConnectedWaysOutsideBounds(bool keep)
+ { _keepImmediatelyConnectedWaysOutsideBounds = keep; }
+
protected:
bool _useDataSourceIds;
@@ -180,6 +183,9 @@ private:
long _numWaysRead;
long _numRelationsRead;
+ // only valid is _bounds is not null
+ bool _keepImmediatelyConnectedWaysOutsideBounds;
+
void _read(OsmMapPtr map, const ElementType& elementType);
/**