Saturday, 28 November 2015

r - Join CSV file to shapefile


I wanted to join a CSV file to a shapefile.


When I identified a field to facilitate the join, e.g.,


map <- spChFIDs(map, as.character(map$ID))

it returned



Error in spChFIDs(SP, x) : lengths differ




Can anyone advise?




No comments:

Post a Comment