Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Error parsing EWKT: <parseError> at position <pos>
Parameters
- parseError: Description of the kind of parse error encountered.
- pos: The 1-based position in the EWKT string where the parse error occurred.
Explanation
Some geospatial functions can return this error when parsing the input that must be in Extended Well-Known Text (EWKT) format.
Examples
-- Feeding a string with invalid SRID value into the `to_geometry` expression.
> SELECT to_geometry('SRID=-1;POINT(1 2)');
[EWKT_PARSE_ERROR] Error parsing EWKT: Invalid or unsupported SRID value '-1' at position 6 SQLSTATE: 22023