Hot answers tagged

4

Use Dissolve: Aggregates features based on specified attributes With your land use class or whatever it is as Dissolve field


3

Rather than output bookmarks as an ArcGIS Place File (*.dat) you can use the ListBookmarks function of ArcPy which: Returns a Python list of named tuples that provide access to each spatial bookmark's name and extent. With that simple data structure available within Python you could write to a file format of your choice or just read it direct using PyQGIS.


2

You are creating the same feature layer for each row, and the layer is the entire shapefile. Then rasterizing the shape. Add a where clause to only make a feature layer of current cursor row and rasterize "Layer" : ... with arcpy.da.SearchCursor(shp, PIDname) as sCur: for row in sCur: out_Raster = "PID{}.tif".format(row[0]) ...


2

Working from @PolyGeo's answer, here's some code that gets the info out of ArcMap: import arcpy srcPath = "D:\\SomeFolder\\Data\\" srcFile = "MyMap.mxd" # set working mxd mxd = arcpy.mapping.MapDocument(srcPath+srcFile) with open(srcPath+'filename.txt', "w") as outtxt: for df in arcpy.mapping.ListDataFrames(mxd,"*"):...


1

Vince was correct, set polyline as my index layer. Made a copy of the index layer and used it to use Page Definition queries. Credit: How do I only show current index polygon extent in Data Driven Pages


1

Make Table View, where you can choose which fields to keep Make XY Event Layer, create a temp point layer Copy Features, make it permanent


1

You must check fixed frame as pic shows to be able to resize legend and change aspect ratio once you check fixed frame, the 'preserve aspect ratio' option is no longer grey out, as pic shows. now you are free to drag to resize the legend ( aspect ratio will change when you drag )


Only top voted, non community-wiki answers of a minimum length are eligible