Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Creates a GeometryCollection instance from a set of geography objects.
Składnia
ConvexHullAggregate ( geography_operand )
Arguments
- geography_operand
Is a geography type table column that represents a set of geography objects to be listed in the GeometryCollection instance.
Return Types
SQL Server return type: geography
Exception
Throws a FormatException when there are input values that are not valid. See STIsValid (geography Data Type)
Uwagi
Method returns null when the input is empty or the input has different SRIDs. See Spatial Reference Identifiers (SRIDs)
Method ignores null inputs.
[!UWAGA]
Method returns null if all inputted values are null.
Examples
The following example returns a GeometryCollection instance that contains a set of geography objects.
USE AdventureWorks2012
GO
SELECT geography::CollectionAggregate(SpatialLocation).ToString() AS SpatialLocation
FROM Person.Address
WHERE City LIKE ('Bothell')