|
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.
|