@lbdudc/gp-gis-dsl 0.3.2 → 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/.claude/settings.local.json +7 -0
- package/grammar/.antlr/GISGrammar.interp +184 -0
- package/grammar/.antlr/GISGrammar.tokens +74 -0
- package/grammar/.antlr/GISGrammarBaseListener.java +579 -0
- package/grammar/.antlr/GISGrammarLexer.interp +244 -0
- package/grammar/.antlr/GISGrammarLexer.java +695 -0
- package/grammar/.antlr/GISGrammarLexer.tokens +74 -0
- package/grammar/.antlr/GISGrammarListener.java +459 -0
- package/grammar/.antlr/GISGrammarParser.java +2993 -0
- package/grammar/GISGrammar.g4 +315 -313
- package/package.json +2 -2
- package/parse-file.js +73 -0
- package/src/GISVisitor.js +440 -436
- package/src/lib/GISGrammar.interp +184 -182
- package/src/lib/GISGrammar.tokens +49 -48
- package/src/lib/GISGrammarLexer.interp +244 -241
- package/src/lib/GISGrammarLexer.js +325 -317
- package/src/lib/GISGrammarLexer.tokens +49 -48
- package/src/lib/GISGrammarListener.js +1 -1
- package/src/lib/GISGrammarParser.js +406 -369
- package/src/lib/GISGrammarVisitor.js +1 -1
- package/src/spl/WMSStyleCustom.js +24 -22
- package/test-examples.js +120 -0
- package/test-output/agriculture.json +430 -0
- package/test-output/basic.json +273 -0
- package/test-output/complete.json +1260 -0
- package/test-output/emergency.json +757 -0
- package/test-output/environmental.json +594 -0
- package/test-output/gis.json +254 -0
- package/test-output/tourism.json +707 -0
- package/test-output/transportation.json +489 -0
- package/test-output/utilities.json +623 -0
- package/test-output/wms.json +110 -0
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
{
|
|
2
|
+
"features": [
|
|
3
|
+
"MapViewer",
|
|
4
|
+
"ChartViewer",
|
|
5
|
+
"Tools",
|
|
6
|
+
"DM_SpatialDatabase",
|
|
7
|
+
"DM_GenerationType",
|
|
8
|
+
"MV_MapServer",
|
|
9
|
+
"MV_Tools",
|
|
10
|
+
"MV_MapManagement",
|
|
11
|
+
"DM_SD_PostGIS",
|
|
12
|
+
"DM_GT_Sequence",
|
|
13
|
+
"MV_MM_MultipleMapViewer",
|
|
14
|
+
"MV_MM_MMV_MapSelectorInMapViewer",
|
|
15
|
+
"MV_MM_MMV_MapSelectorInMenuElement",
|
|
16
|
+
"MV_MS_GeoServer",
|
|
17
|
+
"GUI_Lists",
|
|
18
|
+
"GUI_L_FormLink",
|
|
19
|
+
"GUI_L_F_BasicSearch",
|
|
20
|
+
"GUI_L_Filterable",
|
|
21
|
+
"GUI_L_Sortable",
|
|
22
|
+
"GUI_L_LocateInMap",
|
|
23
|
+
"GUI_L_ViewListAsMap",
|
|
24
|
+
"MV_ContextInformation",
|
|
25
|
+
"MV_CI_Scale",
|
|
26
|
+
"MV_CI_Map",
|
|
27
|
+
"MV_CI_CenterCoordinates",
|
|
28
|
+
"MV_CI_Dimensions",
|
|
29
|
+
"MV_DetailOnClick",
|
|
30
|
+
"MV_LayerManagement",
|
|
31
|
+
"MV_LM_CenterViewOnLayer",
|
|
32
|
+
"MV_LM_Order",
|
|
33
|
+
"MV_LM_Opacity",
|
|
34
|
+
"MV_LM_HideLayer",
|
|
35
|
+
"MV_LM_Style",
|
|
36
|
+
"MV_LM_ExternalLayer",
|
|
37
|
+
"MV_LM_StylePreview",
|
|
38
|
+
"MV_T_E_Type",
|
|
39
|
+
"MV_T_E_F_URL",
|
|
40
|
+
"MV_T_E_F_PDF",
|
|
41
|
+
"MV_T_E_SetScale",
|
|
42
|
+
"MV_T_E_ShowLegend",
|
|
43
|
+
"MV_T_InformationMode",
|
|
44
|
+
"MV_T_MeasureControl",
|
|
45
|
+
"MV_T_ZoomWindow",
|
|
46
|
+
"MV_T_ViewMapAsList",
|
|
47
|
+
"DM_DataInput",
|
|
48
|
+
"DM_DI_DataFeeding",
|
|
49
|
+
"DM_DI_DF_Shapefile",
|
|
50
|
+
"T_GIS",
|
|
51
|
+
"T_EntitiesInformation",
|
|
52
|
+
"D_C_Postgres",
|
|
53
|
+
"D_C_Geoserver",
|
|
54
|
+
"D_C_Nginx"
|
|
55
|
+
],
|
|
56
|
+
"basicData": {
|
|
57
|
+
"name": "HelloWorld"
|
|
58
|
+
},
|
|
59
|
+
"data": {
|
|
60
|
+
"dataModel": {
|
|
61
|
+
"entities": [],
|
|
62
|
+
"enums": []
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"mapViewer": {
|
|
66
|
+
"maps": [],
|
|
67
|
+
"layers": [
|
|
68
|
+
{
|
|
69
|
+
"name": "base",
|
|
70
|
+
"type": "tilelayer",
|
|
71
|
+
"label": "OpenStreetMap",
|
|
72
|
+
"url": "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "red_de_control_quimico_de_vigilancia_general",
|
|
76
|
+
"type": "wms",
|
|
77
|
+
"label": "red_de_control_quimico_de_vigilancia_general",
|
|
78
|
+
"list": null,
|
|
79
|
+
"layers": [
|
|
80
|
+
"EF.EnvironmentalMonitoringNetworks"
|
|
81
|
+
],
|
|
82
|
+
"availableStyles": [
|
|
83
|
+
"Agua_casub_quimico_vigilancia"
|
|
84
|
+
],
|
|
85
|
+
"defaultStyles": "Agua_casub_quimico_vigilancia",
|
|
86
|
+
"external": true,
|
|
87
|
+
"url": "https://wms.mapama.gob.es/sig/Agua/CAS_Vigilancia",
|
|
88
|
+
"layerName": "EF.EnvironmentalMonitoringNetworks",
|
|
89
|
+
"format": "image/png",
|
|
90
|
+
"crs": "CRS:84",
|
|
91
|
+
"bbox": {
|
|
92
|
+
"crs": "CRS:84",
|
|
93
|
+
"minx": -10.46691747950002,
|
|
94
|
+
"miny": 34.4328529235,
|
|
95
|
+
"maxx": 5.62803474250002,
|
|
96
|
+
"maxy": 44.5738228055
|
|
97
|
+
},
|
|
98
|
+
"version": "1.3.0",
|
|
99
|
+
"styles": [
|
|
100
|
+
"Agua_casub_quimico_vigilancia"
|
|
101
|
+
],
|
|
102
|
+
"queryable": true,
|
|
103
|
+
"attribution": null,
|
|
104
|
+
"visible": true,
|
|
105
|
+
"opacity": 1
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"styles": []
|
|
109
|
+
}
|
|
110
|
+
}
|