Here part of the code that was trying to do :
shapeObj s=new shapeObj(MS_SHAPE_TYPE.MS_SHAPE_POLYGON.swigValue());
int n=ListaCoordenadas.size();
lineObj lin=new lineObj();
for (int i = 0; i < n; i++) {
pointObj p1=ListaCoordenadas.get(i);
lin.add(p1);
}
lin.add(ListaCoordenadas.get(0));
s.add(lin);
Xutil.print("wkt : "+ s.toWKT());
area=s.getArea();
Xutil.print("area total : "+area);
The problem is that i launches an error in calculating the
Area
Yahoo! Cocina
Encontra las mejores recetas con Yahoo! Cocina.
http://ar.mujer.yahoo.com/cocina/_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users