Changeset 27001 in osm for applications/editors
- Timestamp:
- 2011-11-04T01:23:06+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/pbf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pbf/build.xml
r26990 r27001 32 32 <property name="commit.message" value="Commit message"/> 33 33 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 <property name="plugin.main.version" value="45 49"/>34 <property name="plugin.main.version" value="4574"/> 35 35 <!-- should not be necessary to change the following properties --> 36 36 <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 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.