v0.2.53..v0.2.54 changeset RandomMapCropper.h
Garret Voltz edited this page Mar 31, 2020
·
1 revision
diff --git a/hoot-rnd/src/main/cpp/hoot/rnd/ops/RandomMapCropper.h b/hoot-rnd/src/main/cpp/hoot/rnd/ops/RandomMapCropper.h
index dc3f979..6fe22ec 100644
--- a/hoot-rnd/src/main/cpp/hoot/rnd/ops/RandomMapCropper.h
+++ b/hoot-rnd/src/main/cpp/hoot/rnd/ops/RandomMapCropper.h
@@ -22,14 +22,13 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
*/
#ifndef RANDOM_MAP_CROPPER_H
#define RANDOM_MAP_CROPPER_H
// Hoot
-#include <hoot/core/info/OperationStatusInfo.h>
#include <hoot/core/util/Configurable.h>
#include <hoot/core/util/StringUtils.h>
#include <hoot/core/ops/MapCropper.h>
@@ -40,7 +39,7 @@ namespace hoot
/**
* Uses MapCropper to randomly crop a section of data with a specified maximum number of nodes.
*/
-class RandomMapCropper : public OsmMapOperation, public Configurable, public OperationStatusInfo
+class RandomMapCropper : public OsmMapOperation, public Configurable
{
public:
@@ -68,6 +67,8 @@ public:
void setTileFootprintOutputPath(QString path);
void setPixelSize(double size) { _pixelSize = size; }
+ virtual std::string getClassName() const { return className(); }
+
private:
int _maxNodeCount;