gis - Compass direction (North, West ...) of polygon in R -


i have polygon of gis object,e.g. rectangle. extract of edges according compass orientation. how can that?

here simple example

poly = polygon(cbind(c(2,4,4,1,2),c(2,3,5,4,2))) polygons = polygons(list(poly), "s3") spp = spatialpolygons(list(polygons)) plot(spp) 

the upper edgs eg. related north. how can identify via script?


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -