v0.2.47..v0.2.48 changeset OsmApiDbSqlChangesetFileWriter.h
Garret Voltz edited this page Sep 27, 2019
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/io/OsmApiDbSqlChangesetFileWriter.h b/hoot-core/src/main/cpp/hoot/core/io/OsmApiDbSqlChangesetFileWriter.h
index cbd9f1a..b8a483b 100644
--- a/hoot-core/src/main/cpp/hoot/core/io/OsmApiDbSqlChangesetFileWriter.h
+++ b/hoot-core/src/main/cpp/hoot/core/io/OsmApiDbSqlChangesetFileWriter.h
@@ -48,6 +48,9 @@ namespace hoot
/**
* Writes out a set of SQL commands, that when executed, will update the contents of
* an OSM API database with an OSM changeset.
+ *
+ * TODO: add a method that tells you whether sql output from this is equivalent to that in an xml
+ * changeset
*/
class OsmApiDbSqlChangesetFileWriter : public Configurable
{
@@ -112,11 +115,13 @@ private:
geos::geom::Envelope _changesetBounds;
/** Settings from the config file */
- long _changesetMaxSize;
double _changesetUserId;
bool _includeDebugTags;
+ // id mappings for created elements
+ QMap<ElementId, ElementId> _remappedIds;
+
friend class ServiceOsmApiDbSqlChangesetFileWriterTest;
};