Skip to content

Cutting Holes in Shapefiles

I often want to exclude areas when drawing field shapefiles.  These might be undamaged areas in crop damage claims, marshes or clumps of trees in taking field measurements, or other areas that need to be excluded in area calculations. Doing this was pretty tricky until I found the DonutShop 2.0 script for ArcView.

How to use donutshop to cut holes in shape files (.shp):

  1. Save and extract the file to your hard drive.
  2. Start ArcView and Go to your project window
  3. Click on Scripts and click New
  4. Choose Script/Load Text File and load the file you extracted (probably dnutshop.ave)
  5. Choose Script/Properties and give the script a better name (I use dnutshop) the press Ok
  6. Choose Script/Compile
  7. Go to your View
  8. Double Click on an empty area of the button bar (the bar with the Save icon on it)
  9. Choose Category/Buttons
  10. Click New
  11. Double Click on the empty area next to Click, find and highlight the script name you gave it earlier, click Ok
  12. Give it an Icon (I’m fond of the letter O)
  13. Choose Theme/Edit for the theme you want to cut holes into, click the icon for donutshop, then click Theme/Stop Editing, save your edits and you’re done!
  14. Have a donut.

    photo by Jayel Aheram

    photo by Jayel Aheram

Post a Comment

Your email is never published nor shared. Required fields are marked *