This is an automated email from the ASF dual-hosted git repository.

bchapuis pushed a commit to branch gdal
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git

commit 6f2adc55fee8346d25046ceb9c6d52b5a3bc83e1
Author: Bertil Chapuis <[email protected]>
AuthorDate: Tue Oct 3 23:08:33 2023 +0200

    Add raster source
---
 examples/contour/style.json | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/examples/contour/style.json b/examples/contour/style.json
index bb982ecc..90d99d22 100644
--- a/examples/contour/style.json
+++ b/examples/contour/style.json
@@ -4,6 +4,16 @@
     "baremaps" : {
       "type" : "vector",
       "url" : "http://localhost:9000/tiles.json";
+    },
+    "dem": {
+     "type": "raster-dem",
+      "encoding": "terrarium",
+      "tiles": [
+        
"https://s3.amazonaws.com/elevation-tiles-prod/terrarium/{z}/{x}/{y}.png";
+      ],
+      "tileSize": 256,
+      "maxzoom": 13,
+      "minzoom": 0
     }
   },
   "layers" : [ {
@@ -13,6 +23,13 @@
     "paint" : {
       "background-color" : "rgba(255, 255, 255, 1)"
     }
+  },{
+    "id": "hills",
+    "type": "hillshade",
+    "source": "dem",
+    "paint": {
+      "hillshade-exaggeration": 0.25
+    }
   }, {
     "id" : "contours",
     "type" : "line",

Reply via email to