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 2023/02/19 21:29:23 UTC
[streampipes] 03/03: [#1307] add resources
This is an automated email from the ASF dual-hosted git repository.
micklich pushed a commit to branch 1307-geometry-validation-processor
in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit 562dbb34af154ac499e1d7f5bd544d14a93a911b
Author: micklich <mi...@apache.org>
AuthorDate: Sun Feb 19 22:25:46 2023 +0100
[#1307] add resources
---
.../documentation.md | 75 +++++++++++++++++++++
.../icon.png | Bin 0 -> 16986 bytes
.../strings.en | 31 +++++++++
3 files changed, 106 insertions(+)
diff --git a/streampipes-extensions/streampipes-processors-geo-jvm/src/main/resources/org.apache.streampipes.processors.geo.jvm.jts.processor.validation/documentation.md b/streampipes-extensions/streampipes-processors-geo-jvm/src/main/resources/org.apache.streampipes.processors.geo.jvm.jts.processor.validation/documentation.md
new file mode 100644
index 000000000..c17c1f252
--- /dev/null
+++ b/streampipes-extensions/streampipes-processors-geo-jvm/src/main/resources/org.apache.streampipes.processors.geo.jvm.jts.processor.validation/documentation.md
@@ -0,0 +1,75 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ ~
+ -->
+
+## Geometry Validation
+
+<p align="center">
+ <img src="icon.png" width="150px;" class="pe-image-documentation"/>
+</p>
+
+***
+
+## Description
+
+
+
+***
+
+## Required inputs
+
+* JTS Geometry
+* EPSG Code
+* Validation Type
+* Validation Output
+
+
+***
+
+## Configuration
+
+Validates geometry of different validations categories.
+
+
+### Point Geometry Field
+Input Point Geometry
+
+### EPSG field
+Integer value representing EPSG code
+
+### Validation Type
+* IsEmpty - Geometry is empty.
+* IsSimple - Geometry is simple. The SFS definition of simplicity follows the general rule that a Geometry is simple if it has no points of self-tangency, self-intersection or other anomalous points.
+ * Valid polygon geometries are simple, since their rings must not self-intersect.
+ * Linear rings have the same semantics.
+ * Linear geometries are simple if they do not self-intersect at points other than boundary points.
+ * Zero-dimensional geometries (points) are simple if they have no repeated points.
+ * Empty Geometrys are always simple!
+* IsValid - Tests whether this Geometry is topologically valid, according to the OGC SFS specification.
+
+### Validation Output
+Chose the output result of the filter.
+* Valid - all valid events are parsed through
+* Invalid - all invalid events are parsed through
+
+***
+
+## Output
+
+All events of the validation output.
+
+### Example
diff --git a/streampipes-extensions/streampipes-processors-geo-jvm/src/main/resources/org.apache.streampipes.processors.geo.jvm.jts.processor.validation/icon.png b/streampipes-extensions/streampipes-processors-geo-jvm/src/main/resources/org.apache.streampipes.processors.geo.jvm.jts.processor.validation/icon.png
new file mode 100644
index 000000000..be7197343
Binary files /dev/null and b/streampipes-extensions/streampipes-processors-geo-jvm/src/main/resources/org.apache.streampipes.processors.geo.jvm.jts.processor.validation/icon.png differ
diff --git a/streampipes-extensions/streampipes-processors-geo-jvm/src/main/resources/org.apache.streampipes.processors.geo.jvm.jts.processor.validation/strings.en b/streampipes-extensions/streampipes-processors-geo-jvm/src/main/resources/org.apache.streampipes.processors.geo.jvm.jts.processor.validation/strings.en
new file mode 100644
index 000000000..23392e90b
--- /dev/null
+++ b/streampipes-extensions/streampipes-processors-geo-jvm/src/main/resources/org.apache.streampipes.processors.geo.jvm.jts.processor.validation/strings.en
@@ -0,0 +1,31 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.apache.streampipes.processors.geo.jvm.jts.processor.validation.title=Geo Geometry Validation
+org.apache.streampipes.processors.geo.jvm.jts.processor.validation.description=Validates the geometry using different validation categories.
+
+geom-key.title=JTS Geometry Event
+geom-key.description=Input Geometry
+
+epsg-key.title=CRS of Input Geometry
+epsg-key.description=EPSG-Code of input point
+
+validation-output-key.title=Filter Output Type
+validation-output-key.description=The selected output takes into account
+
+validation-type-key.title= Validation Type
+validation-type-key.description=The selected output takes into account