16
votes
Displaying images next to features in ArcMap?
Modify (scale, shiftX, shiftY) and run this script
import arcpy, traceback, os, sys
from arcpy import env
env.overwriteoutput=True
scale=10
shiftX=50
shiftY=25
points = r'D:\Scratch\points.shp'
try:
...
11
votes
Accepted
How to change the dynamic information in data driven pages
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 ...
9
votes
Finding data driven pages for ArcGIS Pro?
Data Driven Pages are available in ArcGIS Pro 1.2 under the name "Map Series"
You can look at the Help page here. It's not a Geoprocessing tool but a Layout option now.
http://pro.arcgis.com/en/pro-...
8
votes
How to place two data driven pages on one map layout?
To my understanding it is not possible to have two different data frames each using data driven pages. However, there are methods/tricks you can employ to emulate this behavior by manipulating ...
7
votes
Minimising number of dynamic pages to map scattered points using ArcGIS Desktop?
This is not the answer, I just thought I post Python solution for those who interested:
# ---------------------------------------------------------------------------
# PAGE MAKER
#
# ----------------...
7
votes
arcmap - automatically change name of map
One solution is a combination of data driven pages and dynamic text.
In your case, you'd set the "Name Field" as your street names (e.g. STREET_NAME).
Then, insert dynamic text that refers to that ...
7
votes
Export all data driven pages to PDF using Python script
I am a novice in Python as well, but I have a script that will do what it sounds like you are trying to do - export all pages of an MXD with Data Driven Pages to one PDF.
I run this through the ...
7
votes
Accepted
Data driven pages for multiple frames
How about setting the second and third frame extent as dependant from the first one (in arcmap), and set your DD pages on the first frame?
As your data driven pages flick through the features in the ...
6
votes
Breaking dynamic text line in Data Driven Pages
Came across this looking for the same answer.
The best way I found is to add a \n, in the attribute text, where you want your break.
Billy Joes \n Dry Cleaners LLC
=
Billy Joes
Dry Cleaners LLC
6
votes
Multi-page export in *.tiff and other image formats using Export Map?
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 ...
6
votes
Exporting GeoTIffs from Data Driven Pages for use on Tablet?
A work around would be to use the ExportToTIFF method within the data driven page loop. Here is a code example:
mxd = arcpy.mapping.MapDocument("CURRENT")
df = arcpy.mapping.ListDataFrames(mxd, "...
6
votes
Accepted
Controlling layers displayed in data driven pages of ArcGIS for Desktop?
Having looked into this, you can do this through page definition queries.
Add a field to each layer that specifies the page on which it should display. e.g. for Red_Circle open the attribute table ...
6
votes
Accepted
How to Prevent Data Driven Pages From Hanging on Subsequent Export?
Based on comments from @Adam, I used a Python script to export my Data Driven Pages MXD with no problems with hanging on subsequent exports. Using Python for the exports appears to have solved the ...
6
votes
Format Issue with Dynamic Text using Data-Driven Pages
The trick is to change the text alignment in the attribute table!
All you have to do is:
1. Open the attribute table and right click on the field heading
2. Click Properties
3. In the Field ...
6
votes
Automate & set layers for PDF maps
You are describing the exact functionality of Data-Driven Pages (DDP), a built-in feature of ArcGIS. You can implement them either in a Python script or in ArcMap. If you've never used them before, I'...
5
votes
Accepted
Avoiding No data driven pages were created error in ArcMap
To be able to create Data Driven Pages you will need to have a Name Field chosen - in your graphic of the Data Driven Pages Setup there is not one.
If you are not offered a choice for this field, ...
5
votes
Accepted
Determining if feature contained within layout when using Data Driven Pages with ArcPy?
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, ...
5
votes
Adjusting automatically angle before printing Strip Map from Data Driven Pages?
I think the option that you are looking for is the Angle field on the Data Driven Pages Setup dialog.
There is a useful help page entitled Enabling Data Driven Pages for a strip map:
To make a ...
5
votes
Accepted
Showing only current index polygon extent in Data Driven Pages
Easiest way to do this is to add the index layer to your map document twice.
Use the first instance as the index for your data-driven pages, but don't display it on the map.
Use the second ...
5
votes
Accepted
Determining if Point Feature is in More Than One Polygon?
Spatial Join between points (target features) and polygons (join features), ONE_TO_MANY
Summary Statistics or Dissolve to COUNT duplicates in the TARGET_FID field
5
votes
Accepted
Arcpy: Exporting PNGs with high quality using data driven pages
The output resolution of the ExportToPNG tool is 96 dpi by default, but you can modify it, see the help page of the tool.
arcpy.mapping.ExportToPNG(mxd, r"C:\Temp\ParcelAtlas_Page" +str(pageNum) + "....
5
votes
Accepted
Sorting MXDs with specific attributes and exporting to specific directory?
You are messing with the iterated variable, mxd within the for loop, but worse than that, you are assigning it an object within the loop which is of a completely different class to what the iteration ...
4
votes
Accepted
Hiding selected features in ArcGIS for Desktop using ArcPy or ModelBuilder?
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
...
4
votes
Accepted
Using ArcGIS model to batch export set of layout view as JPEGs?
I've had to do something very similar using some cobbled together python script:
>>> field_name = "name"
>>> mxd = arcpy.mapping.MapDocument("CURRENT")
... for i in range(1, mxd....
4
votes
Accepted
Map automation to iterate through attribute table using ArcPy?
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 ...
4
votes
Minimising number of dynamic pages to map scattered points using ArcGIS Desktop?
This looks like the geometric version of the Maximum Coverage Problem which is closely related to the Set Cover Problem, and those two are NP-Complete.
So to solve it, one could use approximation. I ...
4
votes
Graphic clipping of Data Driven Pages to index feature that defines each page?
You can add a polygon layer on top that is all white and has the same polygons as what you have encircled. You then make a Page Definition Query that is based on the page name (requires a field in the ...
4
votes
Accepted
Map book based on field attributes
Why do you need 800 separate MXDs? You can make a map for each of the 800 polygons in a single MXD using data driven pages (DDP) simply by setting the layer with 800 polygons as your index layer. Then,...
4
votes
How do I get my Data Driven Pages Inset Map to center the grid featured?
@johns Through your article I found my solution. I had to go to data frame properties and click on the data frame tab, under extent, the first drop down, i had to choose other data frame. Then the ...
4
votes
Accepted
Feature/label visibility based on spatial relationship to index feature using data-driven pages
It would be great to have this (and other features) but it currently cannot be done in ArcGIS out-of-the-box. This feature will likely not be available any time soon since ESRI seems to be putting 100%...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
data-driven-pages × 338arcgis-desktop × 234
arcpy × 120
arcmap × 105
arcgis-10.2 × 35
arcgis-10.0 × 23
arcgis-10.1 × 22
export × 21
arcgis-10.3 × 20
pdf × 20
layouts × 18
labeling × 17
dynamic-text × 15
map-book × 15
python × 13
definition-query × 11
strip-map × 10
legend × 7
extents × 7
dynamic × 7
arcgis-10.4 × 6
data-frame × 6
modelbuilder × 5
symbology × 5
geotiff-tiff × 5