다음을 통해 공유


ConvexHullAggregate(geography 데이터 형식)

적용 대상:SQL ServerAzure SQL DatabaseAzure SQL Managed InstanceMicrosoft Fabric의 SQL 데이터베이스

지정된 지리 개체 집합에 대한 공록 헐을 반환합니다.

Syntax

  
ConvexHullAggregate ( geography_operand )  

Arguments

geography_operand
geography 개체 집합을 나타내는 geography 형식 테이블 열입니다.

반환 형식

SQL Server 반환 형식: geography

Exception

FormatException 유효하지 않은 입력 값이 있는 경우 throw합니다. STIsValid(geography 데이터 형식)를 참조하세요.

Remarks

이 메서드는 입력이 비어 있거나 입력에 다른 SRID가 있는 경우 null을 반환합니다. SRID(Spatial Reference Identifier)를 참조하세요.

메서드는 null 입력을 무시합니다.

Note

이 메서드는 모든 입력 값이 null인 경우 null을 반환합니다.

Examples

다음 예에서는 geography 개체 집합의 볼록 집합(convex hull)을 반환합니다.

USE AdventureWorks2022  
GO  
SELECT geography::ConvexHullAggregate(SpatialLocation).ToString() AS SpatialLocation  
FROM Person.Address  
WHERE City LIKE ('Bothell')

또한 참조하십시오

확장된 정적 지리 메서드