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

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...