stable: finalized GIS aesthetics and Syria/Jordan routing synchronization
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Martin configuration file
|
||||
# For more info: https://martin.maplibre.org/configuration/
|
||||
|
||||
# Define Postgres connection
|
||||
# Note: Martin 0.14+ handles environment variables in the connection string
|
||||
connection: "postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}"
|
||||
|
||||
# Enable automatic source detection for all tables in PostGIS
|
||||
# This ensures planet_osm_point, planet_osm_line, etc. are served
|
||||
# (Default is true, but explicit is better for diagnostic)
|
||||
auto_publish:
|
||||
from_postgis: true
|
||||
|
||||
# EXPOSE CUSTOM STYLES
|
||||
# This allows https://tiles.intaleqapp.com/styles/style.json
|
||||
styles:
|
||||
style:
|
||||
path: /etc/martin/style.json
|
||||
@@ -0,0 +1,482 @@
|
||||
{
|
||||
"version": 8,
|
||||
"name": "Intaleq Modern Premium",
|
||||
"metadata": {},
|
||||
"center": [36.276008, 33.513685],
|
||||
"zoom": 15,
|
||||
"glyphs": "https://cdn.protomaps.com/fonts/pbf/{fontstack}/{range}.pbf",
|
||||
"sprite": "https://demotiles.maplibre.org/styles/osm-bright-gl-style/sprite",
|
||||
"sources": {
|
||||
"local-osm-polygons": {
|
||||
"type": "vector",
|
||||
"tiles": [
|
||||
"https://tiles.intaleqapp.com/planet_osm_polygon/{z}/{x}/{y}"
|
||||
],
|
||||
"maxzoom": 14,
|
||||
"attribution": "© Intaleq Mapping Solutions"
|
||||
},
|
||||
"local-osm-lines": {
|
||||
"type": "vector",
|
||||
"tiles": [
|
||||
"https://tiles.intaleqapp.com/planet_osm_line/{z}/{x}/{y}"
|
||||
],
|
||||
"maxzoom": 14
|
||||
},
|
||||
"local-osm-points": {
|
||||
"type": "vector",
|
||||
"tiles": [
|
||||
"https://tiles.intaleqapp.com/planet_osm_point/{z}/{x}/{y}"
|
||||
],
|
||||
"maxzoom": 14
|
||||
}
|
||||
},
|
||||
"layers": [
|
||||
{
|
||||
"id": "background",
|
||||
"type": "background",
|
||||
"paint": {
|
||||
"background-color": "#f8f9fa"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "water-layer",
|
||||
"type": "fill",
|
||||
"source": "local-osm-polygons",
|
||||
"source-layer": "planet_osm_polygon",
|
||||
"filter": [
|
||||
"in",
|
||||
"natural",
|
||||
"water",
|
||||
"lake",
|
||||
"riverbank"
|
||||
],
|
||||
"paint": {
|
||||
"fill-color": "#a3ccff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "park-layer",
|
||||
"type": "fill",
|
||||
"source": "local-osm-polygons",
|
||||
"source-layer": "planet_osm_polygon",
|
||||
"filter": [
|
||||
"in",
|
||||
"leisure",
|
||||
"park",
|
||||
"garden",
|
||||
"nature_reserve",
|
||||
"pitch"
|
||||
],
|
||||
"paint": {
|
||||
"fill-color": "#dcedc8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "landuse-layer",
|
||||
"type": "fill",
|
||||
"source": "local-osm-polygons",
|
||||
"source-layer": "planet_osm_polygon",
|
||||
"filter": [
|
||||
"in",
|
||||
"landuse",
|
||||
"residential",
|
||||
"commercial",
|
||||
"industrial",
|
||||
"cemetery"
|
||||
],
|
||||
"paint": {
|
||||
"fill-color": [
|
||||
"match",
|
||||
[
|
||||
"get",
|
||||
"landuse"
|
||||
],
|
||||
"residential",
|
||||
"#f1f3f4",
|
||||
"commercial",
|
||||
"#f8f9fa",
|
||||
"industrial",
|
||||
"#f1f3f4",
|
||||
"cemetery",
|
||||
"#dcedc8",
|
||||
"#f1f3f4"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "building-3d",
|
||||
"type": "fill-extrusion",
|
||||
"source": "local-osm-polygons",
|
||||
"source-layer": "planet_osm_polygon",
|
||||
"minzoom": 15,
|
||||
"filter": [
|
||||
"has",
|
||||
"building"
|
||||
],
|
||||
"layout": {
|
||||
"visibility": "visible"
|
||||
},
|
||||
"paint": {
|
||||
"fill-extrusion-color": "#e8eaed",
|
||||
"fill-extrusion-height": 20,
|
||||
"fill-extrusion-base": 0,
|
||||
"fill-extrusion-opacity": 0.8
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-casing-minor",
|
||||
"type": "line",
|
||||
"source": "local-osm-lines",
|
||||
"source-layer": "planet_osm_line",
|
||||
"filter": [
|
||||
"in",
|
||||
"highway",
|
||||
"residential",
|
||||
"service",
|
||||
"unclassified",
|
||||
"living_street",
|
||||
"pedestrian",
|
||||
"path",
|
||||
"track"
|
||||
],
|
||||
"paint": {
|
||||
"line-color": "#d4d4d4",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
13,
|
||||
1,
|
||||
16,
|
||||
8
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-core-minor",
|
||||
"type": "line",
|
||||
"source": "local-osm-lines",
|
||||
"source-layer": "planet_osm_line",
|
||||
"filter": [
|
||||
"in",
|
||||
"highway",
|
||||
"residential",
|
||||
"service",
|
||||
"unclassified",
|
||||
"living_street",
|
||||
"pedestrian",
|
||||
"path",
|
||||
"track"
|
||||
],
|
||||
"paint": {
|
||||
"line-color": "#ffffff",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
13,
|
||||
0.5,
|
||||
16,
|
||||
6
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-casing-tertiary",
|
||||
"type": "line",
|
||||
"source": "local-osm-lines",
|
||||
"source-layer": "planet_osm_line",
|
||||
"filter": [
|
||||
"in",
|
||||
"highway",
|
||||
"tertiary",
|
||||
"tertiary_link"
|
||||
],
|
||||
"paint": {
|
||||
"line-color": "#e0e0e0",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
12,
|
||||
1.5,
|
||||
16,
|
||||
12
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-core-tertiary",
|
||||
"type": "line",
|
||||
"source": "local-osm-lines",
|
||||
"source-layer": "planet_osm_line",
|
||||
"filter": [
|
||||
"in",
|
||||
"highway",
|
||||
"tertiary",
|
||||
"tertiary_link"
|
||||
],
|
||||
"paint": {
|
||||
"line-color": "#ffffff",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
12,
|
||||
1,
|
||||
16,
|
||||
9
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-casing-secondary",
|
||||
"type": "line",
|
||||
"source": "local-osm-lines",
|
||||
"source-layer": "planet_osm_line",
|
||||
"filter": [
|
||||
"in",
|
||||
"highway",
|
||||
"secondary",
|
||||
"secondary_link"
|
||||
],
|
||||
"paint": {
|
||||
"line-color": "#cfd8dc",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
12,
|
||||
2,
|
||||
16,
|
||||
14
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-core-secondary",
|
||||
"type": "line",
|
||||
"source": "local-osm-lines",
|
||||
"source-layer": "planet_osm_line",
|
||||
"filter": [
|
||||
"in",
|
||||
"highway",
|
||||
"secondary",
|
||||
"secondary_link"
|
||||
],
|
||||
"paint": {
|
||||
"line-color": "#f1f5f9",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
12,
|
||||
1.5,
|
||||
16,
|
||||
11
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-casing-primary",
|
||||
"type": "line",
|
||||
"source": "local-osm-lines",
|
||||
"source-layer": "planet_osm_line",
|
||||
"filter": [
|
||||
"in",
|
||||
"highway",
|
||||
"primary",
|
||||
"primary_link"
|
||||
],
|
||||
"paint": {
|
||||
"line-color": "#facc15",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
12,
|
||||
3,
|
||||
16,
|
||||
16
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-core-primary",
|
||||
"type": "line",
|
||||
"source": "local-osm-lines",
|
||||
"source-layer": "planet_osm_line",
|
||||
"filter": [
|
||||
"in",
|
||||
"highway",
|
||||
"primary",
|
||||
"primary_link"
|
||||
],
|
||||
"paint": {
|
||||
"line-color": "#fefce8",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
12,
|
||||
2,
|
||||
16,
|
||||
12
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-casing-motorway-trunk",
|
||||
"type": "line",
|
||||
"source": "local-osm-lines",
|
||||
"source-layer": "planet_osm_line",
|
||||
"filter": [
|
||||
"in",
|
||||
"highway",
|
||||
"motorway",
|
||||
"motorway_link",
|
||||
"trunk",
|
||||
"trunk_link"
|
||||
],
|
||||
"paint": {
|
||||
"line-color": "#fb923c",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
12,
|
||||
4,
|
||||
16,
|
||||
18
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-core-motorway-trunk",
|
||||
"type": "line",
|
||||
"source": "local-osm-lines",
|
||||
"source-layer": "planet_osm_line",
|
||||
"filter": [
|
||||
"in",
|
||||
"highway",
|
||||
"motorway",
|
||||
"motorway_link",
|
||||
"trunk",
|
||||
"trunk_link"
|
||||
],
|
||||
"paint": {
|
||||
"line-color": "#ffedd5",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
12,
|
||||
2.5,
|
||||
16,
|
||||
14
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-labels",
|
||||
"type": "symbol",
|
||||
"source": "local-osm-lines",
|
||||
"source-layer": "planet_osm_line",
|
||||
"minzoom": 15,
|
||||
"layout": {
|
||||
"text-field": "{name}",
|
||||
"text-font": [
|
||||
"Noto Sans Regular"
|
||||
],
|
||||
"text-size": 13,
|
||||
"symbol-placement": "line",
|
||||
"text-letter-spacing": 0.05,
|
||||
"text-padding": 5,
|
||||
"text-allow-overlap": false,
|
||||
"text-ignore-placement": false
|
||||
},
|
||||
"paint": {
|
||||
"text-color": "#3c4043",
|
||||
"text-halo-color": "rgba(255, 255, 255, 0.8)",
|
||||
"text-halo-width": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "place-labels",
|
||||
"type": "symbol",
|
||||
"source": "local-osm-points",
|
||||
"source-layer": "planet_osm_point",
|
||||
"minzoom": 13,
|
||||
"layout": {
|
||||
"text-field": "{name}",
|
||||
"text-font": [
|
||||
"Noto Sans Regular"
|
||||
],
|
||||
"text-size": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
13,
|
||||
12,
|
||||
16,
|
||||
16
|
||||
],
|
||||
"text-offset": [
|
||||
0,
|
||||
1.5
|
||||
],
|
||||
"text-anchor": "top",
|
||||
"visibility": "visible"
|
||||
},
|
||||
"paint": {
|
||||
"text-color": "#3c4043",
|
||||
"text-halo-color": "rgba(255, 255, 255, 0.9)",
|
||||
"text-halo-width": 2
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user