Class ITER_GeoJSON
- java.lang.Object
-
- fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
-
- fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunctionBase
-
- fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunctionBase1
-
- fr.mines_stetienne.ci.sparql_generate.geojson.ITER_GeoJSON
-
- All Implemented Interfaces:
IteratorFunction
public class ITER_GeoJSON extends IteratorFunctionBase1
Iterator function iter:GeoJSON iterates over the features collection of a GeoJSON document, and outputs (1) the Geometry as a wktLiteral, and (2) the Features as a JSON Literal
See Live example
- Param 1: (geojson): the URI of the GeoJSON document (a URI), or the GeoJSON object itself (a String);
- Output 1: (wktLiteral) geometry of the feature;
- Output 2: (json literal) properties of the feature
- Since:
- 2018-09-19
- Author:
- El Mehdi Khalfi
-
-
Field Summary
Fields Modifier and Type Field Description static String
URI
The SPARQL function URI.-
Fields inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
arguments
-
-
Constructor Summary
Constructors Constructor Description ITER_GeoJSON()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<List<NodeValue>>
exec(NodeValue json)
-
Methods inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunctionBase1
checkBuild, exec
-
Methods inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunctionBase
exec
-
Methods inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
build, exec, getContext
-
-
-
-
Field Detail
-
URI
public static final String URI
The SPARQL function URI.- See Also:
- Constant Field Values
-
-
Method Detail
-
exec
public List<List<NodeValue>> exec(NodeValue json)
Description copied from class:IteratorFunctionBase1
- Specified by:
exec
in classIteratorFunctionBase1
-
-