Hi Shannon and Vince,I tried out this function with great success:SELECT AVG(OBJECTID) AS ID, ELM_SCHOOL, GEOMETRY::UnionAggregate(Shape) AS geomFROM [gissql12].[gdb].[bounds_2012]where ELEM_NUM > 0 GROUP BY [elm_SCHOOL]This groups all elementary school boundary 'chunks' into one geometry by merging features together by their name (this is how it would be done)...boundaries with an ELEM_NUM > 0 are those within our district....but you'll notice my OBJECTID hack!Any thoughts on how to merge geometries together and generate a useful (to ArcMap) OBJECTID? I suppose averaging the object (or some similar function) would be acceptable?-m
That output looked right to me (binary stream, converted to ASCII). What result were you expecting? If you want Well-Known Text back, you need to include it in the query.You need to decide how you want to use ArcGIS. If you just want to use Query Layerswith existing SQL geometry tables or views, then you don't need to learn geodatabase tools.- V
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.