SELECT * FROM GeometryOverlay ( ON source_gatetype AS source PARTITION BY ANY ON ref_terminal AS reference DIMENSION SourceLocationColumn ('boundary_coordinates') ReferenceLocationColumn ('boundary_coordinates') ReferenceNameColumns ('boundary_name') BoundaryOperator ('intersection') OutputAll ('false') Accumulate ('boundary_attributes') ) ORDER BY 2, 1;