Feature Representation

In addition to the generic FME feature attributes that FME Workbench adds to all features (see About Feature Type Attributes), this format adds the format-specific attributes described in this topic.

Geometry

The geometry of JSON features is identified by the json_type attribute. The valid values for this attribute are:

json_type

Description

json_no_geom

FME Feature with no geometry.

json_point

Point feature.

json_line

Linear feature.

json_polygon

Simple polygon or donut feature.

json_rectangle

Simple rectangular polygon feature.

json_collection

Feature with multiple geometries.

No Geometry

json_type: json_no_geom

Features with their json_type attribute set to json_no_geom do not contain any geometry data.

Points

json_type: json_point

Features with their json_type set to json_point are single coordinate features or an aggregate of single points.

Lines

json_type: json_line

Features with their json_type set to json_line are polyline features or an aggregate of polylines.

Areas

json_type: json_polygon

Features with their json_type set to json_polygon are polygon features which may or may not have interior boundaries, or an aggregate of such polygons.

Boxes

json_type: json_rectangle

Features with their json_type set to json_rectangle are simple rectangular closed polygons. Features with this type will not have any interior boundaries.

Aggregates

json_type: json_collection

Features with their json_type set to json_collection are a heterogeneous collection of multiple geometries.