Assuming a SpatialPolygons object is named "sampling.area", this is how I
extract the coordinates.

sampling.area@polygons[[1]]@Polygons[[1]]@coords

Use str(sampling.area) to see the structure of the object.


Cheers,
Roman


On Tue, Oct 19, 2010 at 4:50 PM, isabelle boulangeat <
isabelle.boulangeat@gmail.com> wrote:

> Dear list members,
>
> Does anybody have suggestions to extract xy values from a SpatialPolygon.
> The equivalent for xyValues in the package raster.
>
> Regards,
>
> Isabelle.
>
> --
> Isabelle Boulangeat, PhD student
> Ecosystem dynamics and plant traits
>
> Bureau 203, +33 (0) 476 635 733
>
> Laboratoire d'écologie Alpine (LECA)
> Grenoble, France
> lab' s website : http://www-leca.ujf-grenoble.fr/
> my website : http://j.boulangeat.free.fr/
>
>        [[alternative HTML version deleted]]
>
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
>


-- 
In God we trust, all others bring data.

	[[alternative HTML version deleted]]

