I'm currently using the "SQL To Run After Write" option to specify a script for creating a spatial index based on the bounding box of the features written.
It uses e.g. "geometry::UnionAggregate([SpatialColumn]).STEnvelope().STPointN().STX" to get the coordinates of the envelope of all features in the newly written table.
Why not have the MSSQL_SPATIAL writer do this automatically using a third spatial index option for geometry data?


