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
How to see polygons vertex
3 messages · Pierre Racine, Roman Luštrik
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
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20110712/61c3239b/attachment.pl>