Changeset 6070 in josm for trunk/src/org/openstreetmap/josm/io/OsmWriter.java
- Timestamp:
- 2013-07-17T00:01:49+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmWriter.java
r5874 r6070 71 71 header(null); 72 72 } 73 73 74 74 public void header(Boolean upload) { 75 75 out.println("<?xml version='1.0' encoding='UTF-8'?>"); … … 82 82 out.println("' generator='JOSM'>"); 83 83 } 84 84 85 85 public void footer() { 86 86 out.println("</osm>"); … … 99 99 return result; 100 100 } 101 101 102 102 public void writeLayer(OsmDataLayer layer) { 103 103 header(!layer.isUploadDiscouraged()); … … 116 116 writeRelations(ds.getRelations()); 117 117 } 118 118 119 119 /** 120 120 * Writes the given nodes sorted by id … … 129 129 } 130 130 } 131 131 132 132 /** 133 133 * Writes the given ways sorted by id … … 142 142 } 143 143 } 144 144 145 145 /** 146 146 * Writes the given relations sorted by id
Note:
See TracChangeset
for help on using the changeset viewer.