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

    • Improvement
    • Status: Closed
    • Trivial - P5
    • Resolution: Fixed
    • 2.4.0, 2.4.1
    • 3.0.3, 3.1.0
    • Geo
    • None
    • Fully Compatible

    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.cpp
          17 kB
        2. geoparser_test.cpp
          12 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: