kelas kesalahan WKT_PARSE_ERROR
Kesalahan mengurai WKT: <parseError>
pada posisi <pos>
Parameter
- parseError: Deskripsi jenis kesalahan penguraian yang ditemui.
- pos: Posisi berbasis 1 dalam string WKT tempat kesalahan penguraian terjadi.
Penjelasan
Beberapa fungsi geospasial dapat mengembalikan kesalahan ini saat mengurai input, yang diharapkan dalam format teks terkenal (WKT). Pelajari selengkapnya tentang WKT.
Contoh
-- 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
Fungsi yang memancarkan kelas kesalahan
- fungsi h3_coverash3
- fungsi h3_coverash3string
- fungsi h3_pointash3
- fungsi h3_pointash3string
- fungsi h3_polyfillash3
- fungsi h3_polyfillash3string
- fungsi h3_tessellateaswkb