Hello! What I would like to do is to write a script that would be able to tell me how many trees border each road in a small area. I'm using overpass-turbo, and I managed to get a list of roads with trees bordering them, with this script. However, I'm unable to count the trees. I then tried using this script, but all it does is count the number of roads with trees bordering them and not the number of trees bordering each road. Please let me know if you have any idea how I could do that. Thanks!

asked 19 Nov, 16:13

AloysP's gravatar image

AloysP
1112
accept rate: 0%


Hi AloysP, It depends on the accuraty of the mapper, if he chooses for natural=tree_line it is not possible since there is no accurate data. If the trees are tagged natural=tree you should be able to define and select the area of the way with the surrounding natural=trees in a certain area. Due to these variable values I dont expect to find a solution than counting them yourself.

permanent link

answered 19 Nov, 22:58

Hendrikklaas's gravatar image

Hendrikklaas
9.3k198236385
accept rate: 5%

Okay, thank you for your answer, I'll try another way

permanent link

answered 25 Nov, 12:24

AloysP's gravatar image

AloysP
1112
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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:

×218
×8
×3
×2

question asked: 19 Nov, 16:13

question was seen: 272 times

last updated: 25 Nov, 12:24

powered by OSQA