Martin Andersson created SEDONA-86:
--------------------------------------

             Summary: Support empty geometries in ST_AsBinary and ST_AsEWKB
                 Key: SEDONA-86
                 URL: https://issues.apache.org/jira/browse/SEDONA-86
             Project: Apache Sedona
          Issue Type: Improvement
            Reporter: Martin Andersson


Current implementation retrieves the first coordinate in the geometry to 
determine if there is a Z axis.

 

Empty geometries have no coordinates and the check fails with a NPE.

 

Steps to reproduce: "SELECT ST_AsBinary(ST_GeomFromWKT('POINT EMPTY'))"



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to