forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
50611: builtins: implement ST_GeoHash for Geometry and Geography types r=otan a=juanjcsr This PR adds a function to calculate the geohash representation, imitating the PostGIS funcitonality. If no precision is specified, the function calculates the geohash according to the feature. For points, it uses a default precision of 20 characters. For larger features, it estimates a precision according to the size of the feature. Release note (sql change): Implements ST_GeoHash for geometry and geography types. Resolves cockroachdb#48397 Resolves cockroachdb#48943 Co-authored-by: Juan Carlos <[email protected]>
- Loading branch information
Showing
8 changed files
with
396 additions
and
1 deletion.
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
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.