| 항목 | 값 |
| 화면 이름 | Geometry translate expression |
| 식별자 | geometryTranslateV1 |
| 지원 실행 방식 | Batch, Faster, Streaming |
| 범주 | 지리공간 (Geospatial) |
| 반환 자료형 | Geometry |
도형을 지정한 오프셋만큼 평행이동합니다. 2차원 도형은 z 오프셋을 지정한 경우에만 3차원으로 변환합니다.
| 이름 | 지정 여부 | 자료형 | 의미와 조건 |
Geometry column | 필수 | Expression<String> | 평행이동할 도형입니다. |
Projected coordinate system | 필수 | Literal<String> | authority:id 형식의 좌표계입니다. 예를 들어 UTM 18N은 EPSG:32618입니다. 도형을 이 좌표계로 옮겨 평행이동한 뒤 WGS84로 되돌립니다. |
X offset | 필수 | Literal<Double> | 좌표 참조 체계에서 양의 x 방향으로 이동할 거리입니다. |
Y offset | 필수 | Literal<Double> | 좌표 참조 체계에서 양의 y 방향으로 이동할 거리입니다. |
Z offset | 선택 | Literal<Double> | 좌표 참조 체계에서 양의 z 방향으로 이동할 거리입니다. |
인자 값:
Geometry column: geometry
Projected coordinate system: EPSG:4326
X offset: 1.0
Y offset: -1.0
Z offset: null
| geometry | 출력 |
| {"type":"Point","coordinates":[0.0, 0.0]} | {"type":"Point","coordinates":[1.0, -1.0]} |
| {"type":"LineString","coordinates":[[0.0, 0.0], [1.0, 1.0]]} | {"type":"LineString","coordinates":[[1.0, -1.0], [2.0, 0.0]]} |
| {"type":"Polygon","coordinates":[[[0.0, 0.0],[1.0, 0.0],[1.0, 1.0],[0.0, 1.0], [0.0, 0.0]]]} | {"type":"Polygon","coordinates":[[[1.0, -1.0],[2.0, -1.0],[2.0, 0.0],[1.0, 0.0],[1.0, -1.0]]]} |
인자 값:
Geometry column: geometry
Projected coordinate system: EPSG:4326
X offset: 1.0
Y offset: -1.0
Z offset: 1.0
| geometry | 출력 |
| {"type":"Point","coordinates":[0.0, 0.0]} | {"type":"Point","coordinates":[1.0, -1.0, 1.0]} |
| {"type":"LineString","coordinates":[[0.0, 0.0], [1.0, 1.0]]} | {"type":"LineString","coordinates":[[1.0, -1.0, 1.0], [2.0, 0.0, 1.0]]} |
| {"type":"Polygon","coordinates":[[[0.0, 0.0],[1.0, 0.0],[1.0, 1.0],[0.0, 1.0], [0.0, 0.0]]]} | {"type":"Polygon","coordinates":[[[1.0, -1.0, 1.0],[2.0, -1.0, 1.0],[2.0, 0.0, 1.0],[1.0, 0.0, 1.0],[1.0, -1.0, 1.0]]]} |
인자 값:
Geometry column: geometry
Projected coordinate system: EPSG:4326
X offset: 1.0
Y offset: -1.0
Z offset: 1.0
| geometry | 출력 |
| {"type":"Point","coordinates":[0.0, 0.0, -1.0]} | {"type":"Point","coordinates":[1.0, -1.0, 0.0]} |
| {"type":"LineString","coordinates":[[0.0, 0.0, -1.0], [1.0, 1.0, -1.0]]} | {"type":"LineString","coordinates":[[1.0, -1.0, 0.0], [2.0, 0.0, 0.0]]} |
| {"type":"Polygon","coordinates":[[[0.0, 0.0, -1.0],[1.0, 0.0, -1.0],[1.0, 1.0, -1.0],[0.0, 1.0, -1.0],[0.0, 0.0, -1.0]]]} | {"type":"Polygon","coordinates":[[[1.0, -1.0, 0.0],[2.0, -1.0, 0.0],[2.0, 0.0, 0.0],[1.0, 0.0, 0.0],[1.0, -1.0, 0.0]]]} |
인자 값:
Geometry column: geometry
Projected coordinate system: EPSG:32618
X offset: 100.0
Y offset: -200.0
Z offset: null
| geometry | 출력 |
| {"type":"Point","coordinates":[-77.0, 20.0]} | {"type":"Point","coordinates":[-76.99902180032066, 19.99820455178219]} |
인자 값:
Geometry column: geometry
Projected coordinate system: EPSG:4326
X offset: 1.0
Y offset: -1.0
Z offset: 1.0