OGR Virtual Dataset (VRT) 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 section.
Geometry
The geometry of OGR VRT features may be identified by the wkb_type attribute. The valid values for this attribute are:
wkb_type | Description |
---|---|
wkb_none | FME Feature with no geometry |
wkb_point | 2D Point feature |
wkb_point_xyz | 2.5D Point feature |
wkb_line | 2D Linear feature |
wkb_line_xyz | 2.5D Linear feature |
wkb_polygon | 2D simple polygon or donut feature |
wkb_polygon_xyz | 2.5D simple polygon or donut feature |
wkb_geometry_collection | 2D Feature with multiple geometries |
wkb_geometry_collection_xyz | 2.5D Feature with multiple heterogeneous geometries |
wkb_multi_point | 2D Feature with multiple point geometries |
wkb_multi_point_xyz | 2.5D Feature with multiple point geometries |
wkb_multi_line | 2D Feature with multiple line geometries |
wkb_multi_line_xyz | 2.5D Feature with multiple line geometries |
wkb_multi_polygon | 2D Feature with multiple polygon geometries |
wkb_multi_polygon_xyz | 2.5D Feature with multiple polygon geometries |
wkb_geometry | All geometries allowed |
wkb_unknown | All geometries allowed |
VRT Attribute Type Mapping
The VRT attribute type mapping is shown below.
VRT Attribute Type | FME Attribute Type |
---|---|
string(width) | fme_varchar(width) |
string(width) | fme_char(width) |
binary | fme_buffer |
string(1) | fme_char |
real(width, decimal) | fme_decimal(width, decimal) |
datetime | fme_datetime |
date | fme_date |
time | fme_time |
integer | fme_int32 |
real(10,0) | fme_uint32 |
real(20,0) | fme_int64 |
real(20,0) | fme_uint64 |
integer | fme_int16 |
integer | fme_uint16 |
integer | fme_uint8 |
real(15,7) | fme_real32 |
real(31,15) | fme_real64 |
integer | fme_boolean |