[R-sig-Geo] converting shapefile/polygon to psp

2008-02-05 Thread adrian
On Mon, 4 Feb 2008, Milton Cezar Ribeiro wrote: > I have some shapefiles which contents are polygons and I would like to > convert it to psp (spatstat) format, and after run crossdist.psp. I > tryed several times without success. Any idea? First convert the shapefile to an object of class "owin"

Re: [R-sig-Geo] converting shapefile/polygon to psp

2008-02-04 Thread Roger Bivand
On Mon, 4 Feb 2008, Milton Cezar Ribeiro wrote: > Dear all, > > I have some shapefiles which contents are polygons and I would like to > convert it to psp (spatstat) format, and after run crossdist.psp. I > tryed several times without success. Any idea? Look at the coercion function in maptools

[R-sig-Geo] converting shapefile/polygon to psp

2008-02-04 Thread Milton Cezar Ribeiro
Dear all, I have some shapefiles which contents are polygons and I would like to convert it to psp (spatstat) format, and after run crossdist.psp. I tryed several times without success. Any idea? Miltinho para armazenamento! [[alternative HTML version deleted]] ___