Changeset 27001 in osm


Ignore:
Timestamp:
2011-11-04T01:23:06+01:00 (13 years ago)
Author:
donvip
Message:

Update PBF plugin to JOSM 4574

Location:
applications/editors/josm/plugins/pbf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pbf/build.xml

    r26990 r27001  
    3232    <property name="commit.message" value="Commit message"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4549"/>
     34    <property name="plugin.main.version" value="4574"/>
    3535    <!-- should not be necessary to change the following properties -->
    3636    <property name="josm" location="../../core/dist/josm-custom.jar"/>
  • applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfReader.java

    r26961 r27001  
    106106                        Node node = new Node(nodeId+=nodes.getId(i), nodes.getDenseinfo().getVersion(i));
    107107                        // Lat/Lon (delta)
    108                         node.setCoor(new LatLon(parseLat(nodeLat+=nodes.getLat(i)), parseLon(nodeLon+=nodes.getLon(i))).getRoundedToOsmPrecision());
     108                        node.setCoor(new LatLon(parseLat(nodeLat+=nodes.getLat(i)), parseLon(nodeLon+=nodes.getLon(i))).getRoundedToOsmPrecisionStrict());
    109109                        checkCoordinates(node.getCoor());
    110110                        // Changeset (delta)
     
    147147                        final Info info = n.getInfo();
    148148                        final Node node = new Node(n.getId(), info.getVersion());
    149                         node.setCoor(new LatLon(parseLat(n.getLat()), parseLon(n.getLon())).getRoundedToOsmPrecision());
     149                        node.setCoor(new LatLon(parseLat(n.getLat()), parseLon(n.getLon())).getRoundedToOsmPrecisionStrict());
    150150                        checkCoordinates(node.getCoor());
    151151                        checkChangesetId(info.getChangeset());
Note: See TracChangeset for help on using the changeset viewer.