streampipes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mickl...@apache.org
Subject [incubator-streampipes-extensions] 15/17: fix error in extraction and output strategy
Date Tue, 12 May 2020 18:38:12 GMT
This is an automated email from the ASF dual-hosted git repository.

micklich pushed a commit to branch feature/trajectory
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-extensions.git

commit 00bb22fdc023dc08189442f2a90e9b7ad3678232
Author: micklich <florian.micklich@disy.net>
AuthorDate: Tue May 12 13:02:03 2020 +0200

    fix error in extraction and output strategy
---
 .../processor/trajectory/CreateTrajectoryFromPointsController.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/streampipes-processors-geo-jvm/src/main/java/org/apache/streampipes/processors/geo/jvm/jts/processor/trajectory/CreateTrajectoryFromPointsController.java
b/streampipes-processors-geo-jvm/src/main/java/org/apache/streampipes/processors/geo/jvm/jts/processor/trajectory/CreateTrajectoryFromPointsController.java
index e3c3021..16d6e4f 100755
--- a/streampipes-processors-geo-jvm/src/main/java/org/apache/streampipes/processors/geo/jvm/jts/processor/trajectory/CreateTrajectoryFromPointsController.java
+++ b/streampipes-processors-geo-jvm/src/main/java/org/apache/streampipes/processors/geo/jvm/jts/processor/trajectory/CreateTrajectoryFromPointsController.java
@@ -81,7 +81,7 @@ public class CreateTrajectoryFromPointsController extends StandaloneEventProcess
                 "m-value",
                 SO.Number
             ),
-            EpProperties.numberEp(
+            EpProperties.stringEp(
                 Labels.withId(WKT),
                 "trajectory-wkt",
                 "http://www.opengis.net/ont/geosparql#Geometry")
@@ -98,7 +98,7 @@ public class CreateTrajectoryFromPointsController extends StandaloneEventProcess
   public ConfiguredEventProcessor<CreateTrajectoryFromPointsParameter> onInvocation(DataProcessorInvocation
graph, ProcessingElementParameterExtractor extractor) {
 
 
-    String wkt = extractor.mappingPropertyValue(WKT);
+    String wkt = extractor.mappingPropertyValue(POINT_KEY);
     String epsg = extractor.mappingPropertyValue(EPSG_KEY);
     String m = extractor.mappingPropertyValue(M_KEY);
 


Mime
View raw message