Skip to content

Instantly share code, notes, and snippets.

View donfleming's full-sized avatar

Don Fleming donfleming

View GitHub Profile
import arcpy, os
from arcpy import env
# Set the workspace and allow overwriting
env.workspace = "yourfilepath/output"
env.overwriteOutput = True
# Set local variables for the state
states = "yourfilepath/tlgdb_2014_a_us_nationgeo.gdb/State"
roads = "yourfilepath/tlgdb_2014_a_us_roads.gdb/Roads"
import arcpy, os
from arcpy import env
from PIL import Image
# Move the shapefiles to a file geodatabase
# Set the workspace where we will find the shapefiles
env.workspace = "/target workspace containing the shapefiles/"
env.overwriteOutput = True
targetGDB = "/path to your file geodatabase/"