Files
documentdb/pg_helio_api/include/geospatial
Ujjwal Agrawal ee172ea8d1 Merged PR 1279069: $centerSphere geo operator part 2: add support for all GeoJson types
### Does this PR have any customer impact?
Yes
### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc)
Feature
### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes)
No
### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md))
pgmongo_1.14.md

### Description
Add support for all GeoJson types with $centerSphere.
Postgis returns true if 1 out of n points in the doc's GeoJson lies inside the query, but mongodb returns true only if all points are inside. So I added runtime check for all points.
Also added a better way to iterate through WKB buffer without having to worry about segfault if traversal overflows (See IncrementBufferDataBySize in geospatial_query_operator)

Related work items: #2928131
2024-03-22 11:28:50 +03:00
..