You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+143-4Lines changed: 143 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,13 +35,14 @@ Here is how it looks like with an image column selected:
35
35
36
36

37
37
38
-
The original result set was the following:
38
+
The original query was the following: (_All chairmans of EU political groups, with dates of chair and image_, based on the [European Parliament Open Data Portal](https://data.europarl.europa.eu/) datasets)
39
39
40
-

40
+

41
41
42
-
And the original query was the following: (_All chairmans of EU political groups, with dates of chair and image_, based on the [European Parliament Open Data Portal](https://data.europarl.europa.eu/) datasets)
42
+
The original result set was the following - note how each person is duplicated as many times as it was a chairman of a group, with different dates:
43
+
44
+

43
45
44
-

45
46
46
47
Here is a focus on one card, note how the lines corresponding to the same entity have been merged, and how the original query structure is replicated inside the card:
47
48
@@ -63,10 +64,148 @@ The Stats plugin can:
63
64

64
65
65
66
67
+
### Map plugin
68
+
69
+
The map plugin:
70
+
71
+
- Reads columns with a datatype of `geo:wktLiteral`
72
+
- Can display Points and Polygons. MultiPolygons are currently not supported
73
+
- Displays the original query area coming from the query, if present
74
+
- Displays information bubbles by reading all columns from the result set
75
+
- Splits polygons into different layers according to their size, so that the user can reduce the number of polygons displayed on the map for clarity
76
+
- Can warn users if some lines in the result set do not have their coordinates filled int
These plugins require a specific integration with Sparnatural to work. See the [Sparnatural documentation page](https://docs.sparnatural.eu/YasGUI-plugins.html). See the file `sparnatural-bindings.js` in Sparnatural releases.
133
+
134
+
#### API
135
+
136
+
These plugins have the following methods:
137
+
138
+
-`notifyQuery(query)` : expects the Sparnatural query structure, to be notified of the original query structure that was executed.
139
+
-`notifyConfig(specProvider)` : expects the Sparnatural configuration, to be aware of the labels and icons of the properties and classes in the config.
0 commit comments