-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.53..v0.2.54 changeset WayToPolyGeoModifierAction.h
Garret Voltz edited this page Mar 31, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/geometrymodifiers/WayToPolyGeoModifierAction.h b/hoot-core/src/main/cpp/hoot/core/visitors/geometrymodifiers/WayToPolyGeoModifierAction.h
index 619e0ce..06d561e 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/geometrymodifiers/WayToPolyGeoModifierAction.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/geometrymodifiers/WayToPolyGeoModifierAction.h
@@ -22,7 +22,7 @@
* 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 WAYTOPOLYGEOMODIFIERACTION_H
#define WAYTOPOLYGEOMODIFIERACTION_H
@@ -41,6 +41,7 @@ namespace hoot
class WayToPolyGeoModifierAction : public GeometryModifierAction
{
public:
+
static const QString WIDTH_TAG_PARAM;
static const QString DEFAULT_WIDTH_PARAM;
@@ -52,7 +53,10 @@ public:
virtual void parseArguments(const QHash<QString, QString>& arguments) override;
virtual bool processElement(const ElementPtr& pElement, OsmMap* pMap) override;
+ virtual std::string getClassName() const { return className(); }
+
private:
+
const double DEFAULT_WIDTH = 5;
double _width = DEFAULT_WIDTH;
QString _widthTag = QString();