Hello all,
I am trying to create a model that will take basemap imagery and export it out into a tif file so it can be used in autocad drawings or online. I had a thought to take my project boundary layer and create a fishnet grid system. From there I was thinking an either select by feature or split by attribute. from there I wanted to run an iterator to select all different ids to run them.
After this is where I am drawing a blank on how to zoom to my selected polygon within the fishnet grid and then how to export out the raster data.
I found this for the zoom
import arcpy
def zoom():
mxd = arcpy.mapping.MapDocument("CURRENT")
df = arcpy.mapping.ListDataFrames(mxd, "Layers")[0]
df.zoomToSelectedFeatures()
return True
does anyone have any ideas on how to zoom and export maps? and no it can't be a spatial series because it is only in pdf and that will not work with the remainder of the workflow
Sounds like you want to be calling exportToJPEG() on MapView? There is sample code at bottom of help page.