Changeset 27001 in osm for applications/editors/josm/plugins/pbf/src
- Timestamp:
- 2011-11-04T01:23:06+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfReader.java
r26961 r27001 106 106 Node node = new Node(nodeId+=nodes.getId(i), nodes.getDenseinfo().getVersion(i)); 107 107 // 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()); 109 109 checkCoordinates(node.getCoor()); 110 110 // Changeset (delta) … … 147 147 final Info info = n.getInfo(); 148 148 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()); 150 150 checkCoordinates(node.getCoor()); 151 151 checkChangesetId(info.getChangeset());
Note:
See TracChangeset
for help on using the changeset viewer.