Actually set geom and h3cell for uploaded pools

This commit is contained in:
Eli Ribble 2026-02-14 16:49:54 +00:00
parent 0659b8993d
commit ebc329fc5e
No known key found for this signature in database
3 changed files with 64 additions and 9 deletions

9
platform/geom/geom.go Normal file
View file

@ -0,0 +1,9 @@
package geom
import (
"fmt"
)
func PostgisPointQuery(longitude, latitude float64) string {
return fmt.Sprintf("ST_GeometryFromText('Point(%f %f)')", longitude, latitude)
}