@lbdudc/gp-gis-dsl 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/grammar/.antlr/GISGrammar.interp +3 -1
- package/grammar/.antlr/GISGrammar.tokens +49 -48
- package/grammar/.antlr/GISGrammarLexer.interp +4 -1
- package/grammar/.antlr/GISGrammarLexer.java +532 -523
- package/grammar/.antlr/GISGrammarLexer.tokens +49 -48
- package/grammar/.antlr/GISGrammarParser.java +428 -383
- package/grammar/GISGrammar.g4 +4 -2
- package/package.json +1 -1
- package/src/GISVisitor.js +440 -436
- package/src/lib/GISGrammar.interp +3 -1
- package/src/lib/GISGrammar.tokens +49 -48
- package/src/lib/GISGrammarLexer.interp +4 -1
- package/src/lib/GISGrammarLexer.js +323 -315
- package/src/lib/GISGrammarLexer.tokens +49 -48
- package/src/lib/GISGrammarParser.js +405 -368
- package/src/spl/WMSStyleCustom.js +24 -22
- package/test-output/agriculture.json +2 -1
- package/test-output/basic.json +88 -130
- package/test-output/complete.json +2 -1
- package/test-output/emergency.json +4 -2
- package/test-output/environmental.json +6 -3
- package/test-output/gis.json +54 -54
- package/test-output/tourism.json +6 -3
- package/test-output/transportation.json +2 -1
- package/test-output/utilities.json +6 -3
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
export default class WMSStyleCustom {
|
|
2
|
-
constructor(
|
|
3
|
-
id,
|
|
4
|
-
geometryType,
|
|
5
|
-
fillColor,
|
|
6
|
-
strokeColor,
|
|
7
|
-
fillOpacity,
|
|
8
|
-
strokeOpacity,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
this.
|
|
12
|
-
this.
|
|
13
|
-
this.
|
|
14
|
-
this.
|
|
15
|
-
this.
|
|
16
|
-
this.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
export default class WMSStyleCustom {
|
|
2
|
+
constructor(
|
|
3
|
+
id,
|
|
4
|
+
geometryType,
|
|
5
|
+
fillColor,
|
|
6
|
+
strokeColor,
|
|
7
|
+
fillOpacity,
|
|
8
|
+
strokeOpacity,
|
|
9
|
+
strokeWidth,
|
|
10
|
+
) {
|
|
11
|
+
this.name = id;
|
|
12
|
+
this.type = "WMSLayerStyle";
|
|
13
|
+
this.geometryType = geometryType;
|
|
14
|
+
this.fillColor = fillColor;
|
|
15
|
+
this.strokeColor = strokeColor;
|
|
16
|
+
this.fillOpacity = fillOpacity;
|
|
17
|
+
this.strokeOpacity = strokeOpacity;
|
|
18
|
+
this.strokeWidth = strokeWidth;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
getId() {
|
|
22
|
+
return this.name;
|
|
23
|
+
}
|
|
24
|
+
}
|
package/test-output/basic.json
CHANGED
|
@@ -54,13 +54,13 @@
|
|
|
54
54
|
"D_C_Nginx"
|
|
55
55
|
],
|
|
56
56
|
"basicData": {
|
|
57
|
-
"name": "
|
|
57
|
+
"name": "water_supply_marine"
|
|
58
58
|
},
|
|
59
59
|
"data": {
|
|
60
60
|
"dataModel": {
|
|
61
61
|
"entities": [
|
|
62
62
|
{
|
|
63
|
-
"name": "
|
|
63
|
+
"name": "River",
|
|
64
64
|
"properties": [
|
|
65
65
|
{
|
|
66
66
|
"name": "id",
|
|
@@ -71,33 +71,28 @@
|
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
"name": "name",
|
|
74
|
-
"class": "String"
|
|
74
|
+
"class": "String",
|
|
75
|
+
"required": true
|
|
75
76
|
},
|
|
76
77
|
{
|
|
77
|
-
"name": "
|
|
78
|
-
"class": "
|
|
78
|
+
"name": "river_code",
|
|
79
|
+
"class": "String",
|
|
80
|
+
"required": true,
|
|
81
|
+
"unique": true
|
|
79
82
|
},
|
|
80
83
|
{
|
|
81
|
-
"name": "
|
|
82
|
-
"class": "
|
|
83
|
-
"owner": false,
|
|
84
|
-
"bidirectional": "city",
|
|
85
|
-
"multiple": true,
|
|
86
|
-
"required": false
|
|
84
|
+
"name": "length",
|
|
85
|
+
"class": "Double"
|
|
87
86
|
},
|
|
88
87
|
{
|
|
89
|
-
"name": "
|
|
90
|
-
"class": "
|
|
91
|
-
"owner": false,
|
|
92
|
-
"bidirectional": "city",
|
|
93
|
-
"multiple": true,
|
|
94
|
-
"required": false
|
|
88
|
+
"name": "geometry",
|
|
89
|
+
"class": "LineString"
|
|
95
90
|
}
|
|
96
91
|
],
|
|
97
|
-
"displayString": "$
|
|
92
|
+
"displayString": "$id"
|
|
98
93
|
},
|
|
99
94
|
{
|
|
100
|
-
"name": "
|
|
95
|
+
"name": "Sea",
|
|
101
96
|
"properties": [
|
|
102
97
|
{
|
|
103
98
|
"name": "id",
|
|
@@ -108,29 +103,26 @@
|
|
|
108
103
|
},
|
|
109
104
|
{
|
|
110
105
|
"name": "name",
|
|
111
|
-
"class": "String"
|
|
106
|
+
"class": "String",
|
|
107
|
+
"required": true
|
|
112
108
|
},
|
|
113
109
|
{
|
|
114
|
-
"name": "
|
|
110
|
+
"name": "water_type",
|
|
115
111
|
"class": "String"
|
|
116
112
|
},
|
|
117
113
|
{
|
|
118
|
-
"name": "
|
|
119
|
-
"class": "
|
|
114
|
+
"name": "area",
|
|
115
|
+
"class": "Double"
|
|
120
116
|
},
|
|
121
117
|
{
|
|
122
|
-
"name": "
|
|
123
|
-
"class": "
|
|
124
|
-
"owner": true,
|
|
125
|
-
"bidirectional": "streets",
|
|
126
|
-
"multiple": false,
|
|
127
|
-
"required": true
|
|
118
|
+
"name": "geometry",
|
|
119
|
+
"class": "Polygon"
|
|
128
120
|
}
|
|
129
121
|
],
|
|
130
|
-
"displayString": "$
|
|
122
|
+
"displayString": "$id"
|
|
131
123
|
},
|
|
132
124
|
{
|
|
133
|
-
"name": "
|
|
125
|
+
"name": "MaritimeBuoy",
|
|
134
126
|
"properties": [
|
|
135
127
|
{
|
|
136
128
|
"name": "id",
|
|
@@ -140,56 +132,29 @@
|
|
|
140
132
|
"unique": true
|
|
141
133
|
},
|
|
142
134
|
{
|
|
143
|
-
"name": "
|
|
144
|
-
"class": "String"
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
"name": "location",
|
|
148
|
-
"class": "Point"
|
|
135
|
+
"name": "buoy_id",
|
|
136
|
+
"class": "String",
|
|
137
|
+
"required": true,
|
|
138
|
+
"unique": true
|
|
149
139
|
},
|
|
150
140
|
{
|
|
151
|
-
"name": "
|
|
152
|
-
"class": "
|
|
153
|
-
"owner": true,
|
|
154
|
-
"bidirectional": "points",
|
|
155
|
-
"multiple": false,
|
|
156
|
-
"required": true
|
|
141
|
+
"name": "name",
|
|
142
|
+
"class": "String"
|
|
157
143
|
},
|
|
158
144
|
{
|
|
159
|
-
"name": "
|
|
160
|
-
"class": "
|
|
161
|
-
"owner": true,
|
|
162
|
-
"bidirectional": "pointofinterests",
|
|
163
|
-
"multiple": false,
|
|
164
|
-
"required": true
|
|
165
|
-
}
|
|
166
|
-
],
|
|
167
|
-
"displayString": "$name"
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"name": "PoiType",
|
|
171
|
-
"properties": [
|
|
172
|
-
{
|
|
173
|
-
"name": "id",
|
|
174
|
-
"class": "Long (autoinc)",
|
|
175
|
-
"pk": true,
|
|
176
|
-
"required": true,
|
|
177
|
-
"unique": true
|
|
145
|
+
"name": "buoy_type",
|
|
146
|
+
"class": "String"
|
|
178
147
|
},
|
|
179
148
|
{
|
|
180
|
-
"name": "
|
|
149
|
+
"name": "status",
|
|
181
150
|
"class": "String"
|
|
182
151
|
},
|
|
183
152
|
{
|
|
184
|
-
"name": "
|
|
185
|
-
"class": "
|
|
186
|
-
"owner": false,
|
|
187
|
-
"bidirectional": "type",
|
|
188
|
-
"multiple": true,
|
|
189
|
-
"required": false
|
|
153
|
+
"name": "geometry",
|
|
154
|
+
"class": "Point"
|
|
190
155
|
}
|
|
191
156
|
],
|
|
192
|
-
"displayString": "$
|
|
157
|
+
"displayString": "$id"
|
|
193
158
|
}
|
|
194
159
|
],
|
|
195
160
|
"enums": []
|
|
@@ -198,117 +163,110 @@
|
|
|
198
163
|
"mapViewer": {
|
|
199
164
|
"maps": [
|
|
200
165
|
{
|
|
201
|
-
"name": "
|
|
202
|
-
"label": "
|
|
166
|
+
"name": "main",
|
|
167
|
+
"label": "Water Supply Marine Map",
|
|
203
168
|
"sortable": false,
|
|
204
169
|
"layers": [
|
|
205
170
|
{
|
|
206
|
-
"name": "
|
|
171
|
+
"name": "osm",
|
|
207
172
|
"baseLayer": true,
|
|
208
173
|
"selected": true
|
|
209
174
|
},
|
|
210
175
|
{
|
|
211
|
-
"name": "
|
|
176
|
+
"name": "river_layer",
|
|
212
177
|
"baseLayer": false,
|
|
213
178
|
"selected": true
|
|
214
179
|
},
|
|
215
180
|
{
|
|
216
|
-
"name": "
|
|
181
|
+
"name": "sea_layer",
|
|
217
182
|
"baseLayer": false,
|
|
218
|
-
"selected": false
|
|
219
|
-
}
|
|
220
|
-
]
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"name": "points",
|
|
224
|
-
"label": "Points of Interest",
|
|
225
|
-
"sortable": false,
|
|
226
|
-
"layers": [
|
|
227
|
-
{
|
|
228
|
-
"name": "base",
|
|
229
|
-
"baseLayer": true,
|
|
230
183
|
"selected": true
|
|
231
184
|
},
|
|
232
185
|
{
|
|
233
|
-
"name": "
|
|
186
|
+
"name": "buoy_layer",
|
|
234
187
|
"baseLayer": false,
|
|
235
188
|
"selected": true
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
"name": "cityLayer",
|
|
239
|
-
"baseLayer": false,
|
|
240
|
-
"selected": false
|
|
241
189
|
}
|
|
242
190
|
]
|
|
243
191
|
}
|
|
244
192
|
],
|
|
245
193
|
"layers": [
|
|
246
194
|
{
|
|
247
|
-
"name": "
|
|
195
|
+
"name": "osm",
|
|
248
196
|
"type": "tilelayer",
|
|
249
197
|
"label": "OpenStreetMap",
|
|
250
198
|
"url": "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
|
|
251
199
|
},
|
|
252
200
|
{
|
|
253
|
-
"name": "
|
|
201
|
+
"name": "river_layer",
|
|
254
202
|
"type": "wms",
|
|
255
|
-
"label": "
|
|
256
|
-
"list": "
|
|
203
|
+
"label": "Rivers",
|
|
204
|
+
"list": "River",
|
|
257
205
|
"layers": [
|
|
258
|
-
"
|
|
206
|
+
"River"
|
|
259
207
|
],
|
|
260
208
|
"availableStyles": [
|
|
261
|
-
"
|
|
209
|
+
"river_style"
|
|
262
210
|
],
|
|
263
|
-
"defaultStyles": "
|
|
211
|
+
"defaultStyles": "river_style"
|
|
264
212
|
},
|
|
265
213
|
{
|
|
266
|
-
"name": "
|
|
267
|
-
"type": "
|
|
268
|
-
"label": "
|
|
269
|
-
"
|
|
270
|
-
"
|
|
271
|
-
|
|
214
|
+
"name": "sea_layer",
|
|
215
|
+
"type": "wms",
|
|
216
|
+
"label": "Seas",
|
|
217
|
+
"list": "Sea",
|
|
218
|
+
"layers": [
|
|
219
|
+
"Sea"
|
|
220
|
+
],
|
|
272
221
|
"availableStyles": [
|
|
273
|
-
"
|
|
274
|
-
]
|
|
222
|
+
"sea_style"
|
|
223
|
+
],
|
|
224
|
+
"defaultStyles": "sea_style"
|
|
275
225
|
},
|
|
276
226
|
{
|
|
277
|
-
"name": "
|
|
227
|
+
"name": "buoy_layer",
|
|
278
228
|
"type": "wms",
|
|
279
|
-
"label": "
|
|
280
|
-
"list": "
|
|
229
|
+
"label": "Maritime Buoys",
|
|
230
|
+
"list": "MaritimeBuoy",
|
|
281
231
|
"layers": [
|
|
282
|
-
"
|
|
232
|
+
"MaritimeBuoy"
|
|
283
233
|
],
|
|
284
234
|
"availableStyles": [
|
|
285
|
-
"
|
|
235
|
+
"buoy_style"
|
|
286
236
|
],
|
|
287
|
-
"defaultStyles": "
|
|
237
|
+
"defaultStyles": "buoy_style"
|
|
288
238
|
}
|
|
289
239
|
],
|
|
290
240
|
"styles": [
|
|
291
241
|
{
|
|
292
|
-
"name": "
|
|
293
|
-
"type": "
|
|
294
|
-
"
|
|
295
|
-
"
|
|
296
|
-
"
|
|
242
|
+
"name": "river_style",
|
|
243
|
+
"type": "WMSLayerStyle",
|
|
244
|
+
"geometryType": "LINESTRING",
|
|
245
|
+
"fillColor": null,
|
|
246
|
+
"strokeColor": "#0066cc",
|
|
247
|
+
"fillOpacity": null,
|
|
248
|
+
"strokeOpacity": 1,
|
|
249
|
+
"strokeWidth": 2
|
|
297
250
|
},
|
|
298
251
|
{
|
|
299
|
-
"name": "
|
|
300
|
-
"type": "
|
|
301
|
-
"
|
|
302
|
-
"
|
|
303
|
-
"
|
|
304
|
-
"
|
|
252
|
+
"name": "sea_style",
|
|
253
|
+
"type": "WMSLayerStyle",
|
|
254
|
+
"geometryType": "POLYGON",
|
|
255
|
+
"fillColor": "#3399ff",
|
|
256
|
+
"strokeColor": "#0066cc",
|
|
257
|
+
"fillOpacity": 0.4,
|
|
258
|
+
"strokeOpacity": 0.8,
|
|
259
|
+
"strokeWidth": null
|
|
305
260
|
},
|
|
306
261
|
{
|
|
307
|
-
"name": "
|
|
308
|
-
"type": "
|
|
309
|
-
"
|
|
310
|
-
"
|
|
311
|
-
"
|
|
262
|
+
"name": "buoy_style",
|
|
263
|
+
"type": "WMSLayerStyle",
|
|
264
|
+
"geometryType": "POINT",
|
|
265
|
+
"fillColor": "#ff6600",
|
|
266
|
+
"strokeColor": "#cc3300",
|
|
267
|
+
"fillOpacity": 0.9,
|
|
268
|
+
"strokeOpacity": 1,
|
|
269
|
+
"strokeWidth": null
|
|
312
270
|
}
|
|
313
271
|
]
|
|
314
272
|
}
|
|
@@ -691,7 +691,8 @@
|
|
|
691
691
|
"fillColor": "#00FF00",
|
|
692
692
|
"strokeColor": "#008000",
|
|
693
693
|
"fillOpacity": 0.8,
|
|
694
|
-
"strokeOpacity": 1
|
|
694
|
+
"strokeOpacity": 1,
|
|
695
|
+
"strokeWidth": null
|
|
695
696
|
},
|
|
696
697
|
{
|
|
697
698
|
"name": "hazardZoneStyle",
|
|
@@ -700,7 +701,8 @@
|
|
|
700
701
|
"fillColor": "#FF0000",
|
|
701
702
|
"strokeColor": "#8B0000",
|
|
702
703
|
"fillOpacity": 0.3,
|
|
703
|
-
"strokeOpacity": 0.8
|
|
704
|
+
"strokeOpacity": 0.8,
|
|
705
|
+
"strokeWidth": null
|
|
704
706
|
},
|
|
705
707
|
{
|
|
706
708
|
"name": "fireStationLayerStyle",
|
|
@@ -542,7 +542,8 @@
|
|
|
542
542
|
"fillColor": "#228B22",
|
|
543
543
|
"strokeColor": "#006400",
|
|
544
544
|
"fillOpacity": 0.4,
|
|
545
|
-
"strokeOpacity": 0.9
|
|
545
|
+
"strokeOpacity": 0.9,
|
|
546
|
+
"strokeWidth": null
|
|
546
547
|
},
|
|
547
548
|
{
|
|
548
549
|
"name": "waterBodyStyle",
|
|
@@ -551,7 +552,8 @@
|
|
|
551
552
|
"fillColor": "#1E90FF",
|
|
552
553
|
"strokeColor": "#00008B",
|
|
553
554
|
"fillOpacity": 0.5,
|
|
554
|
-
"strokeOpacity": 0.8
|
|
555
|
+
"strokeOpacity": 0.8,
|
|
556
|
+
"strokeWidth": null
|
|
555
557
|
},
|
|
556
558
|
{
|
|
557
559
|
"name": "forestStyle",
|
|
@@ -560,7 +562,8 @@
|
|
|
560
562
|
"fillColor": "#2E8B57",
|
|
561
563
|
"strokeColor": "#1B4D2E",
|
|
562
564
|
"fillOpacity": 0.6,
|
|
563
|
-
"strokeOpacity": 0.9
|
|
565
|
+
"strokeOpacity": 0.9,
|
|
566
|
+
"strokeWidth": null
|
|
564
567
|
},
|
|
565
568
|
{
|
|
566
569
|
"name": "monitoringStationLayerStyle",
|
package/test-output/gis.json
CHANGED
|
@@ -54,18 +54,13 @@
|
|
|
54
54
|
"D_C_Nginx"
|
|
55
55
|
],
|
|
56
56
|
"basicData": {
|
|
57
|
-
"name": "
|
|
58
|
-
"extra": {
|
|
59
|
-
"geoserver_user": "admin",
|
|
60
|
-
"geoserver_password": "geoserver",
|
|
61
|
-
"geoserver_url_wms": "http://localhost:8080/geoserver"
|
|
62
|
-
}
|
|
57
|
+
"name": "water_supply"
|
|
63
58
|
},
|
|
64
59
|
"data": {
|
|
65
60
|
"dataModel": {
|
|
66
61
|
"entities": [
|
|
67
62
|
{
|
|
68
|
-
"name": "
|
|
63
|
+
"name": "River",
|
|
69
64
|
"properties": [
|
|
70
65
|
{
|
|
71
66
|
"name": "id",
|
|
@@ -75,24 +70,23 @@
|
|
|
75
70
|
"unique": true
|
|
76
71
|
},
|
|
77
72
|
{
|
|
78
|
-
"name": "
|
|
73
|
+
"name": "name",
|
|
79
74
|
"class": "String",
|
|
80
|
-
"required": true
|
|
81
|
-
"unique": true
|
|
75
|
+
"required": true
|
|
82
76
|
},
|
|
83
77
|
{
|
|
84
|
-
"name": "
|
|
85
|
-
"class": "
|
|
78
|
+
"name": "length",
|
|
79
|
+
"class": "Long"
|
|
86
80
|
},
|
|
87
81
|
{
|
|
88
82
|
"name": "geometry",
|
|
89
|
-
"class": "
|
|
83
|
+
"class": "MultiLineString"
|
|
90
84
|
}
|
|
91
85
|
],
|
|
92
86
|
"displayString": "$id"
|
|
93
87
|
},
|
|
94
88
|
{
|
|
95
|
-
"name": "
|
|
89
|
+
"name": "Sea",
|
|
96
90
|
"properties": [
|
|
97
91
|
{
|
|
98
92
|
"name": "id",
|
|
@@ -107,18 +101,18 @@
|
|
|
107
101
|
"required": true
|
|
108
102
|
},
|
|
109
103
|
{
|
|
110
|
-
"name": "
|
|
111
|
-
"class": "
|
|
104
|
+
"name": "area",
|
|
105
|
+
"class": "Long"
|
|
112
106
|
},
|
|
113
107
|
{
|
|
114
108
|
"name": "geometry",
|
|
115
|
-
"class": "
|
|
109
|
+
"class": "MultiPolygon"
|
|
116
110
|
}
|
|
117
111
|
],
|
|
118
112
|
"displayString": "$id"
|
|
119
113
|
},
|
|
120
114
|
{
|
|
121
|
-
"name": "
|
|
115
|
+
"name": "MaritimeBuoy",
|
|
122
116
|
"properties": [
|
|
123
117
|
{
|
|
124
118
|
"name": "id",
|
|
@@ -133,12 +127,12 @@
|
|
|
133
127
|
"required": true
|
|
134
128
|
},
|
|
135
129
|
{
|
|
136
|
-
"name": "
|
|
137
|
-
"class": "
|
|
130
|
+
"name": "location",
|
|
131
|
+
"class": "String"
|
|
138
132
|
},
|
|
139
133
|
{
|
|
140
134
|
"name": "geometry",
|
|
141
|
-
"class": "
|
|
135
|
+
"class": "Point"
|
|
142
136
|
}
|
|
143
137
|
],
|
|
144
138
|
"displayString": "$id"
|
|
@@ -150,8 +144,8 @@
|
|
|
150
144
|
"mapViewer": {
|
|
151
145
|
"maps": [
|
|
152
146
|
{
|
|
153
|
-
"name": "
|
|
154
|
-
"label": "
|
|
147
|
+
"name": "main",
|
|
148
|
+
"label": "Water Supply Map",
|
|
155
149
|
"sortable": false,
|
|
156
150
|
"layers": [
|
|
157
151
|
{
|
|
@@ -160,17 +154,17 @@
|
|
|
160
154
|
"selected": true
|
|
161
155
|
},
|
|
162
156
|
{
|
|
163
|
-
"name": "
|
|
157
|
+
"name": "river_layer",
|
|
164
158
|
"baseLayer": false,
|
|
165
159
|
"selected": true
|
|
166
160
|
},
|
|
167
161
|
{
|
|
168
|
-
"name": "
|
|
162
|
+
"name": "sea_layer",
|
|
169
163
|
"baseLayer": false,
|
|
170
164
|
"selected": true
|
|
171
165
|
},
|
|
172
166
|
{
|
|
173
|
-
"name": "
|
|
167
|
+
"name": "buoy_layer",
|
|
174
168
|
"baseLayer": false,
|
|
175
169
|
"selected": true
|
|
176
170
|
}
|
|
@@ -185,7 +179,7 @@
|
|
|
185
179
|
"url": "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
|
|
186
180
|
},
|
|
187
181
|
{
|
|
188
|
-
"name": "
|
|
182
|
+
"name": "river_layer",
|
|
189
183
|
"type": "wms",
|
|
190
184
|
"label": "Rivers",
|
|
191
185
|
"list": "River",
|
|
@@ -198,28 +192,30 @@
|
|
|
198
192
|
"defaultStyles": "river_style"
|
|
199
193
|
},
|
|
200
194
|
{
|
|
201
|
-
"name": "
|
|
195
|
+
"name": "sea_layer",
|
|
202
196
|
"type": "wms",
|
|
203
|
-
"label": "
|
|
204
|
-
"list": "
|
|
197
|
+
"label": "Seas",
|
|
198
|
+
"list": "Sea",
|
|
205
199
|
"layers": [
|
|
206
|
-
"
|
|
200
|
+
"Sea"
|
|
207
201
|
],
|
|
208
202
|
"availableStyles": [
|
|
209
|
-
"
|
|
203
|
+
"sea_style"
|
|
210
204
|
],
|
|
211
|
-
"defaultStyles": "
|
|
205
|
+
"defaultStyles": "sea_style"
|
|
212
206
|
},
|
|
213
207
|
{
|
|
214
|
-
"name": "
|
|
215
|
-
"type": "
|
|
216
|
-
"label": "
|
|
217
|
-
"
|
|
218
|
-
"
|
|
219
|
-
|
|
208
|
+
"name": "buoy_layer",
|
|
209
|
+
"type": "wms",
|
|
210
|
+
"label": "Maritime Buoys",
|
|
211
|
+
"list": "MaritimeBuoy",
|
|
212
|
+
"layers": [
|
|
213
|
+
"MaritimeBuoy"
|
|
214
|
+
],
|
|
220
215
|
"availableStyles": [
|
|
221
|
-
"
|
|
222
|
-
]
|
|
216
|
+
"buoy_style"
|
|
217
|
+
],
|
|
218
|
+
"defaultStyles": "buoy_style"
|
|
223
219
|
}
|
|
224
220
|
],
|
|
225
221
|
"styles": [
|
|
@@ -228,26 +224,30 @@
|
|
|
228
224
|
"type": "WMSLayerStyle",
|
|
229
225
|
"geometryType": "LINESTRING",
|
|
230
226
|
"fillColor": null,
|
|
231
|
-
"strokeColor": "#
|
|
227
|
+
"strokeColor": "#0066cc",
|
|
232
228
|
"fillOpacity": null,
|
|
233
|
-
"strokeOpacity": null
|
|
229
|
+
"strokeOpacity": null,
|
|
230
|
+
"strokeWidth": null
|
|
234
231
|
},
|
|
235
232
|
{
|
|
236
|
-
"name": "
|
|
233
|
+
"name": "sea_style",
|
|
237
234
|
"type": "WMSLayerStyle",
|
|
238
235
|
"geometryType": "POLYGON",
|
|
239
|
-
"fillColor": "#
|
|
240
|
-
"strokeColor": "#
|
|
241
|
-
"fillOpacity": 0.
|
|
242
|
-
"strokeOpacity":
|
|
236
|
+
"fillColor": "#0099ff",
|
|
237
|
+
"strokeColor": "#0066cc",
|
|
238
|
+
"fillOpacity": 0.5,
|
|
239
|
+
"strokeOpacity": 1,
|
|
240
|
+
"strokeWidth": null
|
|
243
241
|
},
|
|
244
242
|
{
|
|
245
|
-
"name": "
|
|
246
|
-
"type": "
|
|
247
|
-
"
|
|
248
|
-
"
|
|
249
|
-
"
|
|
250
|
-
"
|
|
243
|
+
"name": "buoy_style",
|
|
244
|
+
"type": "WMSLayerStyle",
|
|
245
|
+
"geometryType": "POINT",
|
|
246
|
+
"fillColor": "#ff0000",
|
|
247
|
+
"strokeColor": "#ff0000",
|
|
248
|
+
"fillOpacity": 1,
|
|
249
|
+
"strokeOpacity": 1,
|
|
250
|
+
"strokeWidth": null
|
|
251
251
|
}
|
|
252
252
|
]
|
|
253
253
|
}
|