Skip to content

Commit

Permalink
temporarily deactivating contribution types in full-history response
Browse files Browse the repository at this point in the history
as it's potentially buggy and we are thinking about a fitting solution
  • Loading branch information
FabiKo117 committed Dec 10, 2019
1 parent 1645038 commit 1d7a1ec
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ public static void executeElementsFullHistory(ElementsGeometry elemGeom,
validTo = TimestampFormatter.getInstance().isoDateTime(contribution.getTimestamp());
if (!skipNext) {
properties = new TreeMap<>();
properties = exeUtils.addContribType(contribution, properties, includeOSMMetadata);
// deactivating the adding of the contrib type as it could deliver false results
// properties = exeUtils.addContribType(contribution, properties, includeOSMMetadata);
properties.put("@validFrom", validFrom);
properties.put("@validTo", validTo);
if (!currentGeom.isEmpty()) {
Expand Down Expand Up @@ -282,7 +283,8 @@ public static void executeElementsFullHistory(ElementsGeometry elemGeom,
// if last contribution was not "deletion": set valid_to = t_end, add row to output list
validTo = endTimestamp;
properties = new TreeMap<>();
properties = exeUtils.addContribType(lastContribution, properties, includeOSMMetadata);
// deactivating the adding of the contrib type as it could deliver false results
// properties = exeUtils.addContribType(lastContribution, properties, includeOSMMetadata);
properties.put("@validFrom", validFrom);
properties.put("@validTo", validTo);
if (!currentGeom.isEmpty()) {
Expand Down

0 comments on commit 1d7a1ec

Please sign in to comment.