Index: /applications/editors/josm/plugins/utilsplugin/src/UtilsPlugin/SimplifyWayAction.java
===================================================================
--- /applications/editors/josm/plugins/utilsplugin/src/UtilsPlugin/SimplifyWayAction.java	(revision 9099)
+++ /applications/editors/josm/plugins/utilsplugin/src/UtilsPlugin/SimplifyWayAction.java	(revision 9100)
@@ -107,7 +107,7 @@
 			Node n = wnew.nodes.get(i);
 			double xte = Math.abs(EARTH_RAD * xtd(
-				fromN.coor.lat(), fromN.coor.lon(),
-				toN.coor.lat(), toN.coor.lon(),
-				n.coor.lat(), n.coor.lon()));
+				fromN.coor.lat() * Math.PI/180, fromN.coor.lon() * Math.PI/180,
+				toN.coor.lat() * Math.PI/180, toN.coor.lon() * Math.PI/180,
+				n.coor.lat() * Math.PI/180, n.coor.lon() * Math.PI/180));
 			if (xte > xtemax) {
 				xtemax = xte;
