Class 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);
    The following variables may be bound:
    • Output 1: (wktLiteral) geometry of the feature;
    • Output 2: (json literal) properties of the feature
    Since:
    2018-09-19
    Author:
    El Mehdi Khalfi