Select to view content in your preferred language

GeoEvent: Create Geometry Processor

751
0
03-19-2020 08:50 AM
EricIronside
Esri Regular Contributor
2 0 751

This custom processor provides the capability to create a geometry out of other fields (much like the GeoEvent Inputs allow you to do with incoming events). The geometry that is created is placed into the event's field tagged as GEOMETRY. The geometry can be 2D or 3D with a defined spatial reference or one that is set via a field in the event.

Finally, this processor allows you to manipulate the coordinates (using a multiplier and an offset) prior to being used to create the geometry.

This type of processor can be useful when the incoming events contain more than one geometry, or the fields used to create the geometry need to be modified in some way before the geometry is created.

Support

This component is not officially supported as an Esri product. Sorry, the source code is not available for general release. Please use the comments on this entry to submit issues or enhancement requests.

Usage

The following parameters are supported:

  • X Field Specifies a field that contains the X value. The field can be any numeric or string field (so long as the data is numeric and can be converted to a double).

  • X Multiplier Specifies a double value that will be multiplied by the X value. The field can be any double value. This can be helpful if your coordinate value is not in the correct format (e.g. if coordinates are assumed to be West and not reported in decimal degrees: 832988303; you could use a multiplier of -0.0000001 to get decimal degrees -83.2988303)

  • X Offset Specifies a double value that will be added to the result of the (X*Multiplier) value. The field can be any double value.

  • Y Field Specifies a field that contains the Y value. The field can be any numeric or string field (so long as the data is numeric and can be converted to a double).

  • Y Multiplier Specifies a double value that will be multiplied by the Y value. The field can be any double value.

  • Y Offset Specifies a double value that will be added to the result of the (Y*Multiplier) value. The field can be any double value.

  • Use a Z Field? Specifies if you wish to use a Z field. Yes will allow you to set a Z field and create 3D geometry. No will not use a Z value and create a 2D geometry.

  • Z Field Specifies a field that contains the Z value. The field can be any numeric or string field (so long as the data is numeric and can be converted to a double).

  • Z Multiplier Specifies a double value that will be multiplied by the Z value. The field can be any double value.

  • Z Offset Specifies a double value that will be added to the result of the (Z*Multiplier) value. The field can be any double value.

  • Spatial Reference From Field? Determines if you want to hard code the spatial reference or use a field to specify it. Yes will allow you to designate a field that contains the Spatial Reference information. No will allow you to define a default spatial reference that will be used for all geometry.

  • Spatial Reference Field The field that will contain the spatial reference value. The value can be either a WKID or a Well Known Text (WKT) format of the spatial reference.

  • Default Spatial Reference The value can be either a WKID or a Well Known Text (WKT) format of the spatial reference. This value will be used for all geometry.

About the Author
Esri Professional Services Real-Time GIS Team GeoEvent Sr. Product Enginner