I have a point in my PostGIS database that is put in using the lat/long using srid: 4326. The point represents a car driving, now I want to add a polygon of the cars shape around this point and update. I have the car's bounding box in meters, but I'm not sure the best way of adding this information to the database.
I could convert the bounding box into 4 points for each corner and convert those points into Lat/Long but I'm not sure if that's efficient.
I also saw the ST_Translate
but not sure how that work between meters and Lat/Long.
Don't worry about rotation at this point.
ST_Buffer
on cast togeography
, otherwise you need to determine an appropriate spatial refetence, transform, do the math and transform back. Either way, this question is likely to be closed unless you include your attempt at SQL. Note that geometry points and (lon,lat}, not {lat,lon}.