Friday 24 June 2016

arcgis desktop - Creating shapefile from current dataframe extents in layout view of ArcMap?


Where is the ArcGIS 10 tool for creating a shapefile from current dataframe extents in layout view?


Have looked around and the closet thing i can find is Toolbox's Grid/Strip Map Index tools under Data Drive Pages.


I just want to be able to create a single polygon rectangle shp file based on the data frame (in layout view) for any given scale / page setup.




Answer



I created a tool to do this via a Toolbox in ArcGIS 10. It might be easier to use than scripting. You can download it here. Just copy your mxd(s) into a folder and run the tool on that folder. It will create a shapefile containing all the main extents of each mxd in that folder.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...