Displaying 3 results from an estimated 3 matches for "getspppolygonsidslots".
2009 Aug 30
1
Trying to rename spatial pts data frame slot that isn't a slot()
...qGIS, but can't figure out how to rename the individuals.
#Calculate MCP and save as a shapefile
my.mcp<-mcp(xy, id=id, percent=100)
spol<-area2spol(my.mcp)
spdf <- SpatialPolygonsDataFrame(spol, data=data.frame
+(getSpPPolygonsLabptSlots(spol),
+row.names=getSpPPolygonsIDSlots(spol)), match.ID = TRUE)
writeOGR(spdf,dsn=mcp.dir,layer="All Mantas MCP", driver="ESRI
+Shapefile")
#Read shapefile manipulated in qGIS
mymcp<-readOGR(dsn=mcp.dir,layer="All mantas MCP land differenc")
My spatial points data frame has a number of...
2005 Dec 30
1
How extract the names of ID in SpatialPolygons object
Hi dear user,
Anybody can tell me how extract the names of ID in SpatialPolygons
object, I am try to link a data frame attributes with spatial polygons,
but the row names of data frame is not the same that ID poligons.
Thank for all
Fernando
[[alternative HTML version deleted]]
2009 Sep 01
1
Logistic Politomic Regression in R
...qGIS, but can't figure out how to rename the individuals.
#Calculate MCP and save as a shapefile
my.mcp<-mcp(xy, id=id, percent=100)
spol<-area2spol(my.mcp)
spdf <- SpatialPolygonsDataFrame(spol, data=data.frame
+(getSpPPolygonsLabptSlots(spol),
+row.names=getSpPPolygonsIDSlots(spol)), match.ID = TRUE)
writeOGR(spdf,dsn=mcp.dir,layer="All Mantas MCP", driver="ESRI
+Shapefile")
#Read shapefile manipulated in qGIS
mymcp<-readOGR(dsn=mcp.dir,layer="All mantas MCP land differenc")
My spatial points data frame has a number of...