Skip to content

Instantly share code, notes, and snippets.

@mbacou
Created March 25, 2013 16:33
Show Gist options
  • Save mbacou/5238487 to your computer and use it in GitHub Desktop.
Save mbacou/5238487 to your computer and use it in GitHub Desktop.
R: Dissolve shapes across attributes
# Dissolve map into regions and farming systems
gha.fs <- unionSpatialPolygons(gha, interaction(gha@data$REGION, gha@data$FS))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment