nidus-sync/platform/geom/geom.go
Eli Ribble e2af49a323
Make lead creation and invalidation for public reports work
The only thing wrong at this point that I can tell is that address
aren't being correctly populated when I reverse geocode.
2026-03-14 01:14:30 +00:00

11 lines
254 B
Go

package geom
import (
"fmt"
"github.com/Gleipnir-Technology/nidus-sync/platform/types"
)
func PostgisPointQuery(location types.Location) string {
return fmt.Sprintf("ST_SetSRID(ST_MakePoint(%f, %f), 4326)", location.Longitude, location.Latitude)
}