Changeset 12092 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2017-05-09T20:06:12+02:00 (8 years ago)
Author:
Don-vip
Message:

fix #14761 - Deleted featured are not removed from geojson

File:
1 edited

Legend:

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

    r11191 r12092  
    211211        JsonArrayBuilder array = Json.createArrayBuilder();
    212212        if (ds != null) {
    213             ds.allPrimitives().forEach(p -> appendPrimitive(p, array));
     213            ds.allNonDeletedPrimitives().forEach(p -> appendPrimitive(p, array));
    214214        }
    215215        object.add("features", array);
Note: See TracChangeset for help on using the changeset viewer.