Tag Info

Hot answers tagged

12

This is typically something you can do with Data Driven Pages. The static text and images is not a problem, you can modify one lay out and this will be transmitted to all other layouts. For the dynamic text, it can be driven based on one of the attribute fields using this syntax " domainlookup="true"/> The most complicated part is what you show on the ...


8

That feature is called Atlas in QGIS and you'll find it as part of the Print Composer. It's described in the user manual.


7

The only attribute table accessible through Dynamic Text is the attribute table of your Data Driven Pages index layer. I'm assuming your Data Driven Pages map book is based off of your grid layer, and if so then you're in luck. Using a dyn tag of type 'page', you can access any property of the index layer <dyn type="page" ...


7

Not directly, but you can do this with python and the arcpy.mapping module. Use arcpy.mapping.ListBookmarks to get the extent of each bookmark. Then create features for each extent. You will now be able to use this feature class as the index layer for Data Driven Pages.


7

I was able to do this when I had them for ArcGIS 9.3 and it works very good. I dont know if this will work with ArcGIS 10.0 or later as it stated on their website but I'd give it a try. ArcMapBook Edit: This can be accomplished by simply creating a rectangular page for each set of layers stacked directly on top of each other. Name each page separately ...


7

In ArcMap 10.2 and above, you can use Data Driven Pages so that your attribute information (such as the demographic text listed above) changes when the page changes. You can display any attribute in your attribute table as dynamic text in the map. If the attributes you want to display are not in your feature class, consider doing a join from a table with ...


6

I was wondering about the same but found that there is no such out-of-the-box tool. I made an add-on for this. You can download it here: http://www.arcgis.com/home/item.html?id=a9b032f739254ebeb6221c9294ebc886


6

There isn't a really an elegant way to do this, as far as I know. However, I've recently successfully accomplished something similar using multiple copies of the layer and using Page Definitions. Here's the basic idea, and you can modify it to suit your needs: The layer which defines your Data Driven Pages should show the symbology but no labels. Then, ...


5

I'm simply reposting the code from above as an answer because I found it really useful but it took ages to find: import_path = r"..." # Path of .mxd export_path = r"..." # Path of output file field_name = "Name" # Name of field used to sort DDP mxd = arcpy.mapping.MapDocument(import_path) for i in range(1, mxd.dataDrivenPages.pageCount + 1): ...


5

You will need to set up two map documents, one for portrait and one for landscape. Your index layer will need a field to store the page orientation, something like "Pagesize". Then use the definition query on your index layer to limit which features will be included in that set of maps, e.g., [Pagesize]="85x11P" or [PageSize]="85x11L". It's pretty ...


4

It may be that what you are looking for is to be able to flow/wrap text within rectangular text elements. How to do this is documented here.


4

I would set up the DDP using the pipeline as the ddp layer. In the Python script, iterate over the pages and check the data frame scale. Using some conditional logic, you can calculate what the scale for that map should be, and then export. Here is part of a script I have used in the past: import arcpy mxd = arcpy.mapping.MapDocument(r"C:\MyMap.mxd") df = ...


4

I think your requirements would be most easily and intuitively met by having a single map with all the layers included and then to write a simple Python script that uses layer.visible to toggle layers on/off before exporting each page using ExportToPDF. PDFDocument can then be used to append the pages into a single PDF file. The technique is described in ...


4

I'm assuming the page numbers are pulled from the attribute table of the layer you are using to create the DDP and can therefore add a dynamic attribute. If you have two text boxes one on each side for odd and even pages I think you should have two separate fields in the attribute table, one for odd the other even which would only display the text on the ...


4

The Field Calculator configuration below can be used to set values on any odd numbers in your Odd pages field (and blanks in the other rows). In order to simulate a Data Driven Pages index for test data, I used Create Fishnet to create a polygon feature class in a file geodatabase, and then added text fields 4 characters in size called Odd and Even. This ...


4

You can export to other formats, however you will have to use python/arcpy module: How to export Data Driven Pages to other formats using ArcMap: You can use a simple arcpy.mapping script to export Data Driven Pages to formats other than PDF. This example shows how to export Data Driven Pages to a series of PNG image files. mxd = ...


4

What you are describing sounds like Page Definition Queries: Page Definition Queries allow you to specify which features of a layer draw based on an SQL query. Though similar to other definition queries, Page Definition Queries differ in that they only work with Data Driven Pages and are dynamic. If this is not what you are after then I recommend ...


4

This should be pretty doable using Extent objects. If you are using python to run your Data Driven Pages, why don't you calculate the extent of the data frame every time you change pages. Then, while that's going, calculate the geometry of your point layer. Use the contains method of the Extent object to determine whether the point is within the data ...


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 = ...


3

It sounds like you want to use what ESRI call "automating map workflows" - its a new feature in ArcGIS 10 - http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00qp0000001t000000.htm You may also want to have a look at their Map Books page.


3

If you have not already gone through the ESRI arcpy.mapping tutorials and ArcGIS Resources pages, they have heaps of sample scripts to comb through. I would suggest looking at these first: arcpy.mapping / Map Automation Group ArcGIS Resource, Python for ArcGIS Tutorials: Introduction to arcpy.mapping Getting started with arcpy.mapping tutorial ...


3

This code may help. It does not use Data Driven Pages, but more or less emulates their functionality, while enabling you to have the flexibility to use the extent of each feature in your index layer to set the extent of both the Main Map and the Overview, before zooming out the Overview by a factor of 10. I think DDP is great for creating "no code" map ...


3

We use MapLogic Layout Manager, and have for about four or five years. We're able to create some nice map books with this software, and it's much more advanced than the DS Mapbook extension. Since we started using their software we're constantly asked to create new map books for departments. You can find them at MapLogic.


3

Use Cartographic Representations: Data needs to be in a Geodatabase. http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Rotating_feature_representations You can do it without Cartographic Representations but have less control on the feature/symbol. Creating a marker from a picture graphic: ...


3

11.Type the following for the text: Coordinate System: dyn type="dataFrame" name="Detail Map" property="sr" srProperty="name"/ dyn type="dataFrame" name="Detail Map" property="sr" srProperty="projection" preStr="Projection: " newLine="true" emptyStr=""/ dyn type="dataFrame" name="Detail Map" property="sr" srProperty="datum" preStr="Datum: " ...


3

I haven't played much with Data Driven Pages but if your tower ranges are all in the same feature class, you might be able to use Page Definition Queries to automatically display just one specific tower per page.


3

There is an excellent article written about generating pdf-documents using arcpy. It takes you through the basics and also shows more sophisticated features. Combining data driven pages with Python and arcpy.mapping You can easily generate an index page using pyfpdf. With arcpy you also have access to the contents of your polygon index dbf-file.


3

Here's my thinking in pseudocode: you'd get your MapDocument, then ListDataFrames, then ListLayers. Then you should be able to iterate through the Layers, toggle the Layer's Visibility property on, ExportToPDF (or whatever), then toggle Visibility off again, and move on to the next Layer. If you want to leave certain layers on as base layers, maybe you ...


3

I think you should put Data Driven Pages (DDP) to one side for now, because if that introduces any limitations to an application like this, they can usually be overcome by using a SearchCursor to iterate through the feature class that would have been your DDP index. The key thing will be whether you can get ArcPy to run arcpy.mapping.ExportReport to run ...


3

First thing, set up your Data driven pages on the inset map - then what you can do is in your data driven pages setup dialog - on the extent page - set the map extent to best fit - say 105% - this way it will always zoom to the parcel of interest. On the other data frame - adjust you scale so it is fixed at 800.



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