From 367d457861041a211c766015ab469652422a4fc3 Mon Sep 17 00:00:00 2001 From: Edward Mac Gillavry Date: Tue, 7 Jan 2025 15:07:34 +0100 Subject: [PATCH] Changes to enable multiple styles for reference map (#630) * Also mount 'sld' directory into the container for map styling. * Merge 'binnentuin' layers and remove obsolete filter for 'autosnelweg' (in SQL already). --- compose.yml | 2 ++ sld/kbk10_light.xml | 49 ++++++--------------------------------------- sld/kbk10_zw.xml | 47 +++++-------------------------------------- 3 files changed, 13 insertions(+), 85 deletions(-) diff --git a/compose.yml b/compose.yml index e8914ebf..4ea2024c 100644 --- a/compose.yml +++ b/compose.yml @@ -90,6 +90,7 @@ services: - ./tools/:/srv/mapserver/tools/ - ./symbols/:/srv/mapserver/symbols/ - ./fonts/:/srv/mapserver/fonts/ + - ./sld/:/srv/mapserver/sld/ - ./connection/:/srv/mapserver/connection/ - ./private:/srv/mapserver/ @@ -122,5 +123,6 @@ services: - ./tools/:/srv/mapserver/tools/ - ./symbols/:/srv/mapserver/symbols/ - ./fonts/:/srv/mapserver/fonts/ + - ./sld/:/srv/mapserver/sld/ - ./connection/:/srv/mapserver/connection/ - ./referentiekaarten/:/srv/mapserver/ diff --git a/sld/kbk10_light.xml b/sld/kbk10_light.xml index 26028113..91914d96 100644 --- a/sld/kbk10_light.xml +++ b/sld/kbk10_light.xml @@ -417,24 +417,7 @@ - TRN_binnentuin-case - - - - 3500 - 8000 - - - #C9C7C2 - 1.5 - - - - - - - - TRN_binnentuin-fill + TRN_binnentuin @@ -444,6 +427,10 @@ #E5EBD8 + + #C9C7C2 + 1.5 + @@ -871,12 +858,6 @@ - - - TYPEWEG - autosnelweg - - 8000 20000 @@ -887,12 +868,6 @@ - - - TYPEWEG - autosnelweg - - 3500 8000 @@ -910,12 +885,6 @@ - - - TYPEWEG - autosnelweg - - 8000 20000 @@ -926,12 +895,6 @@ - - - TYPEWEG - autosnelweg - - 3500 8000 @@ -944,4 +907,4 @@ - + \ No newline at end of file diff --git a/sld/kbk10_zw.xml b/sld/kbk10_zw.xml index 27bd50f8..fa85e490 100644 --- a/sld/kbk10_zw.xml +++ b/sld/kbk10_zw.xml @@ -417,13 +417,16 @@ - TRN_binnentuin-case + TRN_binnentuin 3500 8000 + + #F0F0F0 + #C9C7C2 1.5 @@ -433,22 +436,6 @@ - - TRN_binnentuin-fill - - - - 3500 - 10000 - - - #F0F0F0 - - - - - - WDL_waterbassin @@ -871,12 +858,6 @@ - - - TYPEWEG - autosnelweg - - 8000 20000 @@ -887,12 +868,6 @@ - - - TYPEWEG - autosnelweg - - 3500 8000 @@ -910,12 +885,6 @@ - - - TYPEWEG - autosnelweg - - 8000 20000 @@ -926,12 +895,6 @@ - - - TYPEWEG - autosnelweg - - 3500 8000 @@ -944,4 +907,4 @@ - + \ No newline at end of file