-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
145 lines (143 loc) · 5.43 KB
/
config.js
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
const Config = {
addons: ["dataNarrator"],
ignoredKeys: [
"BOUNDEDBY",
"SHAPE",
"SHAPE_LENGTH",
"SHAPE_AREA",
"OBJECTID",
"GLOBALID",
"GEOMETRY",
"SHP",
"SHP_AREA",
"SHP_LENGTH",
"GEOM"
],
wfsImgPath: "https://geodienste.hamburg.de/lgv-config/img/",
vuetify: "addons/dipasAddons/dataNarrator/vuetify",
metadata: {
useProxy: ["https://metaver.de/csw"]
},
tree: {
orderBy: "opendata",
saveSelection: true,
layerIDsToIgnore: [
"1912",
"1913",
"1914",
"1915",
"1916",
"1917", // UESG
"2298", // Straßenbaumkataster cache grau
"1791", // nachträgliche Bodenrichtwerte lagetypisch 1964
"8713" // Layer Schulinfo
],
layerIDsToStyle: [
{
id: "1933",
styles: "geofox_stations",
name: "Haltestellen",
legendURL:
"https://geoportal.metropolregion.hamburg.de/legende_mrh/hvv-bus.png"
},
{
id: "1935",
styles: [
"geofox_Faehre",
"geofox-bahn",
"geofox-bus",
"geofox_BusName"
],
name: [
"Fährverbindungen",
"Bahnlinien",
"Buslinien",
"Busliniennummern"
],
legendURL: [
"https://geoportal.metropolregion.hamburg.de/legende_mrh/hvv-faehre.png",
"https://geoportal.metropolregion.hamburg.de/legende_mrh/hvv-bahn.png",
"https://geoportal.metropolregion.hamburg.de/legende_mrh/hvv-bus.png",
"https://geoportal.metropolregion.hamburg.de/legende_mrh/hvv-bus.png"
]
}
],
metaIDsToMerge: [
"4AC1B569-65AA-4FAE-A5FC-E477DFE5D303", // Großraum- und Schwertransport-Routen in Hamburg
"3EE8938B-FF9E-467B-AAA2-8534BB505580", // Bauschutzbereich § 12 LuftVG Hamburg
"F691CFB0-D38F-4308-B12F-1671166FF181", // Flurstücke gelb
"FE4DAF57-2AF6-434D-85E3-220A20B8C0F1" // Flurstücke schwarz
],
metaIDsToIgnore: [
"09DE39AB-A965-45F4-B8F9-0C339A45B154", // MRH Fachdaten
"51656D3F-E801-497C-952C-4F1F605843DD", // MRH Metrokarte
"AD579C62-0471-4FA5-8C9A-38B3DCB5B2CB", // MRH Übersichtskarte-blau
"14E3AFAE-99BE-4F1D-A3A6-6A68A1CDAC7B", // MRH Übersichtskarte-grün
"56110E55-72C7-41F2-9F92-1C598E4E0A02", // Digitale Karte Metropolregion
"88A22736-FE87-46F7-8A38-84F9E0E945F7", // TN für Olympia
"DDB01922-D7B5-4323-9DDF-B68A42C559E6", // Olympiastandorte
"AA06AD76-6110-4718-89E1-F1EDDA1DF4CF", // Regionales Raumordnungsprogramm Stade+Rotenburg
"1C8086F7-059F-4ACF-96C5-7AFEB8F8B751", // Fachdaten der Metropolregion
"A46086BA-4A4C-48A4-AC1D-9735DDB4FDDE", // Denkmalkartierung FIS
"DB433BD1-1640-4FBC-A879-72402BD5CFDB", // Bodenrichtwertzonen Hamburg
"6A0D8B9D-1BBD-441B-BA5C-6159EE41EE71", // Bodenrichtwerte für Hamburg
"3233E124-E576-4B5D-978E-164720C4E75F", // MRH Große Verkehrsprojekte
"24513F73-D928-450C-A334-E30037945729", // 3D Straßenbaumkataster Hamburg
"7595A206-F07E-470D-A6C1-2F74F0B0C64E" // 3D Hamburger Hauptkirchen
]
},
scaleLine: true,
quickHelp: {
imgPath: "https://geodienste.hamburg.de/lgv-config/img/"
},
allowParametricURL: true,
view: {
center: [565874, 5934140]
},
namedProjections: [
// GK DHDN
[
"EPSG:31467",
"+title=Bessel/Gauß-Krüger 3 +proj=tmerc +lat_0=0 +lon_0=9 +k=1 +x_0=3500000 +y_0=0 +ellps=bessel +datum=potsdam +units=m +no_defs"
],
// ETRS89 UTM
[
"EPSG:25832",
"+title=ETRS89/UTM 32N +proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"
],
// LS 320: zusammen mit Detlef Koch eingepflegt und geprüft
[
"EPSG:8395",
"+title=ETRS89/Gauß-Krüger 3 +proj=tmerc +lat_0=0 +lon_0=9 +k=1 +x_0=3500000 +y_0=0 +ellps=GRS80 +datum=GRS80 +units=m +no_defs"
],
// WGS84
[
"EPSG:4326",
"+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"
]
],
layerConf: "https://geodienste.hamburg.de/services-internet.json",
restConf:
"https://geodienste.hamburg.de/lgv-config/rest-services-internet.json",
uiStyle: "table",
styleConf: "https://raw.githubusercontent.com/herzogrh/faircare-verkehr/main/assets/data/style.json",
storyConf: "./assets/story.json",
isMenubarVisible: true,
gemarkungen: "https://geodienste.hamburg.de/lgv-config/gemarkung.json",
obliqueMap: true,
startingMap3D: false,
portalLanguage: {
enabled: true,
debug: false,
languages: {
de: "deutsch",
en: "englisch"
},
fallbackLanguage: "de",
changeLanguageOnStartWhen: ["querystring", "localStorage", "htmlTag"]
}
};
// conditional export to make config readable by e2e tests
if (typeof module !== "undefined") {
module.exports = Config;
}