Feature Representation
In addition to the generic FME feature attributes that FME Workbench adds to all features (see About Feature Attributes), this format adds the format-specific attributes described in this topic.
Geometry
The geometry of GeoJSON features may be 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_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.
Aggregates
json_type:json_collection
Features with their json_type set to json_collection are a heterogeneous collection of multiple geometries.