blakecross
05/26/2023, 5:33 PMvick
05/26/2023, 6:46 PMupdate mytable set newcol=oldcol
. The specifics of what you need depends on what the column type of your new column is. We can infer that the lat/lon are floats.blakecross
05/27/2023, 12:04 AMgaryaustin
05/27/2023, 12:53 AMpostgis convert lat lon columns to single
or something like that. I see lots of hits. Postgis supports different types of columns to depending on things like using geometry or geography, etc.
https://gis.stackexchange.com/questions/145007/creating-geometry-from-lat-lon-in-table-using-postgis
First hit I got, there were manygaryaustin
05/27/2023, 12:57 AMnote.location = "SRID=4326;POINT(" + geo.coords.long + " " + geo.coords.lat + ")"