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

How to logout from a login page in asp.net -

Stack level too deep error after upgrade to rails 3.2 and ruby 1.9.3 -