GSE3407N Text is too long.
Explanation
The geometry contains too much detail to be converted to its well-known text representation. The well-known text representation exceeds the maximum allowable length (2 gigabytes).
User response
Simplify the geometry - for example, by using the ST_Generalize function - or convert the geometry to its well-known binary representation.
msgcode: -3407
sqlstate: 38SS7