{"id":8493,"date":"2016-11-03T16:16:15","date_gmt":"2016-11-03T15:16:15","guid":{"rendered":"http:\/\/www.wjst.de\/blog\/?p=8493"},"modified":"2016-11-03T16:17:40","modified_gmt":"2016-11-03T15:17:40","slug":"so-many-new-layers","status":"publish","type":"post","link":"https:\/\/www.wjst.de\/blog\/sciencesurf\/2016\/11\/so-many-new-layers\/","title":{"rendered":"So many new layers"},"content":{"rendered":"<p>More recently, I have updated http:\/cycleplanner.wjst.de with many more custome layers. It&#8217;s \u00a0a bit cumbersome to find \u00a0the best data sets out there while using it in leaflet is usually straightforward.<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8494 aligncenter\" src=\"https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2016\/11\/screen.jpg\" alt=\"screen\" width=\"558\" height=\"698\" srcset=\"https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2016\/11\/screen.jpg 558w, https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2016\/11\/screen-400x500.jpg 400w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/> Openstreetmap items work great with the<a href=\"http:\/\/wiki.openstreetmap.org\/wiki\/Overpass_API\"> overpass api<\/a>\u00a0which has a bit complicated syntax. Here is an example of an OR (union) query<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nvar fuel = new L.OverPassLayer({\r\nquery: &quot;(node&#x5B;'amenity'='fuel'](BBOX);node&#x5B;'amenity'='fast_food'](BBOX);node&#x5B;'amenity'='kiosk'](BBOX););(._;&amp;amp;gt;;);out;&quot;\r\n});\r\n<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-8495 aligncenter\" src=\"https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2016\/11\/Bildschirmfoto-2016-11-03-um-16.11.50-620x449.jpg\" alt=\"bildschirmfoto-2016-11-03-um-16-11-50\" width=\"620\" height=\"449\" srcset=\"https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2016\/11\/Bildschirmfoto-2016-11-03-um-16.11.50-620x449.jpg 620w, https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2016\/11\/Bildschirmfoto-2016-11-03-um-16.11.50-768x556.jpg 768w, https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2016\/11\/Bildschirmfoto-2016-11-03-um-16.11.50-690x500.jpg 690w, https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2016\/11\/Bildschirmfoto-2016-11-03-um-16.11.50.jpg 1398w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/p>\n\n<p>&nbsp;<\/p>\n<div class=\"bottom-note\">\n  <span class=\"mod1\">CC-BY-NC Science Surf , accessed 10.04.2026<\/span>\n <\/div>","protected":false},"excerpt":{"rendered":"<p>More recently, I have updated http:\/cycleplanner.wjst.de with many more custome layers. It&#8217;s \u00a0a bit cumbersome to find \u00a0the best data sets out there while using it in leaflet is usually straightforward. Openstreetmap items work great with the overpass api\u00a0which has a bit complicated syntax. Here is an example of an OR (union) query var fuel &hellip; <a href=\"https:\/\/www.wjst.de\/blog\/sciencesurf\/2016\/11\/so-many-new-layers\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">So many new layers<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-8493","post","type-post","status-publish","format-standard","hentry","category-computer-software"],"_links":{"self":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/8493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/comments?post=8493"}],"version-history":[{"count":2,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/8493\/revisions"}],"predecessor-version":[{"id":8497,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/8493\/revisions\/8497"}],"wp:attachment":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/media?parent=8493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/categories?post=8493"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/tags?post=8493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}