Class FUN_GeoJSONGeometry
- java.lang.Object
 - 
- org.apache.jena.sparql.function.FunctionBase
 - 
- org.apache.jena.sparql.function.FunctionBase1
 - 
- fr.mines_stetienne.ci.sparql_generate.geojson.FUN_GeoJSONGeometry
 
 
 
 
- 
- All Implemented Interfaces:
 Function
public final class FUN_GeoJSONGeometry extends FunctionBase1
Binding function fun:GeoJSONGeometry extracts the Geometry member from a Feature object as a wktLiteral.See Live example
- Param 1 is a GeoJSON Feature object in JSON;
 - Result is a GeoSPARQL wktLiteral.
 
The following geometry types are supported: Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, and GeometryCollection.
- Since:
 - 2018-09-05
 - Author:
 - El Mehdi Khalfi 
 
 
- 
- 
Constructor Summary
Constructors Constructor Description FUN_GeoJSONGeometry() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeValueexec(NodeValue json)NodeValuegetNodeValue(com.github.filosganga.geogson.model.Geometry geom)- 
Methods inherited from class org.apache.jena.sparql.function.FunctionBase1
checkBuild, exec 
- 
Methods inherited from class org.apache.jena.sparql.function.FunctionBase
build, evalArgs, exec, exec 
 - 
 
 - 
 
- 
- 
Field Detail
- 
URI
public static final String URI
The SPARQL function URI.- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
exec
public NodeValue exec(NodeValue json)
- Specified by:
 execin classFunctionBase1
 
- 
getNodeValue
public NodeValue getNodeValue(com.github.filosganga.geogson.model.Geometry geom)
 
 - 
 
 -