Changeset 16663 in josm for trunk/src


Ignore:
Timestamp:
2020-06-17T00:05:03+02:00 (4 years ago)
Author:
simon04
Message:

OsmWriter: fix max_lat/max_lon in <changeset>

File:
1 edited

Legend:

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

    r14274 r16663  
    313313        }
    314314        if (cs.getMax() != null) {
    315             out.print(" max_lon='"+ DecimalDegreesCoordinateFormat.INSTANCE.lonToString(cs.getMin()) +'\'');
    316             out.print(" max_lat='"+ DecimalDegreesCoordinateFormat.INSTANCE.latToString(cs.getMin()) +'\'');
     315            out.print(" max_lon='"+ DecimalDegreesCoordinateFormat.INSTANCE.lonToString(cs.getMax()) +'\'');
     316            out.print(" max_lat='"+ DecimalDegreesCoordinateFormat.INSTANCE.latToString(cs.getMax()) +'\'');
    317317        }
    318318        out.println(">");
Note: See TracChangeset for help on using the changeset viewer.