<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> I´ve got two tables with geoms.
When i try to sum(area) something strange happens:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>select sum(area(the_geom)) from orig1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>61301.4750045538</FONT></DIV><FONT face=Arial
size=2>
<DIV><BR>select sum(area(the_geom))from orig2</DIV>
<DIV> </DIV>
<DIV>33996.0705435276</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>but now...</DIV>
<DIV> </DIV>
<DIV>select sum(area(a.the_geom)) as sum1,sum(area(b.the_geom))as sum2 from
orig1 a,orig2 b</DIV>
<DIV><BR>sum1
sum2</DIV>
<DIV>11218169.9258333 4963426.29935503</DIV>
<DIV> </DIV>
<DIV>smells like postgresql basic concept unknowed for me.... :(</DIV>
<DIV> </DIV>
<DIV>Gus<BR></DIV></FONT></BODY></HTML>