forked from Amsterdam/mapserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtraveltime.map
More file actions
66 lines (57 loc) · 1.97 KB
/
Copy pathtraveltime.map
File metadata and controls
66 lines (57 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
MAP
NAME "TRAVELTIME"
INCLUDE "header.inc"
WEB
METADATA
"ows_title" "traveltime"
"ows_abstract" "Traveltime visualization"
"wms_extent" "100000 450000 150000 500000"
END
END
#=============================================================================
# LAYERS
#=============================================================================
LAYER
NAME "latest_traveltime"
INCLUDE "connection_externaldata.inc"
DATA "geometrie FROM (select * from public.traveltime_with_speed) as subquery USING srid=4326 USING UNIQUE id"
TYPE LINE
MINSCALEDENOM 100
MAXSCALEDENOM 400001
TEMPLATE "fooOnlyForWMSGetFeatureInfo.html"
PROJECTION
"init=epsg:4326"
END
METADATA
"ows_title" "latest_traveltime"
"ows_group_title" "latest_traveltime"
"ows_abstract" "latest traveltime per auto regio Amsterdam"
"gml_featureid" "ID"
"gml_include_items" "all"
"gml_types" "auto"
END
INCLUDE "includes/speed_classes.inc"
END
LAYER
NAME "traveltime_by_day"
INCLUDE "connection_externaldata.inc"
INCLUDE "includes/traveltime_summary_validation.inc"
DATA "geometrie FROM (select * from public.daily_traveltime_wms_view where grouped_day='%date%' and bucket='%bucket%') as subquery USING srid=4326 USING UNIQUE id"
TYPE LINE
MINSCALEDENOM 100
MAXSCALEDENOM 400001
TEMPLATE "fooOnlyForWMSGetFeatureInfo.html"
PROJECTION
"init=epsg:4326"
END
METADATA
"ows_title" "traveltime_by_day"
"ows_group_title" "traveltime_by_day"
"ows_abstract" "traveltime_by_day per auto regio Amsterdam"
"gml_featureid" "ID"
"gml_include_items" "all"
"gml_types" "auto"
END
INCLUDE "includes/speed_classes.inc"
END
END