<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><div dir="ltr">Here part of the code that was trying to do : <br>shapeObj s=new shapeObj(MS_SHAPE_TYPE.MS_SHAPE_POLYGON.swigValue());<br> <br> int n=ListaCoordenadas.size();<br> lineObj lin=new lineObj();<br> for (int i = 0; i < n; i++) { <br> pointObj p1=ListaCoordenadas.get(i);<br> lin.add(p1);<br> }<br> lin.add(ListaCoordenadas.get(0));<br> s.add(lin); <br> Xutil.print("wkt : "+ s.toWKT());<br>
area=s.getArea();<br> Xutil.print("area total : "+area);<br><br><div dir="ltr">The problem is that i launches an error in calculating the
Area</div><br><br></div></td></tr></table><br>
<hr size=1><br><font face="Verdana" size="-2">Encontra las mejores recetas con Yahoo! Cocina.
<br>
http://ar.mujer.yahoo.com/cocina/</font>