Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

도형의 볼록 껍질

항목값
화면 이름Get the convex hull of a geometry
식별자geometryConvexHullV1
지원 실행 방식Batch, Faster, Streaming
범주지리공간 (Geospatial)
반환 자료형Geometry

유효한 GeoJSON 문자열의 도형을 감싸는 최소 볼록 영역을 구해 GeoJSON 문자열로 반환합니다.

입력 인자

이름지정 여부자료형의미와 조건
Expression필수Expression<Geometry>볼록 껍질을 계산할 GeoJSON 값입니다.

입출력 예시

예시 1: 기본 동작

인자 값:

  • Expression: geometry
geometry출력
{"type":"Polygon","coordinates":[[[0.0,0.0],[2.0,0.0],[2.0,1.0],[1.0,1.0],[1.0,2.0],[0.0,2.0],[0.0,0.0]]]}{"type":"Polygon", "coordinates":[[[0.0, 0.0], [0.0, 2.0], [1.0, 2.0], [2.0, 1.0], [2.0, 0.0], [0.0, 0.0]]]}
nullnull

예시 2: 기본 동작

인자 값:

  • Expression: geometry
geometry출력
{"type":"Polygon","coordinates":[[[0.0,0.0],[1.0,0.0],[0.0,1.0],[0.0,0.0]]]}{"type":"Polygon","coordinates":[[[0.0, 0.0], [0.0, 1.0], [1.0, 0.0], [0.0, 0.0]]]}

예시 3: 기본 동작

인자 값:

  • Expression: geometry
geometry출력
{"type":"MultiPolygon","coordinates":[[[[0.0,0.0],[1.0,0.0],[1.0,1.0],[0.0,1.0],[0.0,0.0]]],[[[2.0,0.0],[3.0,0.0],[3.0,1.0],[2.0,1.0],[2.0,0.0]]]]}{"type":"Polygon", "coordinates":[[[0.0, 0.0], [0.0, 1.0], [3.0, 1.0], [3.0, 0.0],[0.0, 0.0]]]}

예시 4: 기본 동작

인자 값:

  • Expression: geometry
geometry출력
{"type":"MultiPoint","coordinates":[[0.0,0.0],[0.0,1.0],[2.0,0.0], [2.0,1.0]]}{"type":"Polygon","coordinates":[[[0.0, 0.0], [0.0, 1.0], [2.0, 1.0], [2.0, 0.0], [0.0, 0.0]]]}