Ignore:
Timestamp:
2017-03-09T22:49:28+01:00 (3 years ago)
Author:
bastiK
Message:

fixed #12731 - Add an option to completely prevent upload of a layer : e.g. "never" to upload=true/false

to set this option, add XML attribute upload='never' to .osm file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/RightAndLefthandTraffic.java

    r11611 r11709  
    157157             OsmWriter w = OsmWriterFactory.createOsmWriter(new PrintWriter(writer), false, ds.getVersion())
    158158            ) {
    159             w.header(Boolean.FALSE);
     159            w.header(DataSet.UploadPolicy.DISCOURAGED);
    160160            w.writeContent(ds);
    161161            w.footer();
Note: See TracChangeset for help on using the changeset viewer.