MAP
NAME "CLD Masking"
CONFIG "AWS_S3_ENDPOINT" "data.cloudferro.com"
CONFIG "AWS_ACCESS_KEY_ID" "ACCESS"
CONFIG "AWS_SECRET_ACCESS_KEY" "DATA"
CONFIG "AWS_HTTPS" "NO"
CONFIG "AWS_VIRTUAL_HOSTING" "FALSE"
CONFIG "AWS_REQUEST_PAYER" "requester"
CONFIG "VSI_CACHE" "TRUE"
CONFIG "VSI_CACHE_SIZE" "5000000"
CONFIG "GDAL_HTTP_MULTIPLEX" "YES"
CONFIG "CPL_VSIL_CURL_CACHE_SIZE" "20000000"
CONFIG "GDAL_HTTP_MERGE_CONSECUTIVE_RANGES" "YES"
CONFIG "GDAL_HTTP_TCP_KEEPALIVE" "YES"
CONFIG "GDAL_DISABLE_READDIR_ON_OPEN" "EMPTY_DIR"
CONFIG "CPL_VSIL_CURL_CHUNK_SIZE" "10485760"
CONFIG "MS_ERRORFILE" "/var/www/mapbender/ms_error.txt"
CONFIG "CPL_DEBUG" "ON"
DEBUG 5
CONFIG "PROJ_DEBUG" "ON"
EXTENT -20037508.34 -20048966.1 20037508.34 20048966.1
UNITS METERS
SIZE 256 256
IMAGETYPE PNG
SHAPEPATH "/data/"
PROJECTION
"init=epsg:3857"
END
WEB
IMAGEPATH "/tmp/"
IMAGEURL "/tmp/"
METADATA
"wms_title" "CLD Masking"
"wms_onlineresource" "http://localhost/cgi-bin/mapserv?map=/var/www/mapbender/piramida3.map" #must change mapfile path
"wms_srs" "EPSG:3857 EPSG:4326 EPSG:2180"
"wms_enable_request" "*"
"wms_server_version" "1.3.0"
"wms_feature_info_mime_type" "text/html"
"wms_include_items" "all"
"wms_getcapabilities_version" "1.3.0"
#"wms_allow_getmap_without_styles" "true"
"wms_timeitem" "timestamp"
"wcs_label" "WCSTEST"
"wcs_enable_request" "*"
END
END
############################################################################
# Tile Index
LAYER
DEBUG 5
STATUS OFF
NAME "time_idx"
TYPE POLYGON
CONNECTIONTYPE postgis
CONNECTION "user= password= dbname= host= port="
DATA 'geometry from (select * from plua order by "maxCC" desc) as subquerry using unique unique_id'
PROJECTION
"init=epsg:3857"
END
VALIDATION
'maxCC' '^[0-9]{1,3}$'
'default_maxCC' '100'
'EOdata' '^[a-zA-Z0-9./_]{0,103}$'
'default_EOdata' ''
END
METADATA
"wms_title" "tile-index-cloud"
"wms_timeextent" "2022-02-24/2023-06-30"
"wms_timeitem" "timestamp"
"wms_timedefault" "2023-06-30"
"wms_enable_request" "!*"
END
END
############################################################################
############################################################################
LAYER
DEBUG 5
NAME "Test60"
TYPE RASTER
STATUS OFF
DEBUG ON
PROJECTION
"+init=epsg:3857"
END
METADATA
"wms_timeextent" "2022-02-24/2023-06-30"
"wms_timeitem" "timestamp"
"wms_timedefault" "2023-06-30"
"wms_enable_request" "*"
"wcs_label" "resto_querry_missing"
"wcs_rangeset_name" "Range 1" ### required to support DescribeCoverage request
"wcs_rangeset_label" "My Label" ### required to support DescribeCoverage request
"wcs_extent" "1334552.857598 5342648.587634 4715044.821842 7547620.486088"
"wcs_size" "36244 23641"
"wcs_resolution" "93.270051 93.270051"
END
TILEITEM "location_60"
TILEINDEX "time_idx"
TILESRS "EPSG"
PROCESSING "NODATA=0"
FILTER (`[timestamp]` = `2023-06-30`)
END
END