[R-sig-Geo] How to see polygons vertex

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Tue Jul 12 22:47:10 CEST 2011


Ok got it:

>plot(imagev01 at polygons[[1]]@Polygons[[1]]@coords)

Now when I plot the polygon itself (there is only one):

>plot(imagev01)

 it is much less large than the set of point and they don't matches... The heights fit though.

Am I doing something wrong?

Pierre

> -----Original Message-----
> From: r-sig-geo-bounces at r-project.org [mailto:r-sig-geo-bounces at r-
> project.org] On Behalf Of Pierre Racine
> Sent: Tuesday, July 12, 2011 4:29 PM
> To: r-sig-geo at r-project.org
> Subject: [R-sig-Geo] How to see polygons vertex
> 
> Hi,
> 
> I want to see all the vertex of a SpatialPolygonsDataFrame in a plot. Should I
> convert or extract the coordinates of each polygons and then plot them? How?
> 
> Thanks,
> 
> Pierre
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo



More information about the R-sig-Geo mailing list