make within, 2d, 2dplanar totally crs-coherent.

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Geo
    • None
    • Query Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As a guiding principle, the query and its geometry should determine the expected CRS. We will only convert WGS84Flat -> WGS84.

      We don't convert legacy polygons or boxes to WGS84/s2.

      Task list to ensure consistency:

      • Add $within + $centerSphere to matcher.
        • Query geometry is legacy centerSphere format. There is no GeoJSON 'sphere'
        • Matched geometry must be points in new/old, or any geojson.
        • What do we do if we try to match geometry that is a legacy polygon or box? Error.
      • Add $within + $geometry to matcher.
        • Query geometry is any valid GeoJSON format.
        • Matched geometry can be either GeoJSON or legacy points.
        • Error if matched geometry is legacy polygon or box.

            Assignee:
            [DO NOT USE] Backlog - Query Execution
            Reporter:
            hari.khalsa@10gen.com
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: