search for: polylistshap

Displaying 2 results from an estimated 2 matches for "polylistshap".

Did you mean: polylistshape
2006 Jan 07
1
maptools, write.polylistShape
Dear Roger, I am trying to use the write.polylistShape() function of maptools for the first time and realize that it handles list of polygons of class 'polylist'. However, it seems that no as.polylist() function exist in the package. The question behind that is: in your opinion, which would be the best way to convert a list of matrix of p...
2006 Oct 07
3
merge and polylist
...t.data, nc$att.data$NAME!="Honolulu, HI") nc$att.data[,1]=as.numeric(paste(nc$att.data$MSACMSA)) #attributes(nc$att.data) nc$att.data=merge(nc$att.data, dat, by.x="AREA", by.y="cod", all.x=TRUE, sort=FALSE) #attributes(nc$att.data) tmp=file("tmp") write.polylistShape(submap, nc$att.data, "tmp") #_________________________________________________________ All works fine, but merge() changes the rownames and the link between the polygons and the corresponding rows is lost. I tried numerous other solutions (such as to "paste" back the old rown...