Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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, perhaps-? Thanks.

share|improve this question
up vote 3 down vote accepted

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

share|improve this answer
    
Cool, thanks a lot! – user1511 Aug 23 '12 at 9:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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