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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 3.0.3, 3.1.0
    • Affects Version/s: 2.4.0, 2.4.1
    • Component/s: Geo
    • Labels:
      None
    • Fully Compatible

      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

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

            Assignee:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Reporter:
            robbiefliwatuet Robin Wagner
            Votes:
            16 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Resolved: