@trailstash/ultra 3.0.0-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitlab-ci.yml +15 -0
- package/Examples/alt-bbox-format.ultra +9 -0
- package/Examples/atp-usps-dropboxes.ultra +68 -0
- package/Examples/bike-infra.ultra +111 -0
- package/Examples/contribution-heatmap.ultra +17 -0
- package/Examples/custom-style.ultra +114 -0
- package/Examples/glow-effect.ultra +27 -0
- package/Examples/index.md +7 -0
- package/Examples/landmarks-prototype.ultra +68 -0
- package/Examples/minimalist-ski-map.ultra +55 -0
- package/Examples/opentrailstash-3d.ultra +40 -0
- package/Examples/overture-landcover-plus-hillshade.ultra +45 -0
- package/Examples/overture-places-and-osm.ultra +29 -0
- package/Examples/trees.ultra +60 -0
- package/Examples/wikidata-photo.ultra +28 -0
- package/Examples/within-bounds.ultra +12 -0
- package/LICENSE +23 -0
- package/MapLibre-Examples/3d-buildings.ultra +43 -0
- package/MapLibre-Examples/3d-extrusion-floorplan.ultra +28 -0
- package/MapLibre-Examples/3d-terrain.ultra +39 -0
- package/MapLibre-Examples/add-image.ultra +26 -0
- package/MapLibre-Examples/attribution-position.ultra +12 -0
- package/MapLibre-Examples/change-case-of-labels.ultra +26 -0
- package/MapLibre-Examples/cluster.ultra +59 -0
- package/MapLibre-Examples/cooperative-gestures.ultra +11 -0
- package/MapLibre-Examples/custom-marker-icons.ultra +65 -0
- package/MapLibre-Examples/data-driven-lines.ultra +169 -0
- package/MapLibre-Examples/disable-rotation.ultra +11 -0
- package/MapLibre-Examples/disable-scroll-zoom.ultra +9 -0
- package/MapLibre-Examples/display-and-style-rich-text-labels.ultra +22 -0
- package/MapLibre-Examples/fill-pattern.ultra +43 -0
- package/MapLibre-Examples/fullscreen.ultra +10 -0
- package/MapLibre-Examples/geojson-layer-in-stack.ultra +23 -0
- package/MapLibre-Examples/geojson-line.ultra +114 -0
- package/MapLibre-Examples/geojson-markers.ultra +217 -0
- package/MapLibre-Examples/geojson-polygon.ultra +104 -0
- package/MapLibre-Examples/heatmap-layer.ultra +111 -0
- package/MapLibre-Examples/index.md +4 -0
- package/MapLibre-Examples/locate-user.ultra +14 -0
- package/MapLibre-Examples/map-tiles.ultra +9 -0
- package/MapLibre-Examples/pmtiles.ultra +25 -0
- package/MapLibre-Examples/wms.ultra +14 -0
- package/README.md +46 -0
- package/bin/dev.cmd +3 -0
- package/bin/dev.js +6 -0
- package/bin/run.cmd +3 -0
- package/bin/run.js +5 -0
- package/build-examples-docs.js +104 -0
- package/build-examples-images.js +87 -0
- package/build-sprites.sh +30 -0
- package/cli/build.js +53 -0
- package/cli/serve.js +34 -0
- package/components/button-modal.js +111 -0
- package/components/button.css +22 -0
- package/components/button.js +6 -0
- package/components/code-editor.js +87 -0
- package/components/download-button.js +69 -0
- package/components/fontawesome-icon.js +80 -0
- package/components/fs-button.js +52 -0
- package/components/help-modal.js +98 -0
- package/components/map-popup.js +57 -0
- package/components/nav-bar.js +76 -0
- package/components/run-button.js +78 -0
- package/components/share-button.js +35 -0
- package/components/share-modal.js +139 -0
- package/components/style-picker.js +47 -0
- package/components/ultra-ide.js +298 -0
- package/components/ultra-loader.js +60 -0
- package/components/ultra-map.js +312 -0
- package/configs/minimal.js +9 -0
- package/configs/overpass-ultra.js +185 -0
- package/docs/assets/Examples/alt-bbox-format.png +0 -0
- package/docs/assets/Examples/atp-usps-dropboxes.png +0 -0
- package/docs/assets/Examples/bike-infra.png +0 -0
- package/docs/assets/Examples/contribution-heatmap.png +0 -0
- package/docs/assets/Examples/custom-style.png +0 -0
- package/docs/assets/Examples/glow-effect.png +0 -0
- package/docs/assets/Examples/landmarks-prototype.png +0 -0
- package/docs/assets/Examples/minimalist-ski-map.png +0 -0
- package/docs/assets/Examples/opentrailstash-3d.png +0 -0
- package/docs/assets/Examples/overture-landcover-plus-hillshade.png +0 -0
- package/docs/assets/Examples/overture-places-and-osm.png +0 -0
- package/docs/assets/Examples/trees.png +0 -0
- package/docs/assets/Examples/wikidata-photo.png +0 -0
- package/docs/assets/Examples/within-bounds.png +0 -0
- package/docs/assets/MapLibre-Examples/3d-buildings.png +0 -0
- package/docs/assets/MapLibre-Examples/3d-extrusion-floorplan.png +0 -0
- package/docs/assets/MapLibre-Examples/3d-terrain.png +0 -0
- package/docs/assets/MapLibre-Examples/add-image.png +0 -0
- package/docs/assets/MapLibre-Examples/attribution-position.png +0 -0
- package/docs/assets/MapLibre-Examples/change-case-of-labels.png +0 -0
- package/docs/assets/MapLibre-Examples/cluster.png +0 -0
- package/docs/assets/MapLibre-Examples/cooperative-gestures.png +0 -0
- package/docs/assets/MapLibre-Examples/custom-marker-icons.png +0 -0
- package/docs/assets/MapLibre-Examples/data-driven-lines.png +0 -0
- package/docs/assets/MapLibre-Examples/disable-rotation.png +0 -0
- package/docs/assets/MapLibre-Examples/disable-scroll-zoom.png +0 -0
- package/docs/assets/MapLibre-Examples/display-and-style-rich-text-labels.png +0 -0
- package/docs/assets/MapLibre-Examples/fill-pattern.png +0 -0
- package/docs/assets/MapLibre-Examples/fullscreen.png +0 -0
- package/docs/assets/MapLibre-Examples/geojson-layer-in-stack.png +0 -0
- package/docs/assets/MapLibre-Examples/geojson-line.png +0 -0
- package/docs/assets/MapLibre-Examples/geojson-markers.png +0 -0
- package/docs/assets/MapLibre-Examples/geojson-polygon.png +0 -0
- package/docs/assets/MapLibre-Examples/heatmap-layer.png +0 -0
- package/docs/assets/MapLibre-Examples/locate-user.png +0 -0
- package/docs/assets/MapLibre-Examples/map-tiles.png +0 -0
- package/docs/assets/MapLibre-Examples/pmtiles.png +0 -0
- package/docs/assets/MapLibre-Examples/wms.png +0 -0
- package/docs/assets/data/Examples/atp_usps_collection_boxes.geojson +1 -0
- package/docs/further-reading.md +15 -0
- package/docs/index.md +55 -0
- package/docs/overrides/partials/integrations/analytics/custom.html +11 -0
- package/docs/query-shortcuts.md +21 -0
- package/docs/style.md +120 -0
- package/docs/url-parameters.md +45 -0
- package/docs/yaml.md +117 -0
- package/index.js +53 -0
- package/lib/base.css +12 -0
- package/lib/bounds.js +8 -0
- package/lib/dom.js +21 -0
- package/lib/glyphFallback.js +31 -0
- package/lib/localStorage.js +34 -0
- package/lib/normalize.js +5 -0
- package/lib/queryMap.js +50 -0
- package/lib/queryParams.js +142 -0
- package/lib/queryProviders/auto.js +47 -0
- package/lib/queryProviders/geojson.js +134 -0
- package/lib/queryProviders/gpx.js +101 -0
- package/lib/queryProviders/index.js +22 -0
- package/lib/queryProviders/kml.js +132 -0
- package/lib/queryProviders/osm.js +199 -0
- package/lib/queryProviders/overpass.js +162 -0
- package/lib/queryProviders/raster.js +23 -0
- package/lib/queryProviders/tcx.js +105 -0
- package/lib/queryProviders/vector.js +13 -0
- package/lib/settings.js +72 -0
- package/lib/sprites.js +18 -0
- package/lib/style.js +222 -0
- package/mkdocs.yml +26 -0
- package/package.json +80 -0
- package/screenshot.png +0 -0
- package/static/embed.js +18 -0
- package/static/font/0-255.pbf +0 -0
- package/static/font/1024-1279.pbf +0 -0
- package/static/font/10240-10495.pbf +3 -0
- package/static/font/10496-10751.pbf +0 -0
- package/static/font/10752-11007.pbf +3 -0
- package/static/font/11008-11263.pbf +0 -0
- package/static/font/11264-11519.pbf +0 -0
- package/static/font/11520-11775.pbf +0 -0
- package/static/font/11776-12031.pbf +0 -0
- package/static/font/12032-12287.pbf +0 -0
- package/static/font/12288-12543.pbf +0 -0
- package/static/font/12544-12799.pbf +0 -0
- package/static/font/1280-1535.pbf +0 -0
- package/static/font/12800-13055.pbf +0 -0
- package/static/font/13056-13311.pbf +0 -0
- package/static/font/13312-13567.pbf +0 -0
- package/static/font/13568-13823.pbf +0 -0
- package/static/font/13824-14079.pbf +0 -0
- package/static/font/14080-14335.pbf +0 -0
- package/static/font/14336-14591.pbf +0 -0
- package/static/font/14592-14847.pbf +0 -0
- package/static/font/14848-15103.pbf +0 -0
- package/static/font/15104-15359.pbf +0 -0
- package/static/font/1536-1791.pbf +0 -0
- package/static/font/15360-15615.pbf +0 -0
- package/static/font/15616-15871.pbf +0 -0
- package/static/font/15872-16127.pbf +0 -0
- package/static/font/16128-16383.pbf +0 -0
- package/static/font/16384-16639.pbf +0 -0
- package/static/font/16640-16895.pbf +0 -0
- package/static/font/16896-17151.pbf +0 -0
- package/static/font/17152-17407.pbf +0 -0
- package/static/font/17408-17663.pbf +0 -0
- package/static/font/17664-17919.pbf +0 -0
- package/static/font/1792-2047.pbf +0 -0
- package/static/font/17920-18175.pbf +0 -0
- package/static/font/18176-18431.pbf +0 -0
- package/static/font/18432-18687.pbf +0 -0
- package/static/font/18688-18943.pbf +0 -0
- package/static/font/18944-19199.pbf +0 -0
- package/static/font/19200-19455.pbf +0 -0
- package/static/font/19456-19711.pbf +0 -0
- package/static/font/19712-19967.pbf +0 -0
- package/static/font/19968-20223.pbf +0 -0
- package/static/font/20224-20479.pbf +0 -0
- package/static/font/2048-2303.pbf +0 -0
- package/static/font/20480-20735.pbf +0 -0
- package/static/font/20736-20991.pbf +0 -0
- package/static/font/20992-21247.pbf +0 -0
- package/static/font/21248-21503.pbf +0 -0
- package/static/font/21504-21759.pbf +0 -0
- package/static/font/21760-22015.pbf +0 -0
- package/static/font/22016-22271.pbf +0 -0
- package/static/font/22272-22527.pbf +192 -26
- package/static/font/22528-22783.pbf +0 -0
- package/static/font/22784-23039.pbf +0 -0
- package/static/font/2304-2559.pbf +0 -0
- package/static/font/23040-23295.pbf +0 -0
- package/static/font/23296-23551.pbf +0 -0
- package/static/font/23552-23807.pbf +0 -0
- package/static/font/23808-24063.pbf +0 -0
- package/static/font/24064-24319.pbf +0 -0
- package/static/font/24320-24575.pbf +0 -0
- package/static/font/24576-24831.pbf +0 -0
- package/static/font/24832-25087.pbf +0 -0
- package/static/font/25088-25343.pbf +0 -0
- package/static/font/25344-25599.pbf +0 -0
- package/static/font/256-511.pbf +0 -0
- package/static/font/2560-2815.pbf +0 -0
- package/static/font/25600-25855.pbf +0 -0
- package/static/font/25856-26111.pbf +0 -0
- package/static/font/26112-26367.pbf +0 -0
- package/static/font/26368-26623.pbf +0 -0
- package/static/font/26624-26879.pbf +0 -0
- package/static/font/26880-27135.pbf +0 -0
- package/static/font/27136-27391.pbf +0 -0
- package/static/font/27392-27647.pbf +0 -0
- package/static/font/27648-27903.pbf +0 -0
- package/static/font/27904-28159.pbf +0 -0
- package/static/font/2816-3071.pbf +0 -0
- package/static/font/28160-28415.pbf +0 -0
- package/static/font/28416-28671.pbf +0 -0
- package/static/font/28672-28927.pbf +0 -0
- package/static/font/28928-29183.pbf +0 -0
- package/static/font/29184-29439.pbf +0 -0
- package/static/font/29440-29695.pbf +0 -0
- package/static/font/29696-29951.pbf +0 -0
- package/static/font/29952-30207.pbf +0 -0
- package/static/font/30208-30463.pbf +0 -0
- package/static/font/30464-30719.pbf +0 -0
- package/static/font/3072-3327.pbf +0 -0
- package/static/font/30720-30975.pbf +0 -0
- package/static/font/30976-31231.pbf +0 -0
- package/static/font/31232-31487.pbf +0 -0
- package/static/font/31488-31743.pbf +0 -0
- package/static/font/31744-31999.pbf +0 -0
- package/static/font/32000-32255.pbf +0 -0
- package/static/font/32256-32511.pbf +0 -0
- package/static/font/32512-32767.pbf +0 -0
- package/static/font/32768-33023.pbf +0 -0
- package/static/font/33024-33279.pbf +0 -0
- package/static/font/3328-3583.pbf +0 -0
- package/static/font/33280-33535.pbf +0 -0
- package/static/font/33536-33791.pbf +0 -0
- package/static/font/33792-34047.pbf +0 -0
- package/static/font/34048-34303.pbf +0 -0
- package/static/font/34304-34559.pbf +0 -0
- package/static/font/34560-34815.pbf +0 -0
- package/static/font/34816-35071.pbf +0 -0
- package/static/font/35072-35327.pbf +0 -0
- package/static/font/35328-35583.pbf +0 -0
- package/static/font/35584-35839.pbf +0 -0
- package/static/font/3584-3839.pbf +0 -0
- package/static/font/35840-36095.pbf +0 -0
- package/static/font/36096-36351.pbf +0 -0
- package/static/font/36352-36607.pbf +0 -0
- package/static/font/36608-36863.pbf +0 -0
- package/static/font/36864-37119.pbf +0 -0
- package/static/font/37120-37375.pbf +0 -0
- package/static/font/37376-37631.pbf +0 -0
- package/static/font/37632-37887.pbf +0 -0
- package/static/font/37888-38143.pbf +0 -0
- package/static/font/38144-38399.pbf +0 -0
- package/static/font/3840-4095.pbf +0 -0
- package/static/font/38400-38655.pbf +45 -4
- package/static/font/38656-38911.pbf +0 -0
- package/static/font/38912-39167.pbf +0 -0
- package/static/font/39168-39423.pbf +0 -0
- package/static/font/39424-39679.pbf +0 -0
- package/static/font/39680-39935.pbf +0 -0
- package/static/font/39936-40191.pbf +0 -0
- package/static/font/40192-40447.pbf +0 -0
- package/static/font/40448-40703.pbf +0 -0
- package/static/font/40704-40959.pbf +0 -0
- package/static/font/4096-4351.pbf +0 -0
- package/static/font/40960-41215.pbf +3 -0
- package/static/font/41216-41471.pbf +3 -0
- package/static/font/41472-41727.pbf +3 -0
- package/static/font/41728-41983.pbf +3 -0
- package/static/font/41984-42239.pbf +3 -0
- package/static/font/42240-42495.pbf +3 -0
- package/static/font/42496-42751.pbf +3 -0
- package/static/font/42752-43007.pbf +0 -0
- package/static/font/43008-43263.pbf +0 -0
- package/static/font/43264-43519.pbf +0 -0
- package/static/font/4352-4607.pbf +0 -0
- package/static/font/43520-43775.pbf +0 -0
- package/static/font/43776-44031.pbf +0 -0
- package/static/font/44032-44287.pbf +0 -0
- package/static/font/44288-44543.pbf +0 -0
- package/static/font/44544-44799.pbf +0 -0
- package/static/font/44800-45055.pbf +0 -0
- package/static/font/45056-45311.pbf +0 -0
- package/static/font/45312-45567.pbf +0 -0
- package/static/font/45568-45823.pbf +0 -0
- package/static/font/45824-46079.pbf +0 -0
- package/static/font/4608-4863.pbf +0 -0
- package/static/font/46080-46335.pbf +0 -0
- package/static/font/46336-46591.pbf +0 -0
- package/static/font/46592-46847.pbf +0 -0
- package/static/font/46848-47103.pbf +0 -0
- package/static/font/47104-47359.pbf +0 -0
- package/static/font/47360-47615.pbf +0 -0
- package/static/font/47616-47871.pbf +0 -0
- package/static/font/47872-48127.pbf +0 -0
- package/static/font/48128-48383.pbf +0 -0
- package/static/font/48384-48639.pbf +0 -0
- package/static/font/4864-5119.pbf +0 -0
- package/static/font/48640-48895.pbf +0 -0
- package/static/font/48896-49151.pbf +0 -0
- package/static/font/49152-49407.pbf +0 -0
- package/static/font/49408-49663.pbf +0 -0
- package/static/font/49664-49919.pbf +0 -0
- package/static/font/49920-50175.pbf +0 -0
- package/static/font/50176-50431.pbf +0 -0
- package/static/font/50432-50687.pbf +0 -0
- package/static/font/50688-50943.pbf +0 -0
- package/static/font/50944-51199.pbf +0 -0
- package/static/font/512-767.pbf +0 -0
- package/static/font/5120-5375.pbf +3 -0
- package/static/font/51200-51455.pbf +0 -0
- package/static/font/51456-51711.pbf +0 -0
- package/static/font/51712-51967.pbf +0 -0
- package/static/font/51968-52223.pbf +0 -0
- package/static/font/52224-52479.pbf +0 -0
- package/static/font/52480-52735.pbf +0 -0
- package/static/font/52736-52991.pbf +0 -0
- package/static/font/52992-53247.pbf +0 -0
- package/static/font/53248-53503.pbf +0 -0
- package/static/font/53504-53759.pbf +0 -0
- package/static/font/5376-5631.pbf +3 -0
- package/static/font/53760-54015.pbf +0 -0
- package/static/font/54016-54271.pbf +0 -0
- package/static/font/54272-54527.pbf +0 -0
- package/static/font/54528-54783.pbf +0 -0
- package/static/font/54784-55039.pbf +0 -0
- package/static/font/55040-55295.pbf +0 -0
- package/static/font/55296-55551.pbf +3 -0
- package/static/font/55552-55807.pbf +3 -0
- package/static/font/55808-56063.pbf +3 -0
- package/static/font/56064-56319.pbf +3 -0
- package/static/font/5632-5887.pbf +3 -0
- package/static/font/56320-56575.pbf +3 -0
- package/static/font/56576-56831.pbf +3 -0
- package/static/font/56832-57087.pbf +3 -0
- package/static/font/57088-57343.pbf +3 -0
- package/static/font/57344-57599.pbf +3 -0
- package/static/font/57600-57855.pbf +3 -0
- package/static/font/57856-58111.pbf +3 -0
- package/static/font/58112-58367.pbf +3 -0
- package/static/font/58368-58623.pbf +3 -0
- package/static/font/58624-58879.pbf +3 -0
- package/static/font/5888-6143.pbf +0 -0
- package/static/font/58880-59135.pbf +3 -0
- package/static/font/59136-59391.pbf +3 -0
- package/static/font/59392-59647.pbf +3 -0
- package/static/font/59648-59903.pbf +3 -0
- package/static/font/59904-60159.pbf +3 -0
- package/static/font/60160-60415.pbf +3 -0
- package/static/font/60416-60671.pbf +3 -0
- package/static/font/60672-60927.pbf +3 -0
- package/static/font/60928-61183.pbf +3 -0
- package/static/font/61184-61439.pbf +3 -0
- package/static/font/6144-6399.pbf +0 -0
- package/static/font/61440-61695.pbf +3 -0
- package/static/font/61696-61951.pbf +3 -0
- package/static/font/61952-62207.pbf +3 -0
- package/static/font/62208-62463.pbf +3 -0
- package/static/font/62464-62719.pbf +3 -0
- package/static/font/62720-62975.pbf +3 -0
- package/static/font/62976-63231.pbf +3 -0
- package/static/font/63232-63487.pbf +3 -0
- package/static/font/63488-63743.pbf +3 -0
- package/static/font/63744-63999.pbf +0 -0
- package/static/font/6400-6655.pbf +0 -0
- package/static/font/64000-64255.pbf +0 -0
- package/static/font/64256-64511.pbf +0 -0
- package/static/font/64512-64767.pbf +0 -0
- package/static/font/64768-65023.pbf +0 -0
- package/static/font/65024-65279.pbf +0 -0
- package/static/font/65280-65535.pbf +0 -0
- package/static/font/6656-6911.pbf +3 -0
- package/static/font/6912-7167.pbf +0 -0
- package/static/font/7168-7423.pbf +0 -0
- package/static/font/7424-7679.pbf +0 -0
- package/static/font/768-1023.pbf +0 -0
- package/static/font/7680-7935.pbf +0 -0
- package/static/font/7936-8191.pbf +0 -0
- package/static/font/8192-8447.pbf +0 -0
- package/static/font/8448-8703.pbf +0 -0
- package/static/font/8704-8959.pbf +0 -0
- package/static/font/8960-9215.pbf +0 -0
- package/static/font/9216-9471.pbf +0 -0
- package/static/font/9472-9727.pbf +0 -0
- package/static/font/9728-9983.pbf +0 -0
- package/static/font/9984-10239.pbf +0 -0
- package/static/index.html +59 -0
- package/static/logo.png +0 -0
- package/static/logo.svg +78 -0
- package/static/mapbox-gl-rtl-text@0.2.3.js +9851 -0
- package/static/minimal.js +9 -0
- package/static/minimal.json +7 -0
- package/static/sprites/maki.json +1706 -0
- package/static/sprites/maki.license +116 -0
- package/static/sprites/maki.png +0 -0
- package/static/sprites/maki@2x.json +1706 -0
- package/static/sprites/maki@2x.png +0 -0
- package/static/sprites/temaki.json +4306 -0
- package/static/sprites/temaki.license +118 -0
- package/static/sprites/temaki.png +0 -0
- package/static/sprites/temaki@2x.json +4306 -0
- package/static/sprites/temaki@2x.png +0 -0
package/.gitlab-ci.yml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
pages:
|
|
2
|
+
image: node:18
|
|
3
|
+
script:
|
|
4
|
+
- apt update && apt install -y mkdocs-material
|
|
5
|
+
- npm ci
|
|
6
|
+
- npm run build -- -c ./configs/lab/index.js
|
|
7
|
+
- npm run build:examples-docs
|
|
8
|
+
- npm run build:maplibre-examples-docs
|
|
9
|
+
- npm run build:docs
|
|
10
|
+
- npm run build:pages
|
|
11
|
+
artifacts:
|
|
12
|
+
paths:
|
|
13
|
+
- public
|
|
14
|
+
only:
|
|
15
|
+
- main
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Load GeoJSON with custom BBOX format
|
|
3
|
+
description: Load GeoJSON from the Bunting Labs API using the east/west/south/north shortcuts.
|
|
4
|
+
type: geojson
|
|
5
|
+
options:
|
|
6
|
+
center: [-122.6847, 45.5112]
|
|
7
|
+
zoom: 15
|
|
8
|
+
---
|
|
9
|
+
https://osm.buntinglabs.com/v1/osm/extract?bbox={{west}},{{south}},{{east}},{{north}}&tags=amenity%3Dbicycle_repair_station&api_key=4WBfyRaP9pGv
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: ATP USPS Dropboxes
|
|
3
|
+
description: Load and style USPS Dropboxes from an [All The Places](https://alltheplaces.xyz) dump.
|
|
4
|
+
type: geojson
|
|
5
|
+
options:
|
|
6
|
+
center: [ -90.2027, 38.6339 ]
|
|
7
|
+
zoom: 11
|
|
8
|
+
style:
|
|
9
|
+
layers:
|
|
10
|
+
- type: circle
|
|
11
|
+
minzoom: 6
|
|
12
|
+
circle-color: darkblue
|
|
13
|
+
circle-stroke-color: white
|
|
14
|
+
circle-radius: 3
|
|
15
|
+
circle-stroke-width: 2
|
|
16
|
+
circle-opacity:
|
|
17
|
+
- interpolate
|
|
18
|
+
- [linear]
|
|
19
|
+
- [zoom]
|
|
20
|
+
- 6
|
|
21
|
+
- 0
|
|
22
|
+
- 7
|
|
23
|
+
- 1
|
|
24
|
+
circle-stroke-opacity:
|
|
25
|
+
- interpolate
|
|
26
|
+
- [linear]
|
|
27
|
+
- [zoom]
|
|
28
|
+
- 6
|
|
29
|
+
- 0
|
|
30
|
+
- 7
|
|
31
|
+
- 1
|
|
32
|
+
- type: heatmap
|
|
33
|
+
maxzoom: 8
|
|
34
|
+
heatmap-weight: .01
|
|
35
|
+
heatmap-color:
|
|
36
|
+
- interpolate
|
|
37
|
+
- [linear]
|
|
38
|
+
- [heatmap-density]
|
|
39
|
+
- 0
|
|
40
|
+
- rgba(255,255,255,0)
|
|
41
|
+
- 0.1
|
|
42
|
+
- darkblue
|
|
43
|
+
- 1
|
|
44
|
+
- white
|
|
45
|
+
heatmap-opacity:
|
|
46
|
+
- interpolate
|
|
47
|
+
- [linear]
|
|
48
|
+
- [zoom]
|
|
49
|
+
- 6
|
|
50
|
+
- 1
|
|
51
|
+
- 7
|
|
52
|
+
- 0
|
|
53
|
+
- type: symbol
|
|
54
|
+
minzoom: 10
|
|
55
|
+
icon-image: temaki:post_box
|
|
56
|
+
icon-color: darkblue
|
|
57
|
+
icon-halo-color: white
|
|
58
|
+
icon-halo-width: 3
|
|
59
|
+
icon-opacity:
|
|
60
|
+
- interpolate
|
|
61
|
+
- [linear]
|
|
62
|
+
- [zoom]
|
|
63
|
+
- 10
|
|
64
|
+
- 0
|
|
65
|
+
- 11
|
|
66
|
+
- 1
|
|
67
|
+
---
|
|
68
|
+
https://overpass-ultra.us/docs/assets/data/Examples/atp_usps_collection_boxes.geojson
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Bike Infrastructure
|
|
3
|
+
description: Query and style bikelanes, bike parking, repair stations, and bike shops.
|
|
4
|
+
options:
|
|
5
|
+
zoom: 14
|
|
6
|
+
center: [-77.4705, 37.5686]
|
|
7
|
+
style:
|
|
8
|
+
extends: https://styles.trailsta.sh/openmaptiles-osm.json
|
|
9
|
+
layers:
|
|
10
|
+
- type: line
|
|
11
|
+
beforeLayerId: road_path_oneway
|
|
12
|
+
filter:
|
|
13
|
+
- any
|
|
14
|
+
- [ ==, [ get, cycleway ], track ]
|
|
15
|
+
- [ ==, [ get, 'cycleway:right' ], track ]
|
|
16
|
+
- [ ==, [ get, 'cycleway:left' ], track ]
|
|
17
|
+
paint: &paint
|
|
18
|
+
line-width:
|
|
19
|
+
stops: [ [ 13, 2.5 ], [ 16, 4 ] ]
|
|
20
|
+
line-color: blue
|
|
21
|
+
- type: line
|
|
22
|
+
beforeLayerId: road_path_oneway
|
|
23
|
+
filter:
|
|
24
|
+
- any
|
|
25
|
+
- [ ==, [ get, cycleway ], lane ]
|
|
26
|
+
- [ ==, [ get, 'cycleway:right' ], lane ]
|
|
27
|
+
- [ ==, [ get, 'cycleway:left' ], lane ]
|
|
28
|
+
paint:
|
|
29
|
+
<<: *paint
|
|
30
|
+
line-dasharray: [ 4, 2 ]
|
|
31
|
+
- type: line
|
|
32
|
+
beforeLayerId: road_path_oneway
|
|
33
|
+
filter:
|
|
34
|
+
- any
|
|
35
|
+
- [ ==, [ get, cycleway ], shared_lane ]
|
|
36
|
+
- [ ==, [ get, 'cycleway:right' ], shared_lane ]
|
|
37
|
+
- [ ==, [ get, 'cycleway:left' ], shared_lane ]
|
|
38
|
+
paint:
|
|
39
|
+
<<: *paint
|
|
40
|
+
line-dasharray: [ 1, 2 ]
|
|
41
|
+
- type: line
|
|
42
|
+
beforeLayerId: road_path_oneway
|
|
43
|
+
filter: [ ==, [ get, highway ], cycleway ]
|
|
44
|
+
paint:
|
|
45
|
+
<<: *paint
|
|
46
|
+
line-color: darkblue
|
|
47
|
+
- type: symbol
|
|
48
|
+
filter: [ ==, [ geometry-type ], Point ]
|
|
49
|
+
icon-halo-width: 2
|
|
50
|
+
icon-halo-blur: 1
|
|
51
|
+
icon-halo-color: white
|
|
52
|
+
icon-size:
|
|
53
|
+
- case
|
|
54
|
+
- [ ==, [ get, amenity ], bicycle_repair_station ]
|
|
55
|
+
- 0.75
|
|
56
|
+
- [ ==, [ get, amenity ], bicycle_parking ]
|
|
57
|
+
- 0.5
|
|
58
|
+
- [ ==, [ get, bicycle_rental ], docking_station ]
|
|
59
|
+
- 0.75
|
|
60
|
+
- 1
|
|
61
|
+
icon-color:
|
|
62
|
+
- case
|
|
63
|
+
- [ ==, [ get, amenity ], bicycle_repair_station ]
|
|
64
|
+
- rgb(0, 146, 218)
|
|
65
|
+
- [ ==, [ get, amenity ], bicycle_parking ]
|
|
66
|
+
- rgb(0, 146, 218)
|
|
67
|
+
- [ ==, [ get, bicycle_rental ], docking_station ]
|
|
68
|
+
- rgb(0, 146, 218)
|
|
69
|
+
- [ ==, [ get, shop ], bicycle ]
|
|
70
|
+
- rgb(172, 57, 172)
|
|
71
|
+
- [ ==, [ get, amenity ], bicycle_rental ]
|
|
72
|
+
- rgb(172, 57, 172)
|
|
73
|
+
- black
|
|
74
|
+
symbol-sort-key:
|
|
75
|
+
- case
|
|
76
|
+
- [ ==, [ get, amenity ], bicycle_repair_station ]
|
|
77
|
+
- 30
|
|
78
|
+
- [ ==, [ get, amenity ], bicycle_parking ]
|
|
79
|
+
- 40
|
|
80
|
+
- [ ==, [ get, amenity ], bicycle_rental ]
|
|
81
|
+
- 10
|
|
82
|
+
- [ ==, [ get, shop ], bicycle ]
|
|
83
|
+
- 0
|
|
84
|
+
- 50
|
|
85
|
+
icon-image:
|
|
86
|
+
- case
|
|
87
|
+
- [ ==, [ get, amenity ], bicycle_repair_station ]
|
|
88
|
+
- temaki:bicycle_repair
|
|
89
|
+
- [ ==, [ get, amenity ], bicycle_parking ]
|
|
90
|
+
- temaki:bicycle_parked
|
|
91
|
+
- [ ==, [ get, amenity ], bicycle_rental ]
|
|
92
|
+
- temaki:bicycle_rental
|
|
93
|
+
- [ ==, [ get, shop ], bicycle ]
|
|
94
|
+
- maki:bicycle
|
|
95
|
+
- maki:circle
|
|
96
|
+
---
|
|
97
|
+
[bbox:{{bbox}}];
|
|
98
|
+
(
|
|
99
|
+
nwr[shop=bicycle];
|
|
100
|
+
nwr[amenity=bicycle_rental];
|
|
101
|
+
nwr[amenity=bicycle_repair_station];
|
|
102
|
+
nwr[amenity=bicycle_parking];
|
|
103
|
+
);
|
|
104
|
+
out center;
|
|
105
|
+
(
|
|
106
|
+
way[cycleway][cycleway!=no];
|
|
107
|
+
way["cycleway:right"]["cycleway:right"!=no];
|
|
108
|
+
way["cycleway:left"]["cycleway:left"!=no];
|
|
109
|
+
way[highway=cycleway];
|
|
110
|
+
);
|
|
111
|
+
out geom;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: User Contribution Heatmap
|
|
3
|
+
description: Create a heatmap of your OSM mapping contributions.
|
|
4
|
+
options:
|
|
5
|
+
zoom: 8.82
|
|
6
|
+
center: [-77.4762, 37.555]
|
|
7
|
+
style:
|
|
8
|
+
layers:
|
|
9
|
+
- type: heatmap
|
|
10
|
+
paint:
|
|
11
|
+
heatmap-opacity: 0.5
|
|
12
|
+
heatmap-intensity: 1
|
|
13
|
+
heatmap-radius: 5
|
|
14
|
+
extends: https://styles.trailsta.sh/protomaps-black.json
|
|
15
|
+
---
|
|
16
|
+
nw(user_touched:"dpschep"); /* Change to your OSM username */
|
|
17
|
+
out skel;
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Create a custom map style
|
|
3
|
+
description: Define an entire MapLibre GL style in a query document.
|
|
4
|
+
type: vector
|
|
5
|
+
style:
|
|
6
|
+
version: 8
|
|
7
|
+
layers:
|
|
8
|
+
- type: background
|
|
9
|
+
background-color: white
|
|
10
|
+
- type: fill
|
|
11
|
+
source-layer: landuse
|
|
12
|
+
filter:
|
|
13
|
+
- any
|
|
14
|
+
- [==, 'pmap:kind', park]
|
|
15
|
+
- [==, 'pmap:kind', protected_area]
|
|
16
|
+
- [==, 'pmap:kind', national_park]
|
|
17
|
+
- [==, 'pmap:kind', nature_reserve]
|
|
18
|
+
fill-color: rgba(174, 210, 151, .5)
|
|
19
|
+
- type: line
|
|
20
|
+
source-layer: water
|
|
21
|
+
filter: [==, $type, LineString]
|
|
22
|
+
line-color: rgba(119, 187, 234, 1)
|
|
23
|
+
- type: fill
|
|
24
|
+
source-layer: water
|
|
25
|
+
filter: [==, $type, Polygon]
|
|
26
|
+
fill-color: rgba(119, 187, 234, 1)
|
|
27
|
+
- type: line
|
|
28
|
+
source-layer: boundaries
|
|
29
|
+
line-dasharray: [4, 4]
|
|
30
|
+
line-width: 0.5
|
|
31
|
+
line-color: rgba(39, 39, 39, 1)
|
|
32
|
+
- type: fill
|
|
33
|
+
source-layer: buildings
|
|
34
|
+
fill-color: rgba(206, 206, 206, 1)
|
|
35
|
+
- type: line
|
|
36
|
+
source-layer: transit
|
|
37
|
+
filter: [==, 'pmap:kind', rail]
|
|
38
|
+
line-color: rgba(160, 160, 160, 1)
|
|
39
|
+
- type: line
|
|
40
|
+
source-layer: transit
|
|
41
|
+
filter: [==, 'pmap:kind', rail]
|
|
42
|
+
line-color: rgba(119, 119, 119, 1)
|
|
43
|
+
line-dasharray: [4, 4]
|
|
44
|
+
- type: line
|
|
45
|
+
source-layer: highway
|
|
46
|
+
filter:
|
|
47
|
+
- any
|
|
48
|
+
- [==, type, path]
|
|
49
|
+
- [==, type, steps]
|
|
50
|
+
- [==, type, sidewalk]
|
|
51
|
+
line-color: black
|
|
52
|
+
line-width: 0.7
|
|
53
|
+
line-dasharray: [10, 3]
|
|
54
|
+
- type: line
|
|
55
|
+
source-layer: highway
|
|
56
|
+
filter:
|
|
57
|
+
- any
|
|
58
|
+
- [==, type, trail]
|
|
59
|
+
- [==, type, track]
|
|
60
|
+
line-color: black
|
|
61
|
+
line-width: 0.7
|
|
62
|
+
line-dasharray: [3, 3]
|
|
63
|
+
- type: line
|
|
64
|
+
source-layer: highway
|
|
65
|
+
filter:
|
|
66
|
+
- none
|
|
67
|
+
- [==, type, path]
|
|
68
|
+
- [==, type, trail]
|
|
69
|
+
- [==, type, steps]
|
|
70
|
+
- [==, type, cut]
|
|
71
|
+
- [==, type, sidewalk]
|
|
72
|
+
- [==, type, track]
|
|
73
|
+
line-color:
|
|
74
|
+
- case
|
|
75
|
+
- [==, type, freeway]
|
|
76
|
+
- darkgrey
|
|
77
|
+
- black
|
|
78
|
+
line-width:
|
|
79
|
+
- case
|
|
80
|
+
- [==, type, freeway]
|
|
81
|
+
- 4
|
|
82
|
+
- [==, type, highway]
|
|
83
|
+
- 3
|
|
84
|
+
- [==, type, major]
|
|
85
|
+
- 2
|
|
86
|
+
- 1
|
|
87
|
+
- type: line
|
|
88
|
+
source-layer: highway
|
|
89
|
+
filter:
|
|
90
|
+
- all
|
|
91
|
+
- [==, type, path]
|
|
92
|
+
- [==, bike, designated]
|
|
93
|
+
line-width: 4
|
|
94
|
+
line-color: rgba(11, 50, 213, 1)
|
|
95
|
+
- type: line
|
|
96
|
+
source-layer: highway
|
|
97
|
+
filter: [==, cycleway, bikelane]
|
|
98
|
+
line-color: rgba(0, 154, 18, 1)
|
|
99
|
+
line-width: 4
|
|
100
|
+
- type: line
|
|
101
|
+
source-layer: highway
|
|
102
|
+
filter: [==, cycleway, sharrows]
|
|
103
|
+
line-color: rgba(242, 134, 60, 1)
|
|
104
|
+
line-width: 4
|
|
105
|
+
- type: line
|
|
106
|
+
source-layer: highway
|
|
107
|
+
filter: [==, cycleway, cycletrack]
|
|
108
|
+
line-color: rgba(125, 24, 152, 1)
|
|
109
|
+
line-width: 4
|
|
110
|
+
options:
|
|
111
|
+
zoom: 14
|
|
112
|
+
center: [-77.4723, 37.5193]
|
|
113
|
+
---
|
|
114
|
+
https://tiles.trailstash.net/opentrailstash.json
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Create a glowing effect for points
|
|
3
|
+
description: Stack blurred circles to create a glowing effect for point data.
|
|
4
|
+
options:
|
|
5
|
+
center: [2.3336, 48.8579]
|
|
6
|
+
zoom: 11
|
|
7
|
+
style:
|
|
8
|
+
layers:
|
|
9
|
+
- type: circle
|
|
10
|
+
paint:
|
|
11
|
+
circle-blur: 3
|
|
12
|
+
circle-radius: 25
|
|
13
|
+
circle-color: rgba(0, 200, 50, 0.3)
|
|
14
|
+
- type: circle
|
|
15
|
+
paint:
|
|
16
|
+
circle-blur: 3
|
|
17
|
+
circle-radius: 10
|
|
18
|
+
circle-color: rgba(0, 255, 100, 0.3)
|
|
19
|
+
- type: circle
|
|
20
|
+
paint:
|
|
21
|
+
circle-radius: 1
|
|
22
|
+
circle-color: white
|
|
23
|
+
extends: https://styles.trailsta.sh/protomaps-dark.json
|
|
24
|
+
---
|
|
25
|
+
[bbox:{{bbox}}];
|
|
26
|
+
nwr[highway=bus_stop];
|
|
27
|
+
out center;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Overview
|
|
2
|
+
|
|
3
|
+
These examples highlight capabilities and differences unique to Overpass Ultra such as it's styling
|
|
4
|
+
capabilities, non-OSM data capabilities, etc.
|
|
5
|
+
|
|
6
|
+
For examples of how to author OverpassQL queries, please reference the abundance of documentation
|
|
7
|
+
on the [OSM Wiki](https://wiki.openstreetmap.org) and elsewhere.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Create a map of local landmarks
|
|
3
|
+
description: >
|
|
4
|
+
Select specific OSM elements by their wikidata IDs to make a map of local landmarks.
|
|
5
|
+
This was a prototype of [MapRVA](https://maprva.org)'s
|
|
6
|
+
[Open Landmarks](https://github.com/maprva/open-landmarks) project.
|
|
7
|
+
options:
|
|
8
|
+
zoom: 13.03
|
|
9
|
+
center: [-77.46967, 37.55065]
|
|
10
|
+
style:
|
|
11
|
+
extends: https://styles.trailsta.sh/osm-bright.json
|
|
12
|
+
layers:
|
|
13
|
+
- type: symbol
|
|
14
|
+
minzoom: 11
|
|
15
|
+
layout:
|
|
16
|
+
icon-image:
|
|
17
|
+
- case
|
|
18
|
+
- [ ==, [ get, name ], Phillip Morris ]
|
|
19
|
+
- maki:industry
|
|
20
|
+
- [ ==, [ get, wikidata ], Q5052468 ]
|
|
21
|
+
- maki:place-of-worship
|
|
22
|
+
- - any
|
|
23
|
+
- [ ==, [ get, wikidata ], Q7433575 ]
|
|
24
|
+
- [ ==, [ get, wikidata ], Q4013975 ]
|
|
25
|
+
- maki:museum
|
|
26
|
+
- [ ==, [ get, wikidata ], Q5123443 ]
|
|
27
|
+
- maki:stadium
|
|
28
|
+
- [ ==, [ get, wikidata ], Q7730070 ]
|
|
29
|
+
- maki:stadium
|
|
30
|
+
- [ ==, [ get, wikidata ], Q1700358 ]
|
|
31
|
+
- temaki:racetrack_oval
|
|
32
|
+
- [ ==, [ get, wikidata ], Q11343430 ]
|
|
33
|
+
- maki:rail
|
|
34
|
+
- [ ==, [ get, wikidata ], Q4883643 ]
|
|
35
|
+
- maki:park
|
|
36
|
+
- [ ==, [ get, wikidata ], Q2537798 ]
|
|
37
|
+
- temaki:capitol
|
|
38
|
+
- [ ==, [ get, wikidata ], Q127740146 ]
|
|
39
|
+
- maki:monument
|
|
40
|
+
- maki:circle
|
|
41
|
+
text-field: '{name}'
|
|
42
|
+
text-font: [ Open Sans Regular ]
|
|
43
|
+
text-variable-anchor: [ top ]
|
|
44
|
+
text-justify: auto
|
|
45
|
+
text-radial-offset: 1.25
|
|
46
|
+
text-size: 12
|
|
47
|
+
paint:
|
|
48
|
+
icon-color: rgb(51, 51, 51)
|
|
49
|
+
text-color: rgb(51, 51, 51)
|
|
50
|
+
icon-halo-color: white
|
|
51
|
+
icon-halo-width: 3
|
|
52
|
+
text-halo-color: white
|
|
53
|
+
text-halo-width: 2
|
|
54
|
+
---
|
|
55
|
+
(
|
|
56
|
+
nwr[wikidata=Q5052468]; /* Cathedral of the Sacred Heart */
|
|
57
|
+
nwr[wikidata=Q7433575]; /* Science Museum */
|
|
58
|
+
nwr[wikidata=Q4013975]; /* VMFA */
|
|
59
|
+
nwr[wikidata=Q1700358]; /* Richmond Raceway */
|
|
60
|
+
nwr[wikidata=Q11343430][building=train_station]; /* Main St Station */
|
|
61
|
+
nwr[wikidata=Q4883643]; /* Belle Isle */
|
|
62
|
+
nwr[wikidata=Q127740146]; /* Carillon */
|
|
63
|
+
way[industrial=tobacco][name="Phillip Morris"](37.461143557941966,-77.45029756083287,37.480867748310146,-77.41825168956744);
|
|
64
|
+
nwr[wikidata=Q5123443]; /* City Stadium */
|
|
65
|
+
nwr[wikidata=Q7730070]; /* The Diamond */
|
|
66
|
+
nwr[wikidata=Q2537798]; /* Capital */
|
|
67
|
+
);
|
|
68
|
+
out center;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Minimalist Ski Map
|
|
3
|
+
description: Create minimalist ski maps of your favorite ski resort.
|
|
4
|
+
options:
|
|
5
|
+
zoom: 13.38
|
|
6
|
+
center: [-120.06396, 38.67543]
|
|
7
|
+
bearing: -138.4
|
|
8
|
+
pitch: 60
|
|
9
|
+
style:
|
|
10
|
+
version: 8
|
|
11
|
+
sources:
|
|
12
|
+
dem:
|
|
13
|
+
type: raster-dem
|
|
14
|
+
tiles:
|
|
15
|
+
- 'https://s3.amazonaws.com/elevation-tiles-prod/terrarium/{z}/{x}/{y}.png'
|
|
16
|
+
encoding: terrarium
|
|
17
|
+
tileSize: 256
|
|
18
|
+
layers:
|
|
19
|
+
- type: background
|
|
20
|
+
background-color: white
|
|
21
|
+
- id: slopes
|
|
22
|
+
type: line
|
|
23
|
+
filter:
|
|
24
|
+
- all
|
|
25
|
+
- [==, [geometry-type], LineString]
|
|
26
|
+
- [has, piste:type]
|
|
27
|
+
line-width: 3
|
|
28
|
+
line-color:
|
|
29
|
+
- case
|
|
30
|
+
- - any
|
|
31
|
+
- [==, [get, piste:difficulty], novice]
|
|
32
|
+
- [==, [get, piste:difficulty], easy]
|
|
33
|
+
- green
|
|
34
|
+
- [==, [get, piste:difficulty], intermediate]
|
|
35
|
+
- blue
|
|
36
|
+
- black
|
|
37
|
+
- id: lifts
|
|
38
|
+
type: line
|
|
39
|
+
filter:
|
|
40
|
+
- all
|
|
41
|
+
- [==, [geometry-type], LineString]
|
|
42
|
+
- [has, aerialway]
|
|
43
|
+
line-width: 2
|
|
44
|
+
line-color: red
|
|
45
|
+
line-dasharray: [2, 2]
|
|
46
|
+
terrain:
|
|
47
|
+
source: dem
|
|
48
|
+
exaggeration: 1
|
|
49
|
+
---
|
|
50
|
+
[bbox:{{bbox}}];
|
|
51
|
+
(
|
|
52
|
+
way[aerialway][aerialway!=zip_line];
|
|
53
|
+
way["piste:type"=downhill];
|
|
54
|
+
);
|
|
55
|
+
out geom;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Prototype a 3D version of a style
|
|
3
|
+
description: Add 3D terrain and Buildings to OpenTrailStash using AWS-hosted DEM tiles and OpenMapTiles buildings
|
|
4
|
+
options:
|
|
5
|
+
hash: m
|
|
6
|
+
center: [ 11.380881, 47.312333 ]
|
|
7
|
+
zoom: 16
|
|
8
|
+
pitch: 73
|
|
9
|
+
bearing: -47.3
|
|
10
|
+
maxPitch: 85
|
|
11
|
+
style:
|
|
12
|
+
extends: https://open.trailsta.sh/style.json
|
|
13
|
+
sources:
|
|
14
|
+
openmaptiles:
|
|
15
|
+
type: vector
|
|
16
|
+
url: https://tile.ourmap.us/data/v3.json
|
|
17
|
+
terrainSource:
|
|
18
|
+
type: raster-dem
|
|
19
|
+
tiles:
|
|
20
|
+
- 'https://s3.amazonaws.com/elevation-tiles-prod/terrarium/{z}/{x}/{y}.png'
|
|
21
|
+
encoding: terrarium
|
|
22
|
+
tileSize: 256
|
|
23
|
+
terrain:
|
|
24
|
+
source: terrainSource
|
|
25
|
+
exaggeration: 1
|
|
26
|
+
layers:
|
|
27
|
+
- id: poi_dot
|
|
28
|
+
visibility: none
|
|
29
|
+
- id: poi
|
|
30
|
+
visibility: none
|
|
31
|
+
- type: fill-extrusion
|
|
32
|
+
beforeLayerId: poi_dot
|
|
33
|
+
source: openmaptiles
|
|
34
|
+
source-layer: building
|
|
35
|
+
minzoom: 13
|
|
36
|
+
filter: ['!=', [get, hide_3d], true]
|
|
37
|
+
fill-extrusion-color: '#c0c9b2'
|
|
38
|
+
fill-extrusion-height: [ get, render_height ]
|
|
39
|
+
fill-extrusion-base: [ get, render_min_height ]
|
|
40
|
+
---
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Overture Landcover with Hillshade
|
|
3
|
+
description: A basic natural background consisting of only hillshade and landcover.
|
|
4
|
+
type: vector
|
|
5
|
+
options:
|
|
6
|
+
center: [ 11.39085, 47.27574 ]
|
|
7
|
+
zoom: 8
|
|
8
|
+
style:
|
|
9
|
+
sources:
|
|
10
|
+
terrarium: {"type":"raster-dem","tiles":["https://s3.amazonaws.com/elevation-tiles-prod/terrarium/{z}/{x}/{y}.png"],"minzoom":0,"maxzoom":15,"tileSize":256,"encoding":"terrarium"}
|
|
11
|
+
version: 8
|
|
12
|
+
layers:
|
|
13
|
+
- type: background
|
|
14
|
+
background-color: lightblue
|
|
15
|
+
- type: fill
|
|
16
|
+
beforeLayerId: waterway_tunnel
|
|
17
|
+
source-layer: land_cover
|
|
18
|
+
paint:
|
|
19
|
+
fill-outline-color: rgba(0,0,0,0)
|
|
20
|
+
fill-color:
|
|
21
|
+
- case
|
|
22
|
+
- [ ==, [ get, subtype ], urban ]
|
|
23
|
+
- rgb(167, 162, 186)
|
|
24
|
+
- [ ==, [ get, subtype ], forest ]
|
|
25
|
+
- rgb(134, 178, 137)
|
|
26
|
+
- [ ==, [ get, subtype ], barren ]
|
|
27
|
+
- rgb(245, 237, 213)
|
|
28
|
+
- [ ==, [ get, subtype ], shrub ]
|
|
29
|
+
- rgb(239, 218, 182)
|
|
30
|
+
- [ ==, [ get, subtype ], grass ]
|
|
31
|
+
- rgb(254, 239, 173)
|
|
32
|
+
- [ ==, [ get, subtype ], crop ]
|
|
33
|
+
- rgb(222, 223, 154)
|
|
34
|
+
- [ ==, [ get, subtype ], wetland ]
|
|
35
|
+
- rgb(158, 207, 195)
|
|
36
|
+
- [ ==, [ get, subtype ], mangrove ]
|
|
37
|
+
- rgb(83, 171, 128)
|
|
38
|
+
- [ ==, [ get, subtype ], moss ]
|
|
39
|
+
- rgb(250, 230, 160)
|
|
40
|
+
- [ ==, [ get, subtype ], snow ]
|
|
41
|
+
- rgb(255, 255, 255)
|
|
42
|
+
- rgba(255, 255, 255, 0)
|
|
43
|
+
- {"id":"terrain-rgb-terrarium","type":"hillshade","source":"terrarium","minzoom":0,"paint":{"hillshade-shadow-color":"hsl(39, 21%, 33%)","hillshade-illumination-direction":315,"hillshade-exaggeration":0.3}}
|
|
44
|
+
---
|
|
45
|
+
https://tiles.trailstash.net/overture-land_cover.json
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Combine POI from Overture and OSM
|
|
3
|
+
description: Bike shops from the Overture Places dataset and OpenStreetMap combined in a single map using MapLibre symbol collision logic as a sort of run-time conflation.
|
|
4
|
+
querySources: [ultra, overture]
|
|
5
|
+
options:
|
|
6
|
+
zoom: 13.63
|
|
7
|
+
center: [4.89824, 52.37592]
|
|
8
|
+
style:
|
|
9
|
+
sources:
|
|
10
|
+
overture:
|
|
11
|
+
type: vector
|
|
12
|
+
url: pmtiles://https://data.source.coop/protomaps/overture/2024-05-16-beta.0/places.pmtiles
|
|
13
|
+
layers:
|
|
14
|
+
- type: symbol
|
|
15
|
+
source: overture
|
|
16
|
+
source-layer: place
|
|
17
|
+
filter:
|
|
18
|
+
- all
|
|
19
|
+
- [==, [get, '@category'], bicycle_shop]
|
|
20
|
+
- ['>', [get, confidence], 0.6]
|
|
21
|
+
icon-image: maki:bicycle
|
|
22
|
+
icon-color: darkblue
|
|
23
|
+
- type: symbol
|
|
24
|
+
icon-image: maki:bicycle
|
|
25
|
+
icon-color: darkgreen
|
|
26
|
+
---
|
|
27
|
+
[bbox:{{bbox}}];
|
|
28
|
+
nwr[shop=bicycle];
|
|
29
|
+
out center;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Tree Cover
|
|
3
|
+
description: Create stylized tree coverage from `natural=tree` nodes and `natural=tree_row` ways.
|
|
4
|
+
options:
|
|
5
|
+
zoom: 14
|
|
6
|
+
center: [-77.03717, 38.89135]
|
|
7
|
+
style:
|
|
8
|
+
layers:
|
|
9
|
+
- type: circle
|
|
10
|
+
filter: [==, [geometry-type], Point]
|
|
11
|
+
beforeLayerId: landcover_subclass_patterns
|
|
12
|
+
circle-color: rgba(169, 210, 145, .5)
|
|
13
|
+
circle-blur: 1
|
|
14
|
+
circle-radius:
|
|
15
|
+
stops:
|
|
16
|
+
- [ 0, 1 ]
|
|
17
|
+
- [ 20, 300 ]
|
|
18
|
+
base: 2
|
|
19
|
+
- type: line
|
|
20
|
+
filter: [==, [geometry-type], LineString]
|
|
21
|
+
beforeLayerId: landcover_subclass_patterns
|
|
22
|
+
line-color: rgba(169, 210, 145, .5)
|
|
23
|
+
line-cap: round
|
|
24
|
+
line-blur:
|
|
25
|
+
stops:
|
|
26
|
+
- [ 0, 1 ]
|
|
27
|
+
- [ 20, 100 ]
|
|
28
|
+
base: 2
|
|
29
|
+
line-width:
|
|
30
|
+
stops:
|
|
31
|
+
- [ 0, 1 ]
|
|
32
|
+
- [ 20, 200 ]
|
|
33
|
+
base: 2
|
|
34
|
+
- type: circle
|
|
35
|
+
filter: [==, [geometry-type], Point]
|
|
36
|
+
circle-color: rgba(169, 210, 145, .5)
|
|
37
|
+
circle-blur: 1
|
|
38
|
+
circle-radius:
|
|
39
|
+
stops:
|
|
40
|
+
- [ 0, 1 ]
|
|
41
|
+
- [ 20, 300 ]
|
|
42
|
+
base: 2
|
|
43
|
+
- type: line
|
|
44
|
+
filter: [==, [geometry-type], LineString]
|
|
45
|
+
line-color: rgba(169, 210, 145, .5)
|
|
46
|
+
line-cap: round
|
|
47
|
+
line-blur:
|
|
48
|
+
stops:
|
|
49
|
+
- [ 0, 1 ]
|
|
50
|
+
- [ 20, 100 ]
|
|
51
|
+
base: 2
|
|
52
|
+
line-width:
|
|
53
|
+
stops:
|
|
54
|
+
- [ 0, 1 ]
|
|
55
|
+
- [ 20, 200 ]
|
|
56
|
+
base: 2
|
|
57
|
+
extends: https://styles.trailsta.sh/openmaptiles-osm.json
|
|
58
|
+
---
|
|
59
|
+
node[natural=tree]({{bbox}}); out;
|
|
60
|
+
way[natural=tree_row]({{bbox}}); out geom;
|