Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8964

Allow GeoJSON parser to properly skip string arrays

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 8.3
    • Component/s: core/other
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available
    • Review Patch?:
      Yes

      Description

      The Geo JSON parser throws an exception when trying to parse an array of strings, which is somewhat common in some free geojson services likeĀ https://whosonfirst.org

      An example file can be seen at https://data.whosonfirst.org/101/748/479/101748479.geojson

      This fixes the parser to also parse a string array.

        Attachments

        1. lucene-parse-geojson-arrays-0.patch
          2 kB
          Alexander Reelsen

          Issue Links

            Activity

              People

              • Assignee:
                ivera Ignacio Vera
                Reporter:
                aleree Alexander Reelsen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 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