MENA region data enrichment scripts` -> Wait, let's keep it concise and clean.

*   *Option 3:* `feat: add tourist landmarks support with UI sheets, data models
This commit is contained in:
Hamza-Ayed
2026-09-21 05:21:44 +03:00
parent cff5a8e1ce
commit dc9a736e26
29 changed files with 13396 additions and 1982 deletions
File diff suppressed because it is too large Load Diff
+169 -310
View File
@@ -1,6 +1,6 @@
{
"version": 8,
"name": "Intaleq Sovereign 3D Topographic & Terrain Style (\u062e\u0631\u064a\u0637\u0629 \u0627\u0644\u062a\u0636\u0627\u0631\u064a\u0633 \u062b\u0644\u0627\u062b\u064a\u0629 \u0627\u0644\u0623\u0628\u0639\u0627\u062f \u0627\u0644\u0633\u064a\u0627\u062f\u064a\u0629)",
"name": "Intaleq Sovereign 3D Topographic & Terrain Style (خريطة التضاريس ثلاثية الأبعاد السيادية)",
"metadata": {
"brand": "Intaleq",
"version": "3.5.0-terrain-3d",
@@ -28,13 +28,22 @@
"esri-satellite": {
"type": "raster",
"tiles": [
"https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",
"https://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}"
"https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}"
],
"tileSize": 256,
"maxzoom": 19,
"maxzoom": 18,
"attribution": "© Esri, DigitalGlobe, GeoEye, Earthstar Geographics"
},
"opentopo-contours": {
"type": "raster",
"tiles": [
"https://a.tile.opentopomap.org/{z}/{x}/{y}.png",
"https://b.tile.opentopomap.org/{z}/{x}/{y}.png",
"https://c.tile.opentopomap.org/{z}/{x}/{y}.png"
],
"tileSize": 256,
"maxzoom": 17
},
"jordan_contours": {
"type": "vector",
"tiles": [
@@ -101,12 +110,11 @@
"type": "raster",
"source": "esri-satellite",
"layout": {
"visibility": "visible"
"visibility": "none"
},
"paint": {
"raster-opacity": 1.0,
"raster-saturation": 0.2,
"raster-contrast": 0.08
"raster-opacity": 0.95,
"raster-saturation": 0.1
}
},
{
@@ -119,10 +127,10 @@
"paint": {
"hillshade-illumination-direction": 315,
"hillshade-illumination-anchor": "viewport",
"hillshade-shadow-color": "#111111",
"hillshade-highlight-color": "#ffffff",
"hillshade-accent-color": "#332211",
"hillshade-exaggeration": 0.45
"hillshade-shadow-color": "#261d15",
"hillshade-highlight-color": "#fffbf2",
"hillshade-accent-color": "#784a28",
"hillshade-exaggeration": 0.75
}
},
{
@@ -132,21 +140,9 @@
"source-layer": "planet_osm_polygon",
"filter": [
"any",
[
"==",
"natural",
"water"
],
[
"==",
"water",
"lake"
],
[
"==",
"waterway",
"riverbank"
]
["==", "natural", "water"],
["==", "water", "lake"],
["==", "waterway", "riverbank"]
],
"paint": {
"fill-color": "#0284c7",
@@ -160,21 +156,9 @@
"source-layer": "planet_osm_polygon",
"filter": [
"any",
[
"==",
"natural",
"wood"
],
[
"==",
"landuse",
"forest"
],
[
"==",
"leisure",
"nature_reserve"
]
["==", "natural", "wood"],
["==", "landuse", "forest"],
["==", "leisure", "nature_reserve"]
],
"paint": {
"fill-color": "#4d7c0f",
@@ -188,21 +172,9 @@
"source-layer": "planet_osm_polygon",
"filter": [
"any",
[
"==",
"natural",
"sand"
],
[
"==",
"natural",
"desert"
],
[
"==",
"natural",
"scree"
]
["==", "natural", "sand"],
["==", "natural", "desert"],
["==", "natural", "scree"]
],
"paint": {
"fill-color": "#ea580c",
@@ -226,20 +198,28 @@
"line-color": "#0284c7",
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
8,
1,
14,
3.5
["linear"],
["zoom"],
8, 1,
14, 3.5
],
"line-opacity": 0.7
}
},
{
"id": "contours-raster-overlay",
"type": "raster",
"source": "opentopo-contours",
"minzoom": 8,
"maxzoom": 18,
"layout": {
"visibility": "visible"
},
"paint": {
"raster-opacity": 0.55,
"raster-contrast": 0.2
}
},
{
"id": "contour-minor-lines",
"type": "line",
@@ -296,16 +276,10 @@
"line-color": "#ffffff",
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
8,
2,
14,
6
["linear"],
["zoom"],
8, 2,
14, 6
],
"line-opacity": 0.9
}
@@ -325,16 +299,10 @@
"line-color": "#d97706",
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
8,
1.2,
14,
4.5
["linear"],
["zoom"],
8, 1.2,
14, 4.5
]
}
},
@@ -353,16 +321,10 @@
"line-color": "#f59e0b",
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
9,
1,
14,
3.2
["linear"],
["zoom"],
9, 1,
14, 3.2
]
}
},
@@ -384,16 +346,10 @@
"line-color": "#ffffff",
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13.5,
0.9,
16,
2.5
["linear"],
["zoom"],
13.5, 0.9,
16, 2.5
],
"line-opacity": 0.8
}
@@ -414,14 +370,8 @@
"layout": {
"text-field": [
"coalesce",
[
"get",
"name:ar"
],
[
"get",
"name"
],
["get", "name:ar"],
["get", "name"],
""
],
"text-font": [
@@ -430,18 +380,11 @@
],
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
12,
10,
15,
12,
18,
14
["linear"],
["zoom"],
12, 10,
15, 12,
18, 14
],
"symbol-placement": "line",
"text-rotation-alignment": "map",
@@ -475,14 +418,8 @@
"layout": {
"text-field": [
"coalesce",
[
"get",
"name:ar"
],
[
"get",
"name"
],
["get", "name:ar"],
["get", "name"],
""
],
"text-font": [
@@ -491,18 +428,11 @@
],
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13.5,
9.5,
16,
11,
18,
13
["linear"],
["zoom"],
13.5, 9.5,
16, 11,
18, 13
],
"symbol-placement": "line",
"text-rotation-alignment": "map",
@@ -536,14 +466,8 @@
"layout": {
"text-field": [
"coalesce",
[
"get",
"name:ar"
],
[
"get",
"name"
],
["get", "name:ar"],
["get", "name"],
""
],
"text-font": [
@@ -552,16 +476,10 @@
],
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
16,
9.5,
18,
11.5
["linear"],
["zoom"],
16, 9.5,
18, 11.5
],
"symbol-placement": "line",
"text-rotation-alignment": "map",
@@ -589,14 +507,8 @@
"layout": {
"text-field": [
"coalesce",
[
"get",
"name:ar"
],
[
"get",
"name"
],
["get", "name:ar"],
["get", "name"],
""
],
"text-font": [
@@ -605,16 +517,10 @@
],
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
16.5,
9,
18,
11.5
["linear"],
["zoom"],
16.5, 9,
18, 11.5
],
"symbol-placement": "line",
"text-rotation-alignment": "map",
@@ -645,10 +551,7 @@
"paint": {
"fill-color": "#0f172a",
"fill-opacity": 0.45,
"fill-translate": [
12,
4
],
"fill-translate": [12, 4],
"fill-translate-anchor": "map"
}
},
@@ -664,44 +567,69 @@
"paint": {
"fill-extrusion-color": [
"interpolate",
[
"linear"
],
[
"coalesce",
[
"get",
"height"
],
12
],
0,
"#e7e5e4",
30,
"#d6d3d1",
70,
"#a8a29e",
150,
"#78716c"
["linear"],
["coalesce", ["get", "height"], 12],
0, "#e7e5e4",
30, "#d6d3d1",
70, "#a8a29e",
150, "#78716c"
],
"fill-extrusion-height": [
"coalesce",
[
"get",
"height"
],
[
"*",
[
"coalesce",
[
"get",
"num_floors"
],
3
],
3.5
]
["get", "height"],
["*", ["coalesce", ["get", "num_floors"], 3], 3.5]
],
"fill-extrusion-base": 0,
"fill-extrusion-opacity": 0.88
}
},
{
"id": "osm-buildings-ground-shadows",
"type": "fill",
"source": "local-osm-polygons",
"source-layer": "planet_osm_polygon",
"filter": [
"has",
"building"
],
"minzoom": 13.5,
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "#0f172a",
"fill-opacity": 0.45,
"fill-translate": [12, 4],
"fill-translate-anchor": "map"
}
},
{
"id": "osm-buildings-extrusion",
"type": "fill-extrusion",
"source": "local-osm-polygons",
"source-layer": "planet_osm_polygon",
"filter": [
"has",
"building"
],
"minzoom": 13.5,
"layout": {
"visibility": "visible"
},
"paint": {
"fill-extrusion-color": [
"interpolate",
["linear"],
["coalesce", ["get", "height"], 12],
0, "#e7e5e4",
30, "#d6d3d1",
70, "#a8a29e",
150, "#78716c"
],
"fill-extrusion-height": [
"coalesce",
["get", "height"],
["*", ["coalesce", ["get", "building:levels"], 2.5], 3.5]
],
"fill-extrusion-base": 0,
"fill-extrusion-opacity": 0.88
@@ -739,48 +667,16 @@
"layout": {
"text-field": [
"format",
[
"coalesce",
[
"get",
"name:ar"
],
[
"get",
"name"
],
"\u0642\u0645\u0629 \u062c\u0628\u0644\u064a\u0629"
],
["coalesce", ["get", "name:ar"], ["get", "name"], "قمة جبلية"],
{},
"\n\u25b2 ",
{
"font-scale": 0.8
},
[
"concat",
[
"coalesce",
[
"get",
"ele"
],
""
],
" \u0645"
],
{
"font-scale": 0.75
}
],
"text-font": [
"Noto Sans Arabic Regular",
"Open Sans Regular"
"\n▲ ",
{ "font-scale": 0.8 },
["concat", ["coalesce", ["get", "ele"], ""], " م"],
{ "font-scale": 0.75 }
],
"text-font": ["Noto Sans Arabic Regular", "Open Sans Regular"],
"text-size": 11.5,
"text-offset": [
0,
1.2
],
"text-offset": [0, 1.2],
"text-anchor": "top",
"text-max-width": 10
},
@@ -797,60 +693,23 @@
"source-layer": "places_jordan",
"filter": [
"any",
[
"==",
"category",
"city"
],
[
"==",
"category",
"town"
],
[
"==",
"category",
"governorate"
],
[
"==",
"category",
"capital"
]
["==", "category", "city"],
["==", "category", "town"],
["==", "category", "governorate"],
["==", "category", "capital"]
],
"minzoom": 6,
"maxzoom": 11,
"layout": {
"text-field": [
"coalesce",
[
"get",
"name_ar"
],
[
"get",
"name"
],
""
],
"text-font": [
"Noto Sans Arabic Bold",
"Open Sans Bold"
],
"text-field": ["coalesce", ["get", "name_ar"], ["get", "name"], ""],
"text-font": ["Noto Sans Arabic Bold", "Open Sans Bold"],
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
6,
10,
9,
12,
11,
14
["linear"],
["zoom"],
6, 10,
9, 12,
11, 14
],
"text-padding": 24,
"text-allow-overlap": false,
@@ -865,4 +724,4 @@
}
}
]
}
}