;********************************************************************************* ; Copyright (c) 2003-2006 Armin Burger ; ; Permission is hereby granted, free of charge, to any person obtaining ; a copy of this software and associated documentation files (the "Software"), ; to deal in the Software without restriction, including without limitation ; the rights to use, copy, modify, merge, publish, distribute, sublicense, ; and/or sell copies of the Software, and to permit persons to whom the Software ; is furnished to do so, subject to the following conditions: ; ; The above copyright notice and this permission notice shall be included ; in all copies or substantial portions of the Software. ; ; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS ; FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR OR ; COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER ; IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN ; CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ;********************************************************************************** ;************************************************; ; CONFIGURATION FILE FOR MAPSERVER APPLICATION ; ; Is read by init.php and startup_config.php ; ; Change according to application ; ; Comments are semicolons ; ; ;************************************************; [GENERAL] ; p.mapper version pmapper = 2.1.2 ;==================================================== ; MapServer Version ; necessary only if extension dl() function is used ; corresponding to naming of php_mapscript_xx.dll/.so ; e.g. for php_mapscript_44.dll set ; msVersion = 44 ; === MANDATORY === ;---------------------------------------------------- ;msVersion = 48 msVersion = 4.10.0 ;======================================= ; Configuration directory for ; js_config.php & php_config.php ; without slashes or backslashes ; === OPTIONAL === ;--------------------------------------- pm_config_location = default ;================================= ; WEB LOCATION for INCPHP dir ; === OPTIONAL === ;--------------------------------- ;pm_incphp_location = ../../pmapper2lib/incphp ;================================= ; WEB LOCATION for JAVASCRIPT dir ; === OPTIONAL === ;--------------------------------- ;pm_javascript_location = ../../pmapper2lib/javascript ;================================================================== ; MAP FILE ; absolute path in file system or filename in 'pm_config_location' ; Use slashes (/), no backslashes (\) ; === MANDATORY === ;------------------------------------------------------------------ ;mapFile = d:/webdoc/eclipse/pmapper2/config/default/pmapper_demo.map mapFile = pmapper_demo.map ;================================= ; DEFAULT LANGUAGE ;--------------------------------- pm_default_language = en ;=============================== ; Character encoding settings ; Default character set ; UTF-8 ;------------------------ defCharset = UTF-8 ; if map file contains non-ASCII characters ; eg for layer DESCRIPTION or CLASS names, set value to 1 ;---------------------------------------------------------- map2unicode = 1 ;========================================================================== ; ; LAYERS/GROUPS DEFINED MANUALLY ; ;========================================================================== ; ALL groups displayed in TOC in this order ; - without definition, the order from map file will be taken. ; - separated with commas ; === MANDATORY === ;----------------------------------------------------------- allGroups = countries, cities, corine, dem, rivers, jpl_wms_global_mosaic ; Default Groups (visible at start) ; === RECOMMENDED === ;---------------------------------- defGroups = countries, cities ; Groups/Layers that shall be mutually disabled ; if one is clicked, the other ones will be disabled ;------------------------------------------------------------- ;mutualDisableList = dem, jpl_wms_global_mosaic, corine ; Automatically refresh map when selection of ; layers/grouops has changed in TOC ;-------------------------------------------- layerAutoRefresh = 1 ;========================================================================== ; ; SETTINGS FOR IDENTIFY/SEARCH/SELECT ; ;-------------------------------------------------------------------------- ; Limit for results of selection with select tool or search ;---------------------------------------------------------- limitResult = 300 ; Highlight color for identify/search zoom in ; RGB values, separated with commas ;--------------------------------------------- highlightColor = 0, 255, 255 ; Defines if SELECT function causes feature highlight ;----------------------------------------------------- highlightSelected = on ; AUTOZOOM: zoom in automatically after results are displayed ; possible values: off search nquery (= select) ;------------------------------------------------------------- autoZoom = search nquery ; Add button 'zoom to All Features' to result table ; - possible values: off search nquery (= select) ;--------------------------------------------------- zoomAll = search nquery ; WINDOW DESIGN: ; Query results (identify/search) in separate WINDOW or FRAME ;------------------------------------------------------------- infoWin = window ;infoWin = frame ; Automatically align column contents of result tables of queries ; with regard to data type (default, numeric, currency, etc) ; algorithm in 'sorttable.js', function 'ts_alignCols(table)' ;----------------------------------------------------------------- alignQueryResults = 1 ; Extent buffer for zoom extent for point layers in queries ;----------------------------------------------------------------- pointBuffer = 10000 ;======================================================================== ; LEGEND: ICONS SIZE AND FORMAT, LEGEND STYLE ;------------------------------------------------------------------------ ; Categories Style: ; - tree or flat ;----------------------------------------- catStyle = tree ;catStyle = flat ; Group/Layer Style: ; - tree or flat ;----------------------------------------- grpStyle = tree ;grpStyle = flat ; Legend Style: ; - attached: together with TOC ; - swap: swapping with TOC ; - popup: separate popup over map ;----------------------------------------- legStyle = attached ;legStyle = swap ;legStyle = popup ;;;; experimental ;;;; ; Use categories to thematically group layers ; categories defined in incphp/custom.php ; works for TOC setting 'flat' and 'tree' ; 1 = yes, 0 = no ;-------------------------------------------- useCategories = 1 ; Layer list (TOC) automatically updated according to scale ;----------------------------------------------------------- scaleLayers = 1 ; Icon Width in pixels ;---------------------- icoW = 18 ; Icon Height in pixels ;----------------------- icoH = 14 ;==================================================================== ; IMAGE FORMATS ; Image format for map and legend icons ; - possible values: png jpeg gif ;-------------------------------------------------------------------- ;imgFormat = jpeg imgFormat = png ; alternative Image format for map ; useful eg. for imagery data ; - possible values: png jpeg gif altImgFormat = jpeg ; layer list (comma separated) that shall activate alternative ; image format when one of these layers has status ON altImgFormatLayers = jpl_wms_global_mosaic, dem ;============================================================= ; DEFINE START AND END SCALE FOR ZOOM SLIDER ; => Adapt to specific extents of the datasets ; or use 'max' for automatically calculate from map file ; -> in file 'map.phtml' ;------------------------------------------------------------- ;sliderMax = 40000000 sliderMax = max sliderMin = 100000 ;============================================================= ; TOOLBAR ORIENTATION ; - vertical or horizontal (horizontal currently not working) ;------------------------------------------------------------- toolBarOrientation = vertical ;toolBarOrientation = horizontal ;============================================================== ; PDF PRINT RESOLUTION ; - Factor to increase resolution for better image quality ;-------------------------------------------------------------- pdfres = 2 ;============================================================== ; DPI levels for map download ; - used in downloaddlg.phtml ;-------------------------------------------------------------- dpiLevels = 150, 200, 300 ;============================================================== ; Enable pan mode if right mouse button is pressed ; independent of selected tool ;-------------------------------------------------------------- enableRightMousePan = 1