Select to view content in your preferred language

XY Event Layer — Only generate shapes for specific rows via SQL expression

226
0
10-31-2024 07:09 AM
Status: Open
Labels (1)
Bud
by
Esteemed Contributor

ArcGIS Pro 2.9.5

I have a real-time standalone table data source from an external system. I want to create a dynamic XY Event Layer to display the data as points in Pro.

Some of the input rows have incorrect values in the X and Y fields. I want to include those rows in the XY Event Layer attribute table, but I don't want to generate shapes for those rows; I want the shapes to be null.

Could a "Shape SQL Expression" parameter be added to the Make XY Event Layer tool to let us control what rows get shapes? For example, WHERE X <> 0.

Related: Dynamic feature layer for replacing values in AGOL table (ArcGIS Pro GP tool)