Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. [out:json][timeout:250];
  2. //gather results
  3. (
  4.  
  5. (node["place"="city"](47.8,5.6,50.6,11.2);)->.a1;
  6. (node["place"="ocean"](0,-180,90,0);)->.a2;
  7.  
  8.  
  9.  
  10. foreach.a1(
  11.  
  12. convert node ::=::, ::id = id(), tileId = 0;
  13. out;
  14. );
  15.  
  16. foreach.a2(
  17.  
  18. convert node ::=::, ::id = id(), tileId = 1;
  19. out;
  20. );
  21.  
  22.  
  23.  
  24. );
  25.  
  26. convert node ::=::, ::id = id(), ::geometry = geometry(), tileId = 0;
  27. out;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement