-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
49618: geo: audit functions for duplicate points in Geometry r=sumeerbhola a=otan Audited all the existing functions to check they work for duplicate point cases (e.g. `LINESTRING(1.0 1.0, 1.0 1.0, 2.0 2.0)`. The ones I found that were handled incorrect were distance. In particular, distance is completely wrong for s2's Distance calculator, so I've opted to replace that with our own in house instead. Added a few small tests. If more are incorrect, it will be up to randomized testing to handle it. Release note: None 49649: builtins: implement more PostGIS tutorial available builtins r=sumeerbhola a=otan Release note (sql change): Implemented the following builtins available on Geometry types: * ST_Area2D (resolves #48869) * ST_NRings (resolves #48996) * ST_PointN (resolves #49008) * ST_GeometryType (resolves #48946) Co-authored-by: Oliver Tan <otan@cockroachlabs.com>
- Loading branch information
Showing
9 changed files
with
253 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.