Changeset 14038 in josm for trunk/src/org


Ignore:
Timestamp:
2018-07-20T20:27:34+02:00 (6 years ago)
Author:
Don-vip
Message:

fix #16499 - Support GDPR-compliant OSM extracts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmReader.java

    r13901 r14038  
    571571                            v, current.getUniqueId()));
    572572                    current.setChangesetId(0);
    573                 } else {
    574                     // for an existing primitive this is a problem
     573                } else if (current.getChangesetId() < 0) {
     574                    // for an existing primitive this is a problem only for negative ids (GPDR extracts are set to 0)
    575575                    throwException(tr("Illegal value for attribute ''changeset''. Got {0}.", v));
    576576                }
Note: See TracChangeset for help on using the changeset viewer.