Guest User

Untitled

a guest
Aug 5th, 2020
96
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <osm-script>
  2. <query type="way" into="hw">
  3. <has-kv k="highway"/>
  4. <has-kv k="highway" modv="not" regv="footway|cycleway|path|service|track"/>
  5. <bbox-query e="51.0" n="50.748" s="50.746" w="7.154"/>
  6. </query>
  7.  
  8. <foreach from="hw" into="w">
  9. <recurse from="w" type="way-node" into="ns"/>
  10. <recurse from="ns" type="node-way" into="w2"/>
  11. <query type="way" into="w2">
  12. <item set="w2"/>
  13. <has-kv k="highway"/>
  14. <has-kv k="highway" modv="not" regv="footway|cycleway|path|service|track"/>
  15. </query>
  16. <difference into="wd">
  17. <item set="w2"/>
  18. <item set="w"/>
  19. </difference>
  20. <recurse from="wd" type="way-node" into="n2"/>
  21. <recurse from="w" type="way-node" into="n3"/>
  22. <query type="node">
  23. <item set="n2"/>
  24. <item set="n3"/>
  25. </query>
  26. <print/>
  27. </foreach>
  28. </osm-script>
RAW Paste Data