1

How can I get the corners of a polygon -a square/rectangle, to be precise- in latitude-longitude format by using its geom value -or some other way, using PostGIS?

3

ST_extent(geom) You will receive left, bottom, right and top value. Combining them you will get corners

http://postgis.net/docs/ST_Extent.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.