You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sedona.apache.org by "Jia Yu (Jira)" <ji...@apache.org> on 2023/01/06 05:46:00 UTC

[jira] [Created] (SEDONA-230) rdd.saveAsGeoJSON should generate feature properties with field names

Jia Yu created SEDONA-230:
-----------------------------

             Summary: rdd.saveAsGeoJSON should generate feature properties with field names
                 Key: SEDONA-230
                 URL: https://issues.apache.org/jira/browse/SEDONA-230
             Project: Apache Sedona
          Issue Type: Improvement
            Reporter: Jia Yu


spatialRdd.saveAsGeoJSON in Sedona on or before 1.3.1 generates GeoJSON in the follow format

Line1: \{type":"Feature","geometry": XXX, "properties": {"userdata: "XXXX""}}

Line2: \{type":"Feature","geometry": XXX, "properties": {"userdata: "XXXX""}}

Line3: \{type":"Feature","geometry": XXX, "properties": {"userdata: "XXXX""}}

 

The field names in the original SpatialRDD is lost.



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