小编Bin*_*Liu的帖子

如何对shapefile进行子集化

shapefile"Property1A"的数据集是:

 df
#      suburb        area asst
# 0     Te Aro   14.541780 R076
# 1     Te Aro    7.655428 R076
# 2     Te Aro 3189.976134 <NA>
# 3     Te Aro  242.173386 0132
# 4     Karori  537.697290 R003
# 5    Pipitea 1116.954993 R105
# 6    Mt Cook  106.099900 R151
# 7     Te Aro   83.307421 R057
# 8 Aro Valley  544.665788 R105
# 9 Aro Valley   59.726882 R110
Run Code Online (Sandbox Code Playgroud)

当我尝试为郊区"Te Aro"子集shapefile时,我使用的代码是:

TeAro <- subset(Property1A, suburb == "Te Aro") 
Run Code Online (Sandbox Code Playgroud)

但是有一个错误:

TeAro <- subset(Property1A, suburb == "Te …
Run Code Online (Sandbox Code Playgroud)

r shapefile

2
推荐指数
1
解决办法
5285
查看次数

标签 统计

r ×1

shapefile ×1