Tag Info

New answers tagged

0

Matchlines are typically a feature found on plans, not maps. I'm not aware of any tool to directly implement them in ArcGIS. It's possible there are such tools in some of the mapbook extensions available out there. However there is a workaround that can roughly do it. First, you need to create a new feature class and actually draw in the matchlines where ...


0

Try using Strip Map Index Features tool, to create your index layer. This tool generates the pages in an order that maintains the continuous run (a pipeline, an electric feeder,...). Then you can use the PageNumber Field as your sort field. If you have already used this tool, and it doesn't suffice your needs, then you have no other option than manually ...


1

To do this I would use ArcPy with Data Driven Pages. There is some sample code in the help document entitled Creating a map book with facing pages which has all the necessary coding patterns but is a bit more complicated than what you want to do. To create your PDF you just need to use arcpy.mapping to loop through your data driven pages one at a time, and ...


4

arcpy.ListFields() will give you a list of objects. You just need to get the names from those objects. field_names = [f.name for f in arcpy.ListFields(lyr)] Another round about way of getting them would be via a search cursor but that also includes the shape field. field_names = [] with arcpy.da.SearchCursor(lyr,"*") as cursor: field_names = ...


1

I think I may have a solution for you. I have been testing with this a large data set I have, and this may be provide the results you're looking for. Adding to your code: mxd = arcpy.mapping.MapDocument("CURRENT") df = arcpy.mapping.ListDataFrames(mxd, "Layers")[0] ar = df.extent.height / df.extent.width for page_number in range(1, ...



Top 50 recent answers are included