Elastic Elasticsearch Feature Representation
In addition to the generic FME feature attributes that FME Workbench adds to all features (see About Feature Type Attributes), this format also adds format-specific attributes (Format Attributes).
Features read from Elasticsearch consist of geometry and a series of attribute values. The feature type of each Elasticsearch feature is as defined in the Reader Feature Type parameters.
Features written to Elasticsearch have the destination database as their feature type, and attributes as defined in the Elastic Elasticsearch Writer Feature Type Parameters.
Elasticsearch attribute names and values support full UTF-8.
Elasticsearch attribute types are listed in Elastic Elasticsearch User Attributes.
For information about FME data types and attribute mapping, see FME Data Types
Attribute Type Mapping
|
Elasticsearch Attribute Type |
FME Attribute Type |
|---|---|
|
binary |
fme_binary(width) |
|
binary |
fme_binarybuffer |
|
binary |
fme_varbinary(width) |
|
boolean |
fme_boolean |
|
byte |
fme_int8 |
|
date |
fme_date |
|
date |
fme_datetime |
|
date |
fme_time |
|
double |
fme_decimal(width, precision) |
|
double |
fme_real64 |
|
float |
fme_real32 |
|
integer |
fme_int32 |
|
integer |
fme_uint16 |
|
long |
fme_int64 |
|
long |
fme_uint32 |
|
keyword |
fme_buffer |
|
keyword |
fme_uint64 |
|
short |
fme_int16 |
|
short |
fme_uint8 |
|
string (v6 and earlier only) |
fme_buffer |
|
text |
fme_buffer |
|
text |
fme_char(width) |
|
text |
fme_json |
|
text |
fme_varchar(width) |
|
text |
fme_xml |
Geometry
|
elasticsearch_type |
Description |
|---|---|
|
elasticsearch_geometry |
All geometries allowed |
|
elasticsearch_geometry_collection |
Feature with multiple geometries |
|
elasticsearch_linestring |
Linear feature |
|
elasticsearch_multilinestring |
Feature with multiple line geometries |
|
elasticsearch_multipoint |
Feature with multiple heterogeneous point geometries |
|
elasticsearch_multipolygon |
Feature with multiple polygon geometries |
|
elasticsearch_none |
FME Feature with no geometry |
|
elasticsearch_point |
Point feature |
|
elasticsearch_polygon |
Simple polygon or donut feature |