Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Error parsing WKB: <parseError> at position <pos>
Parameters
- parseError: Description of the kind of parse error encountered.
- pos: The 1-based position in the WKB binary string where the parse error occurred.
Explanation
Some geospatial functions can return this error when parsing the input that must be in Well-Known Binary (WKB) format. Learn more about WKB.
Examples
-- Feeding an empty geometry collection in WKB format into the h3_polyfillash3string function (as opposed to a polygon or multipolygon).
> SELECT h3_polyfillash3string(unhex('010700000000'), 8)
[WKB_PARSE_ERROR] Error parsing WKB: Invalid or unsupported type 7 at position 2
-- The input WKB corresponds to a polygon with 5 vertices in the exterior ring, but only 4 vertices are present in the description.
> SELECT h3_polyfillash3(unhex('0103000000010000000500000050fc1873d79a5ec0d0d556ec2fe342404182e2c7988f5dc0f46c567dae064140aaf1d24d628052c05e4bc8073d5b444050fc1873d79a5ec0d0d556ec2fe34240'), 2)
[WKB_PARSE_ERROR] Error parsing WKB: Unexpected end of WKB buffer at position 78
Functions emitting the error class
h3_coverash3functionh3_coverash3stringfunctionh3_pointash3functionh3_pointash3stringfunctionh3_polyfillash3functionh3_polyfillash3stringfunctionh3_tessellateaswkbfunction