<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 30, 2017 at 6:13 PM, Martin Koppenhoefer <span dir="ltr"><<a href="mailto:dieterdreist@gmail.com" target="_blank">dieterdreist@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I’m not sure if this is still valid, but a long time ago the measurements in Josm weren’t very accurate...</blockquote><div>It uses the great circle distance[0], which is accurate to about 0.5%[1], still over long distances that can add up.  I believe it would be more accurate to project each segment of the way to a local coordinate system and measure, and then sum the measures.</div><div> </div><div>Mike</div><div><br></div><div>[0] <a href="https://josm.openstreetmap.de/browser/josm/trunk/src/org/openstreetmap/josm/data/osm/Way.java">https://josm.openstreetmap.de/browser/josm/trunk/src/org/openstreetmap/josm/data/osm/Way.java</a> (search on getLength)</div><div>[1] <a href="https://en.wikipedia.org/wiki/Great-circle_distance">https://en.wikipedia.org/wiki/Great-circle_distance</a></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> especially for long distances, where the curvature of the earth leads to significant errors if not accounted for. Don’t know whether Josm uses an ellipsoid or spheroid (I recall initially it used carthesian coordinates and calculated in a plane). Just wanted to mention it.<br>
<br>
There’s also a measurement plugin for josm.<br>
<br>
cheers,<br>
Martin<br>
<div class="gmail-HOEnZb"><div class="gmail-h5">______________________________<wbr>_________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.<wbr>org/listinfo/talk</a><br>
</div></div></blockquote></div><br></div></div>