[postgis-users] Computing area in km^2 from 4326 geometries

Craig Miller craig.miller at spatialminds.com
Tue Sep 28 15:07:06 PDT 2004


If the area function is returning square meters (depends on your projection)
then just divide the answer by 4046.896 to get kilometers.

 

All area functions are squared by definition.

 

--Craig

 

 

 

  _____  

From: Ethan Alpert [mailto:ealpert at digitalglobe.com] 
Sent: Tuesday, September 28, 2004 2:57 PM
To: PostGIS Users Discussion
Subject: [postgis-users] Computing area in km^2 from 4326 geometries

 

How does one compute areas in km^2? I was thinking something like
area2d(transform(the_geom,<someEPSG>)). 

How do others do this?

 

Thanks!

 

-e

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20040928/bed46027/attachment.html>


More information about the postgis-users mailing list