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

    Fields
    Modifier and Type
    Field
    Description
    protected org.locationtech.jts.geom.GeometryFactory
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    F_ParsePolyline(org.locationtech.jts.geom.GeometryFactory geometryFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.locationtech.jts.geom.Coordinate
    convert(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.NodeValue
    exec(org.apache.jena.sparql.expr.NodeValue v)
     

    Methods inherited from class org.apache.jena.sparql.function.FunctionBase1

    checkBuild, exec

    Methods inherited from class org.apache.jena.sparql.function.FunctionBase

    build, exec, exec

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      exec in class org.apache.jena.sparql.function.FunctionBase1