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:11:00 UTC

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

    [ https://issues.apache.org/jira/browse/SEDONA-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17707690#comment-17707690 ] 

Tomasz Taraś commented on SEDONA-272:
-------------------------------------

You can assign it to me. I'll try to implement this when I find some free time.

> 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ś
>            Priority: Minor
>
> 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)