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

Hi I've run out of intelligence for Isolated Buildings Routine

foreach .a (
  way._(if:count(ways) == 1);
  out center;
  • How does it know we want to find objects further away than 1000m? All other examples I read find objects within the specified distance.

  • Underscores are the default variable name for the default set. As it explicitly creates set 'a', what is in the default set? Is it a copy of set 'a'?


asked 05 Jun '18, 22:59

DaveF's gravatar image

accept rate: 16%

I'm not sure about the set question. As for your other question, it looks like it's counting how many buildings are within 1000m of each building. If there's only one (the building in question), then it's included as part of the results because there aren't any other buildings within 1000m.

(06 Jun '18, 00:09) alester

Ah, yes, of course. Thanks. Clearer now. I tried swapping '_' with 'a' & got different results so It appears it isn't a copy of 'a'

(06 Jun '18, 12:20) DaveF
Be the first one to answer this question!
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: 05 Jun '18, 22:59

question was seen: 909 times

last updated: 06 Jun '18, 12:20

powered by OSQA