Why not ask your question on the new OpenStreetMap Community Forum?

Is it possible to query the sum of fences distances (in kilometers) in the view window or a bounding box of overpass turbo ?

asked 12 May '18, 08:17

sang3's gravatar image

accept rate: 0%

Here is a quick example. You have to scroll to the bottom of the "data" tab to see the results.

out geom;
make stats length=sum(length()),section_lengths=set(length());

Script is lightly modified version of the example given in https://github.com/drolbr/Overpass-API/issues/237.

(As far as I know, there is no area evaluator, I see you've asked the similar question about that)

permanent link

answered 13 May '18, 12:35

maxerickson's gravatar image

accept rate: 32%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 12 May '18, 08:17

question was seen: 1,156 times

last updated: 13 May '18, 12:35

powered by OSQA