R_Extracting coordinates from SpatialPolygonsDataFrame

后端 未结 5 787
無奈伤痛
無奈伤痛 2020-12-31 11:52

Is it only me who have the problem with extracting coordinates of a polygon from SpatialPolygonsDataFrame object? I am able to extract other slots of the object

5条回答
  •  甜味超标
    2020-12-31 12:20

    ggplot2's fortify() function may be deprecated at some point so the broom package is now suggested

    library(broom)
    broom::tidy(atf_sp)
    

提交回复
热议问题