The Simplifier Processor is used to correct an event record’s associated geometry to render the geometry topologically consistent with its type. The Simplifier Processor has no effect on point geometry. Multipoint geometries will snap all vertices to a grid appropriate for the geometry's spatial reference and remove duplicate vertices. Polyline and polygon geometries with self-intersecting segments will be reconstructed with multiple paths or rings to produce a topologically correct multipart polyline or polygon.
Examples
The following are example uses of the Simplifier Processor:
- The Simplifier Processor can be used to correct the geometry from external data sources before attempting to send the event data to a feature service for display in a web map.
- Use the Simplifier Processor at the beginning of a GeoEvent Service as one method to ensure quality assurance and quality control of geometric data.
Usage notes
Keep the following in mind when working with the Simplifier Processor:
- Simplification is not the same as generalization. Simplification removes unnecessary vertices along an otherwise topologically correct line segment or reshapes a geometry to reduce detail to produce a geometry for more efficient display at small map scales. The purpose of simplification is to produce a feature that is valid for writing to a geodatabase.
- Provided a point, the processor will return the same point. The processor has no effect on point geometry.
- Provided a multipoint, the processor will snap all vertices to a grid appropriate for the geometry’s spatial reference and will then remove duplicate vertices.
- Provided a polyline or polygon, the processor will evaluate for self-intersecting segments. Geometries with self-intersecting segments will be reconstructed with multiple paths or rings to produce a topologically correct multipart polyline or polygon.
- Features created in an ArcGIS Desktop or ArcGIS Pro editing session are already topologically correct and simple.
- Features polled from a feature service do not require simplification before processing them in a GeoEvent Service.
- This processor can be configured to replace the event record's geometry with the simplified geometry or place the simplified geometry into a new geometry field using the Replace Geometry parameter. Adding a new field to a GeoEvent alters the event record's schema, which requires GeoEvent Server to create a new GeoEvent Definition. The new GeoEvent Definition will be managed by GeoEvent Server and deleted if changes are made to the processor or the GeoEvent Service in which the processor is used.
Parameters
The following are the parameters for the Simplifier Processor:
Parameter | Description |
---|---|
Name |
A descriptive name for the processor used for reference in GeoEvent Manager. |
Processor |
Specifies the processor selected. |
Geometry Field | The name of the geometry field or the field tagged with the GEOMETRY tag from the inbound event record. The processor evaluates and corrects the geometry from this field to render it topologically consistent with its type. |
Replace Geometry | Specifies whether to replace the current geometry with the simplified geometry. The default is Yes.
|
New Geometry Field Name (Conditional) | The name of the new geometry field that stores the simplified geometry. The parameter is shown when Replace Geometry is set to No and is hidden when set to Yes. |
Tag the New Geometry Field as Geometry (Conditional) | Specifies whether the new geometry field created by the processor will be tagged with the GEOMETRY tag. The GEOMETRY tag is used by GeoEvent Server to identify the event record’s realized geometry when multiple geometry fields are present. The default is No. The parameter is shown when Replace Geometry is set to No and is hidden when set to Yes. |
New GeoEvent Definition Name (Conditional) | The name assigned to the new GeoEvent Definition. The new GeoEvent Definition will combine the schema of the inbound event record with the new geometry field. The parameter is shown when Replace Geometry is set to No and is hidden when set to Yes. |
Considerations and limitations
Consider replacing the existing event record geometry with the simplified (corrected) geometry prior to sending the event data to a feature service. Feature services only support one geometry type field, and therefore, whichever field has not been tagged with the GEOMETRY tag will be converted and kept as a string. Additionally, the event record will have its invalid geometry removed altogether.
Vous avez un commentaire à formuler concernant cette rubrique ?