[R-sig-Geo] Dissolve polygon

Céline Bellard bellard.celine at gmail.com
Fri Jul 20 21:40:01 CEST 2012


Hi,

I am working with  a SpatialPolygonsDataFrame of many islands. There are a
lot of polygons (islands) composing my SpatialPolygonsDataFrame.
I want to extract the elevation of each island.
I need to separate the different polygons (like dissolve function in
arcgis), to have the elevation of each island.

Do you have an idea how can I do that ?

dim(hot)
[1] 10945     5

class(hot)
[1] "SpatialLinesDataFrame"
attr(,"package")
[1] "sp"

Thanks in advance for your help,

Céline



More information about the R-sig-Geo mailing list