Hi;<br><br>one method...<br>ST_Distance_Spheroid(point_x, point_y, 'SPHEROID["WGS
84",6378137,298.257223563]');<br><br>the other method create a new geometry (the_geom_epsg) column ansd find the exaxt EPSG code for your region (i prefer 2321 for middle Turkiye ED50 /TM 33)<br>
<br>update table set the_geom_epsg=st_transform(the_geom, epsg)<br>then use st_area..<br><br>Regards..<br>IBO..<br><br><div class="gmail_quote">On Tue, Feb 9, 2010 at 3:40 PM, Kemal Bayram <span dir="ltr"><<a href="mailto:kemal@cins.co.uk">kemal@cins.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
<div><font face="Arial" size="2"><span>Hi,</span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><font face="Arial" size="2"><span>I'm current working
with data in long/lat (wgs84) format and using st_distance_spheroid to calculate
the length of my linestrings in meters. I now need to calculate the area
of my polygons and am wondering what the easiest way of doing this would be?
</span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><font face="Arial" size="2"><span>I am thinking
projecting the polygon with an equal area projection and then using st_area
on the result. Anyone have any ideas on suitable
projections/SRIDS?</span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><font face="Arial" size="2"><span>Regards</span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div><font color="#888888">
<div><font face="Arial" size="2"><span>Kemal</span></font></div></font></div>
<br>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
<br></blockquote></div><br>