Class F_ParsePolyline
java.lang.Object
org.apache.jena.sparql.function.FunctionBase
org.apache.jena.sparql.function.FunctionBase1
org.aksw.jena_sparql_api.sparql.ext.geosparql.F_ParsePolyline
- All Implemented Interfaces:
org.apache.jena.sparql.function.Function
public class F_ParsePolyline
extends org.apache.jena.sparql.function.FunctionBase1
Function that parses a poly line into a WKT literal; a linestring of all points
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.locationtech.jts.geom.GeometryFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.locationtech.jts.geom.Coordinateconvert(com.google.maps.model.LatLng ll) static org.locationtech.jts.geom.Coordinate[]convertAll(Collection<com.google.maps.model.LatLng> ll) org.apache.jena.sparql.expr.NodeValueexec(org.apache.jena.sparql.expr.NodeValue v) Methods inherited from class org.apache.jena.sparql.function.FunctionBase1
checkBuild, execMethods inherited from class org.apache.jena.sparql.function.FunctionBase
build, exec, exec
-
Field Details
-
geometryFactory
protected org.locationtech.jts.geom.GeometryFactory geometryFactory
-
-
Constructor Details
-
F_ParsePolyline
public F_ParsePolyline() -
F_ParsePolyline
public F_ParsePolyline(org.locationtech.jts.geom.GeometryFactory geometryFactory)
-
-
Method Details
-
convert
public static org.locationtech.jts.geom.Coordinate convert(com.google.maps.model.LatLng ll) -
convertAll
public static org.locationtech.jts.geom.Coordinate[] convertAll(Collection<com.google.maps.model.LatLng> ll) -
exec
public org.apache.jena.sparql.expr.NodeValue exec(org.apache.jena.sparql.expr.NodeValue v) - Specified by:
execin classorg.apache.jena.sparql.function.FunctionBase1
-