Changeset 7233 in josm for trunk/src/org
- Timestamp:
- 2014-06-09T17:47:33+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmWriter.java
r7005 r7233 163 163 for (DataSource s : ds.dataSources) { 164 164 out.println(" <bounds minlat='" 165 + s.bounds.getMinLat()+"' minlon='" 166 + s.bounds.getMinLon()+"' maxlat='" 167 + s.bounds.getMaxLat()+"' maxlon='" 168 + s.bounds.getMaxLon() 165 + s.bounds.getMin().latToString(CoordinateFormat.DECIMAL_DEGREES) 166 +"' minlon='" 167 + s.bounds.getMin().lonToString(CoordinateFormat.DECIMAL_DEGREES) 168 +"' maxlat='" 169 + s.bounds.getMax().latToString(CoordinateFormat.DECIMAL_DEGREES) 170 +"' maxlon='" 171 + s.bounds.getMax().lonToString(CoordinateFormat.DECIMAL_DEGREES) 169 172 +"' origin='"+XmlWriter.encode(s.origin)+"' />"); 170 173 } … … 179 182 } else { 180 183 if (n.getCoor() != null) { 181 out.print(" lat='"+n.getCoor().lat()+"' lon='"+n.getCoor().lon()+"'"); 184 out.print(" lat='" +n.getCoor().latToString(CoordinateFormat.DECIMAL_DEGREES)+ 185 "' lon='"+n.getCoor().lonToString(CoordinateFormat.DECIMAL_DEGREES)+"'"); 182 186 } 183 187 addTags(n, "node", true);
Note:
See TracChangeset
for help on using the changeset viewer.