You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sedona.apache.org by "Tomasz Taraś (Jira)" <ji...@apache.org> on 2023/04/02 16:10:00 UTC

[jira] [Created] (SEDONA-272) GeoJsonReader.readToGeometryRDD should handle GeoJSON documents missing geometry field

Tomasz Taraś created SEDONA-272:
-----------------------------------

             Summary: GeoJsonReader.readToGeometryRDD should handle GeoJSON documents missing geometry field
                 Key: SEDONA-272
                 URL: https://issues.apache.org/jira/browse/SEDONA-272
             Project: Apache Sedona
          Issue Type: Improvement
            Reporter: Tomasz Taraś


Currently when document is missing geometry field NullPointerException is raised. While the GeoJSON spec says that document must have geometry key but allows geometry field to contain JSON null value I think we should handle both cases gracefully and read those rows as null geometry.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)