剖析 WKT 時發生錯誤:<parseError> 位於位置 <pos>
Parameters
- parseError:描述遇到的解析錯誤類型。
- pos:WKT字串中以1為基礎的位置,該位置發生了解析錯誤。
Explanation
某些地理空間函式在解析必須是Well-Known Text(WKT)格式的輸入時,可能會傳回此錯誤。 了解更多關於 WKT的資訊。
Examples
-- Feeding an empty point in WKT format into the h3_polyfillash3 function (as opposed to a polygon or multipolygon).
> SELECT h3_polyfillash3('POINT EMPTY', 2)
[WKT_PARSE_ERROR] Error parsing WKT: Invalid or unsupported type 'POINT' at position 1
-- Feeding a polygon with less than 4 vertices into the h3_polyfillash3 function.
> SELECT h3_polyfillash3('POLYGON((-122.4194 37.7749,-118.2437 34.0522,-74.0060 40.7128))', 2)
[WKT_PARSE_ERROR] Error parsing WKT: Too few points in ring at position 63
發出錯誤類別的函數
-
h3_coverash3函式 -
h3_coverash3string函式 -
h3_pointash3函式 -
h3_pointash3string函式 -
h3_polyfillash3函式 -
h3_polyfillash3string函式 -
h3_tessellateaswkb函式