GeoJSON 구문 분석 오류: <parseError> 위치 <pos>
Parameters
- parseError: 발생한 구문 분석 오류에 대한 설명입니다.
- pos: 구문 분석 오류가 발생한 GeoJSON 문자열의 1부터 시작하는 위치입니다.
Explanation
일부 지리 공간적 함수는 GeoJSON 형식이어야 하는 입력을 구문 분석할 때 이 오류를 반환할 수 있습니다. GeoJSON 형식에 대해 자세히 알아봅니다.
Examples
-- Feeding an empty point in GeoJSON format into the h3_polyfillash3 function (as opposed to a polygon or multipolygon).
> SELECT h3_polyfillash3('{"type":"Point","coordinates":[]}', 2)
[GEOJSON_PARSE_ERROR] Error parsing GeoJSON: Invalid or unsupported type '"Point"' at position 9
-- Feeding an polygon with invalid GeoJSON (missing closing } at the end)
> SELECT H3_PolyfillAsH3('{"type":"Polygon","coordinates":[[[-122.4194,37.7749],[-118.2437,34.0522],[-74.0060,40.7128],[-122.4194,37.7749]]]', 2)
[GEOJSON_PARSE_ERROR] Error parsing GeoJSON: Unexpected end of GeoJSON string at position 115
오류 클래스를 내보내는 함수
-
h3_coverash3함수 -
h3_coverash3string함수 -
h3_pointash3함수 -
h3_pointash3string함수 -
h3_polyfillash3함수 -
h3_polyfillash3string함수 -
h3_tessellateaswkb함수