将SpatialPolygonsDataFrame与location数据框进行匹配

时间:2019-01-02 11:11:51

标签: r geospatial sp

我有一个国家的度假胜地清单,其中包括多头和空头位置。有没有办法将其与GADM SpatialPolygonsDataFrame相匹配?由于名称不完全对应,因此无法根据NAME_2进行匹配。

class       : SpatialPolygonsDataFrame 
features    : 169 
extent      : 5.956063, 10.49511, 45.81706, 47.80848  (xmin, xmax, ymin, ymax)
coord. ref. : +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0 
variables   : 13
names       : GID_0,      NAME_0,   GID_1, NAME_1, NL_NAME_1,     GID_2,  NAME_2,      VARNAME_2, NL_NAME_2,     TYPE_2,  ENGTYPE_2, CC_2,   HASC_2 
min values  :   CHE, Switzerland, CHE.1_1, Aargau,        NA, CHE.1.1_1,   Aarau,          Broye,        NA,   District,   District,   NA, CH.AG.AA 
max values  :   CHE, Switzerland, CHE.9_1, Zürich,        NA, CHE.9.1_1, Zurzach, Westlich Raron,        NA, Water body, Water body,   NA, CH.ZH.ZH 

0 个答案:

没有答案