Re: [OSM-talk] Length of ways

2017-12-01 Thread mmd
Am 01.12.2017 um 01:15 schrieb Andy Mabbett: > Do we have a tool that will give me the length of a way (or a > relation, made from several continuous ways)? > The next Overpass API release will come with a handy operator to calculate a way's length in meters. Please check the following preview e

Re: [OSM-talk] Length of ways

2017-11-30 Thread Mike Thompson
On Thu, Nov 30, 2017 at 6:13 PM, Martin Koppenhoefer wrote: > I’m not sure if this is still valid, but a long time ago the measurements > in Josm weren’t very accurate... It uses the great circle distance[0], which is accurate to about 0.5%[1], still over long distances that can add up. I belie

Re: [OSM-talk] Length of ways

2017-11-30 Thread Martin Koppenhoefer
I’m not sure if this is still valid, but a long time ago the measurements in Josm weren’t very accurate, 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

Re: [OSM-talk] Length of ways

2017-11-30 Thread Andy Mabbett
On 1 December 2017 at 00:45, Mike Thompson wrote: > Relation length: > In JOSM > Select a member way > In the "tags/memberships" window scroll down to the "Member of" section > Right click > Select members (add) > Note the length in the lower margin of JOSM's main window Really, really, useful.

Re: [OSM-talk] Length of ways

2017-11-30 Thread Andy Mabbett
On 1 December 2017 at 00:20, Mike Thompson wrote: > On Thu, Nov 30, 2017 at 5:15 PM, Andy Mabbett > wrote: >> >> Do we have a tool that will give me the length of a way (or a >> relation, made from several continuous ways)? > If you select the way in JOSM it will give you the length in the lowe

Re: [OSM-talk] Length of ways

2017-11-30 Thread Mike Thompson
Relation length: In JOSM Select a member way In the "tags/memberships" window scroll down to the "Member of" section Right click Select members (add) Note the length in the lower margin of JOSM's main window On Thu, Nov 30, 2017 at 5:20 PM, Mike Thompson wrote: > If you select the way in JOSM it

Re: [OSM-talk] Length of ways

2017-11-30 Thread Imre Samu
For a batch solution: * Pyosmium has an osm "road length" example: https://github.com/osmcode/pyosmium/blob/master/examples/road_length.py 2017-12-01 1:15 GMT+01:00 Andy Mabbett : > Do we have a tool that will give me the length of a way (or a > relation, made from several continuous ways)? > >

Re: [OSM-talk] Length of ways

2017-11-30 Thread Mike Thompson
If you select the way in JOSM it will give you the length in the lower margin of the window. I don't know about relations. On Thu, Nov 30, 2017 at 5:15 PM, Andy Mabbett wrote: > Do we have a tool that will give me the length of a way (or a > relation, made from several continuous ways)? > > --