This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |