What sort of an error, wrong value, seg fault or something else? What versions of MapServer and GEOS are you using?
Steve >>> On 8/11/2009 at 12:35 PM, in message <[email protected]>, joel ml <[email protected]> wrote: > 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
