If you have a general setup question I might be able to help. I have a single geometry point column in a table that I set with lat/lon from javascript, but I'm not doing any processing on it yet... more for the future to show things on a map if I get that far.
j
joshcowan25
01/25/2022, 12:42 AM
What is your column type? (jsonb?) You did not have the chance to test with lines and polygons by any chance?
g
garyaustin
01/25/2022, 12:44 AM
My column is geometry(Point, 4326) set up thru the SQL editor. No testing other than making sure it updates correctly from a js supabase insert with:
"SRID=4326;POINT(" + geo.coords.long + " " + geo.coords.lat + ")"
garyaustin
01/25/2022, 12:46 AM
I know it works because my PHPstorm IDE database utility shows the rows correctly on a map with that data sent up.