You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2020/04/11 22:07:43 UTC
[incubator-streampipes-extensions] 02/05: Add icon and description
for spatial grid enricher
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-extensions.git
commit adb01f68b13825d655833edcd45324a6626fe5d0
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Sat Apr 11 23:21:32 2020 +0200
Add icon and description for spatial grid enricher
---
.../documentation.md | 19 -------------------
.../SpatialGridEnrichmentController.java | 2 +-
.../documentation.md | 21 +++++++++------------
.../icon.png | Bin 0 -> 9425 bytes
4 files changed, 10 insertions(+), 32 deletions(-)
diff --git a/streampipes-processors-filters-siddhi/src/main/resources/org.apache.streampipes.processors.siddhi.sequence/documentation.md b/streampipes-processors-filters-siddhi/src/main/resources/org.apache.streampipes.processors.siddhi.sequence/documentation.md
index 91fcbf9..e76f827 100644
--- a/streampipes-processors-filters-siddhi/src/main/resources/org.apache.streampipes.processors.siddhi.sequence/documentation.md
+++ b/streampipes-processors-filters-siddhi/src/main/resources/org.apache.streampipes.processors.siddhi.sequence/documentation.md
@@ -27,22 +27,3 @@
## Description
Merges events from two event streams, when the top event arrives first and then the bottom event
-Add a detailed description here
-
-***
-
-## Required input
-
-
-***
-
-## Configuration
-
-Describe the configuration parameters here
-
-### 1st parameter
-
-
-### 2nd parameter
-
-## Output
\ No newline at end of file
diff --git a/streampipes-processors-geo-flink/src/main/java/org/apache/streampipes/processor/geo/flink/processor/gridenricher/SpatialGridEnrichmentController.java b/streampipes-processors-geo-flink/src/main/java/org/apache/streampipes/processor/geo/flink/processor/gridenricher/SpatialGridEnrichmentController.java
index d1d7550..a722047 100644
--- a/streampipes-processors-geo-flink/src/main/java/org/apache/streampipes/processor/geo/flink/processor/gridenricher/SpatialGridEnrichmentController.java
+++ b/streampipes-processors-geo-flink/src/main/java/org/apache/streampipes/processor/geo/flink/processor/gridenricher/SpatialGridEnrichmentController.java
@@ -45,7 +45,7 @@ public class SpatialGridEnrichmentController extends FlinkDataProcessorDeclarer<
public DataProcessorDescription declareModel() {
return ProcessingElementBuilder.create("org.apache.streampipes.processor.geo.flink")
.withLocales(Locales.EN)
- .withAssets(Assets.DOCUMENTATION)
+ .withAssets(Assets.DOCUMENTATION, Assets.ICON)
.requiredStream(StreamRequirementsBuilder
.create()
.requiredPropertyWithUnaryMapping(EpRequirements.domainPropertyReq(Geo.lat)
diff --git a/streampipes-processors-geo-flink/src/main/resources/org.apache.streampipes.processor.geo.flink/documentation.md b/streampipes-processors-geo-flink/src/main/resources/org.apache.streampipes.processor.geo.flink/documentation.md
index d43213b..0ad1714 100644
--- a/streampipes-processors-geo-flink/src/main/resources/org.apache.streampipes.processor.geo.flink/documentation.md
+++ b/streampipes-processors-geo-flink/src/main/resources/org.apache.streampipes.processor.geo.flink/documentation.md
@@ -26,23 +26,20 @@
## Description
-Groups spatial events into cells of a given size
-Add a detailed description here
+Groups spatial events into cells of a given size.
+The result is like a chessboard pattern in which the geo coordinates are inserted. The user can define the coordinates of the first field.
***
## Required input
-
-
-***
+Requires a latitude and longitude in the data stream.
## Configuration
-Describe the configuration parameters here
-
-### 1st parameter
-
-
-### 2nd parameter
+* Latitude property
+* Longitude property
+* The size of the cell
+* Latitude and longitude of the first cell
-## Output
\ No newline at end of file
+## Output
+Appends the grid cell coordinates to the input event
\ No newline at end of file
diff --git a/streampipes-processors-geo-flink/src/main/resources/org.apache.streampipes.processor.geo.flink/icon.png b/streampipes-processors-geo-flink/src/main/resources/org.apache.streampipes.processor.geo.flink/icon.png
new file mode 100644
index 0000000..f7411da
Binary files /dev/null and b/streampipes-processors-geo-flink/src/main/resources/org.apache.streampipes.processor.geo.flink/icon.png differ