I have a table with a geom
column containing polygons. e.g.:
POLYGON((-104.98075 25.83706,-84.659531 25.83706,-84.659531 49.38449,-104.98075 49.38449,-104.98075 25.83706)),4326
How can I extract the minimum and maximum latitude and longitude values from that object, as floats? The idea would be to create minLat
, maxLat
, etc., columns in the DB to make searching a bit quicker.