You are here: ManipulatorsGeometryExtractor

GeometryExtractor

Extracts the geometry of a feature according to the setting of the geometry encoding parameter.  

The resulting encoded geometry is added to the feature in an attribute. This attribute can later be restored as the feature's geometry via the GeometryReplacer transformer.

This transformer is often used to make a copy of the feature's geometry into an attribute before some temporary geometry change is made, so that it can later be restored.  Alternately, the geometry may be extracted to be stored in a database or other file format that cannot handle geometry, but can handle large attributes as blobs or text strings.  Later, FME can read this data back and restore the geometry via the GeometryReplacer transformer.

Output Ports

Parameters

Encoded Polyline Parameters

Geohash Parameters

GML/KML Parameters

OGC Parameters

MGRS Parameters

MS SQL Server Parameters

Usage Notes

GeometryExtractor does not perform any repairs to feature geometries during extraction. Geometries are extracted in their current state.

To carry out a similar operation on raster data, please use the RasterExtractor transformer. For point cloud data, please use the PointCloudExtractor.

Be sure to position this transformer as close as possible to where the geometry attribute is being used. Positioning the transformer too early can cause unnecessary use of system resources.

Editing Transformer Parameters

Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.

Transformer Categories

Manipulators

Related Transformers

GeometryReplacer

RasterExtractor

RasterReplacer

PointCloudExtractor

PointCloudReplacer

FME Licensing Level

FME Professional edition and above

Transformer History

This transformer contains the functionality of the now-deprecated OGCGeometryExtractor and XMLGeometryExtractor.

Technical History

Associated FME function or factory: @Geometry, @OGCGeometry, @JSONGeometry, @GeoRSSGeometry, @GMLGeometry, @KMLGeometry

Search FME Knowledge Center

Search for samples and information about this transformer on the FME Knowledge Center.