Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-9220

allow more than two values in the coordinate-array when using 2dsphere index

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: 2.4.0, 2.4.1
    • Fix Version/s: 3.0.3, 3.1.0
    • Component/s: Geo
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Completed:

      Description

      GeoJSON allows more than two values in coordinate-array (http://geojson.org/geojson-spec.html#positions).
      Of course 2dsphere honours only the first two, but it should be allowed to add more (altitude, measure, etc).
      -> should be considered in geoparser, see attachments

        Attachments

        1. geoparser_test.cpp
          12 kB
        2. geoparser.cpp
          17 kB

          Issue Links

            Activity

              People

              • Votes:
                16 Vote for this issue
                Watchers:
                21 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: