v0.2.48..v0.2.49 changeset MapCropper.h - ngageoint/hootenanny GitHub Wiki

diff --git a/hoot-core/src/main/cpp/hoot/core/ops/MapCropper.h b/hoot-core/src/main/cpp/hoot/core/ops/MapCropper.h
index e981720..1db2d75 100644
--- a/hoot-core/src/main/cpp/hoot/core/ops/MapCropper.h
+++ b/hoot-core/src/main/cpp/hoot/core/ops/MapCropper.h
@@ -104,6 +104,7 @@ public:
   void setKeepEntireFeaturesCrossingBounds(bool keep);
   void setKeepOnlyFeaturesInsideBounds(bool keep);
   void setInclusionCriterion(const ElementCriterionPtr& crit) { _inclusionCrit = crit; }
+  void setRemoveSuperflousFeatures(bool remove) { _removeSuperfluousFeatures = remove; }
 
 private:
 
@@ -122,6 +123,8 @@ private:
   ElementCriterionPtr _inclusionCrit;
   // tracks all ways satisfying _inclusionCrit
   std::set<long> _explicitlyIncludedWayIds;
+  // removes useful features created after cropping
+  bool _removeSuperfluousFeatures;
 
   int _statusUpdateInterval;
 
⚠️ **GitHub.com Fallback** ⚠️