search for: getspppolygonslabptslot

Displaying 4 results from an estimated 4 matches for "getspppolygonslabptslot".

2009 Aug 30
1
Trying to rename spatial pts data frame slot that isn't a slot()
...st. I brought the manipulated shapefiles back into 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&quot...
2010 Apr 06
0
Adding labels on maps (using sp, maptools, or something else suggested)
...could manually re-order my regionnames vector, but that seems avoidable in a way that I cannot see. Finally, I do not want the legend, as it would be meaningless for my use. ----- Example 2 ----- library(maptools) nc2 <- readShapePoly("ITA_adm1.shp") plot(nc2) invisible(text(getSpPPolygonsLabptSlots(nc2), labels=as.character(regionnames), cex=0.4)) This gets me a map with regions outlined (as desired), but the names don't land where I want them to. A relatively "klunky" solution is to just re-order them manually when I declare regionnames <- c( etc ), but I'd like to...
2005 Sep 14
4
Converting coordinates to actual distances
Hello, I've been searching for a method of converting Lat/Lon decimal coordinates into actual distances between points, and taking into account the curvature of the earth. Is there such a package in R? I've looked at the GeoR package, but this does not seem to contain what I am looking for. Ideally the output would be a triangular matrix of distances. Thanks in advance, Paul Brewin
2009 Sep 01
1
Logistic Politomic Regression in R
...st.  I brought the manipulated shapefiles back into 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&quot...