Ignore:
Timestamp:
2011-03-02T21:09:14+01:00 (13 years ago)
Author:
mgarbe
Message:

added further anonymization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/data/EditGpxTrack.java

    r25407 r25486  
    4545                            w.attr.put("time", "1970-01-01T00:00:00.000Z");
    4646                            w.setTime();
     47                            if (w.attr.containsKey("name")) {
     48                                w.attr.put("name", "anon"); //time information can also be in "name" field. so delete time information
     49                            }
    4750                        }
    4851                    }
    4952                    wayPoints.add(points);
    5053                }
     54            }
     55        }
     56        if (anonTime) {
     57            if (attributes.containsKey("name")) {
     58                attributes.put("name", "anon");//time information can also be in "name" field. so delete time information
    5159            }
    5260        }
Note: See TracChangeset for help on using the changeset viewer.