[Mapbender-commits] r10022 - trunk/mapbender/resources/db

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Dec 18 05:46:38 PST 2018


Author: armin11
Date: 2018-12-18 05:46:38 -0800 (Tue, 18 Dec 2018)
New Revision: 10022

Modified:
   trunk/mapbender/resources/db/install_geoportal_mb28.sh
Log:
Fix some minor things

Modified: trunk/mapbender/resources/db/install_geoportal_mb28.sh
===================================================================
--- trunk/mapbender/resources/db/install_geoportal_mb28.sh	2018-12-18 13:38:50 UTC (rev 10021)
+++ trunk/mapbender/resources/db/install_geoportal_mb28.sh	2018-12-18 13:46:38 UTC (rev 10022)
@@ -52,6 +52,8 @@
 maxx="465000"
 maxy="5647000"
 epsg="EPSG:25832"
+bbox_current_epsg_csv="$minx,$miny,$maxx,$maxy"
+bbox_current_epsg_space="$minx $miny $maxx $maxy"
 ############################################################
 # define name of the default gui - 
 # don't use spaces, cause the gui names are used for filenames!!!! - TBD not already operabel!
@@ -911,7 +913,7 @@
     sed -i "s#%%center_x_i%%#${center_x_i}#g" ${installation_folder}conf/config.js
     sed -i "s#%%center_y_i%%#${center_y_i}#g" ${installation_folder}conf/config.js
     sed -i "s#%%initial_scale_i%%#${initial_scale_i}#g" ${installation_folder}conf/config.js
-    sed -i "s#%%map_extent_csv%%#${map_extent_csv}#g" ${installation_folder}conf/config.js
+    sed -i "s#%%map_extent_csv%%#${bbox_current_epsg_csv}#g" ${installation_folder}conf/config.js
     sed -i "s#%%server_url%%#${server_url}#g" ${installation_folder}conf/config.js
     sed -i "s#%%background_hybrid_tms_url%%#${background_hybrid_tms_url}#g" ${installation_folder}conf/config.js
     sed -i "s#%%background_aerial_wms_url%%#${background_aerial_wms_url}#g" ${installation_folder}conf/config.js



More information about the Mapbender_commits mailing list