Skip to content

v0.2.48..v0.2.49 changeset CropCmd.cpp

Garret Voltz edited this page Oct 2, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/cmd/CropCmd.cpp b/hoot-core/src/main/cpp/hoot/core/cmd/CropCmd.cpp
index cca621a..d2bd7fc 100644
--- a/hoot-core/src/main/cpp/hoot/core/cmd/CropCmd.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/cmd/CropCmd.cpp
@@ -28,9 +28,7 @@
 // Hoot
 #include <hoot/core/util/Factory.h>
 #include <hoot/core/cmd/BoundedCommand.h>
-#include <hoot/core/ops/SuperfluousWayRemover.h>
 #include <hoot/core/ops/MapCropper.h>
-#include <hoot/core/ops/SuperfluousNodeRemover.h>
 #include <hoot/core/elements/OsmMap.h>
 #include <hoot/core/util/IoUtils.h>
 #include <hoot/core/io/OsmMapWriterFactory.h>
@@ -78,8 +76,6 @@ public:
     MapCropper cropper(*_env);
     cropper.setConfiguration(Settings::getInstance());
     cropper.apply(map);
-    SuperfluousWayRemover::removeWays(map);
-    SuperfluousNodeRemover().apply(map);
 
     IoUtils::saveMap(map, out);
 
Clone this wiki locally