Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-2890

Contradictory advice about storing coordinates

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • v1.3.3
    • None
    • manual
    • None

    Description

      This page:

      http://docs.mongodb.org/manual/applications/geospatial-indexes/

      ... begins with the sound advice to use a 2dsphere index with GeoJSON coordinates, and a 2d index with legacy coordinates. It then says to use a 2dsphere index with GeoJSON *or* legacy coordinates.

      This is all technically accurate, but only the sages understand why. Let's make clear that 2dsphere indexes offer backwards compatibility with legacy coordinates as a convenience, but it's not really the right way to do things. As it stands now, the page appears to contradict itself.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 47 weeks, 1 day ago