You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by mi...@apache.org on 2020/05/12 11:04:11 UTC

[incubator-streampipes-extensions] 05/09: ontologie

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 6de2600f29f6421e5a1fd2d2c78c2af582f41416
Author: micklich <fl...@disy.net>
AuthorDate: Mon May 11 16:34:59 2020 +0200

    ontologie
---
 .../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 490007f..654a907 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
@@ -56,14 +56,14 @@ public class CreateTrajectoryFromPointsController extends  StandaloneEventProces
                         StreamRequirementsBuilder
                                 .create()
                                 .requiredPropertyWithUnaryMapping(
-                                        EpRequirements.stringReq(),
+                                        EpRequirements.domainPropertyReq("http://www.opengis.net/spec/geosparql/1.0#wktLiteral"),
                                         Labels.from(WKT,
                                                 "Geometry WKT",
                                                 "WKT of the requested Geometry"),
                                         PropertyScope.NONE
                                 )
                                 .requiredPropertyWithUnaryMapping(
-                                        EpRequirements.numberReq(),
+                                        EpRequirements.domainPropertyReq("http://streampipes.org/epsg"),
                                         Labels.from(EPSG, "EPSG Field", "EPSG Code for SRID"),
                                         PropertyScope.NONE
                                 )