Changeset 35978 in osm for applications/editors/josm/plugins/trustosm
- Timestamp:
- 2022-06-15T20:10:48+02:00 (2 years ago)
- Location:
- applications/editors/josm/plugins/trustosm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/trustosm/build.xml
r35762 r35978 5 5 <property name="commit.message" value="trustosm: recompile for compatibility with JOSM r17896" /> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="1 7896"/>7 <property name="plugin.main.version" value="18494"/> 8 8 <property name="plugin.author" value="Christoph Wagner" /> 9 9 <property name="plugin.class" value="org.openstreetmap.josm.plugins.trustosm.TrustOSMplugin" /> -
applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/util/TrustAnalyzer.java
r34565 r35978 95 95 Node signedNode = TrustNode.generateNodeFromSigtext(signedPlaintext); 96 96 Node currentNode = (Node) trust.getOsmPrimitive(); 97 double dist = signedNode.g etCoor().greatCircleDistance(currentNode.getCoor());97 double dist = signedNode.greatCircleDistance(currentNode); 98 98 99 99 /** is distance between signed Node and current Node inside tolerance? */ … … 157 157 Node signedNode = signedSegment.get(i); 158 158 Node currentNode = nodes.get(i); 159 double dist = signedNode.g etCoor().greatCircleDistance(currentNode.getCoor());159 double dist = signedNode.greatCircleDistance(currentNode); 160 160 if (dist > tolerance) return false; 161 161 }
Note:
See TracChangeset
for help on using the changeset viewer.