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

Bug fix for ST_LengthSpheroid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0

    Description

      ST_LengthSpheroid didn't consider Polygons with holes (interior rings). This bug fix addresses that issue.
      Eg:

      WKT:

      POLYGON((-122.33 47.61, -122.32 47.62, -122.31 47.61, -122.30 47.62, -122.29 47.61, -122.30 47.60, -122.31 47.59, -122.32 47.60, -122.33 47.61), (-122.315 47.605, -122.305 47.615, -122.295 47.605, -122.305 47.595, -122.315 47.605))
      

      old output:

      17363.913692009628

      output after changes:

      16106.506409488933

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              furqaan Furqaan Khan
              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 - 10m
                  10m