This is a known error in SAGA. It will be fixed in the next version http://saga-gis.cvs.sourceforge.net/viewvc/saga-gis/saga_2/src/modules/shapes/shapes_grid/Grid_Classes_To_Shapes.cpp?view=log
On Tue, May 11, 2010 at 8:02 PM, manuel.schneider <manuel.schnei...@art.admin.ch> wrote: > Roger Bivand <Roger.Bivand <at> nhh.no> writes: > >> >> On Tue, 11 May 2010, manuel.schneider <at> art.admin.ch wrote: >> > ... >> > Error in is.vector(X) : ring not closed >> >> http://shapelib.maptools.org/dl/shapefile.pdf >> >> does specify that a polygon in a shapefile must be closed. You may be able >> to use readShapePoly(..., force_ring=TRUE) in maptools to work around the >> problem. >> >> Roger >> >> > > As always, your suggestion does the trick. Thanks a lot. > However, still puzzled why it occurs. > > _______________________________________________ > R-sig-Geo mailing list > R-sig-Geo@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/r-sig-geo > _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo