Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

GeoPoint를 Geohash로 변환

항목값
화면 이름Convert GeoPoint to Geohash
식별자geoPointToGeohashV1
지원 실행 방식Batch, Faster, Streaming
범주지리공간 (Geospatial)
반환 자료형Geohash

지정한 정밀도로 GeoPoint를 포함하는 Base32 인코딩 Geohash를 만듭니다.

입력 인자

이름지정 여부자료형의미와 조건
GeoPoint필수Expression<GeoPoint>변환할 GeoPoint입니다.
Output Geohash precision필수Expression<Integer>출력 Geohash 문자열의 Base32 문자 수입니다.

입출력 예시

예시 1: 기본 동작

인자 값:

  • GeoPoint: point
  • Output Geohash precision: 5
point출력
{
 latitude: -20.0,
 longitude: 80.0,
}
mu2yh
{
 latitude: -77.0599,
 longitude: 38.9031,
}
hf79t
nullnull

예시 2: 기본 동작

인자 값:

  • GeoPoint: point
  • Output Geohash precision: precision
pointprecision출력
{
 latitude: -20.0,
 longitude: 80.0,
}
5mu2yh
{
 latitude: -77.0599,
 longitude: 38.9031,
}
3hf7
{
 latitude: -82.77450568,
 longitude: -179.55742495,
}
120123456789zb
{
 latitude: 1.0,
 longitude: -1.0,
}
12ebpm9npc6m9b
{
 latitude: 1.0,
 longitude: -1.0,
}
nullnull