Uploaded image for project: 'Apache Sedona'
  1. Apache Sedona
  2. SEDONA-230

rdd.saveAsGeoJSON should generate feature properties with field names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 1.3.1
    • 1.4.0

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jiayu Jia Yu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m