rules.osm 499 B

123456789101112131415161718192021222324252627
  1. <union>
  2. <query type="way">
  3. <has-kv k="triangle"/>
  4. </query>
  5. <query type="way">
  6. <has-kv k="shapes"/>
  7. </query>
  8. </union>
  9. <foreach into="way">
  10. <union>
  11. <recurse type="way-node" from="way"/>
  12. <item set="way"/>
  13. </union>
  14. <make-area pivot="way"/>
  15. </foreach>
  16. <query type="relation">
  17. <has-kv k="multpoly"/>
  18. </query>
  19. <foreach into="pivot">
  20. <union>
  21. <recurse type="relation-way" from="pivot"/>
  22. <recurse type="way-node"/>
  23. </union>
  24. <make-area pivot="pivot"/>
  25. </foreach>