It would be great if it would be possible to create custom formats for the file names that are produced by the data driven pages feature. Now it looks like this in ArcGIS 10 (ArcMap):
You can choose etiher index, name or page number to be included in the file name
I think it should be done as in most file renaming tools:
The file names could be named using format strings like %D = date %C = creator %n = page number %N = page name etc.
Here's a couple of examples from Thunar File manager:
Currently the files name option in the Export Layout MapSeries Pane includes only three options as follows:
Could we have a new option: Multiple PDF Files (Page Name as File name). We use a field for naming the output file (pdf). Having only a suffix option means we have to delete the layout name after producing (exporting) the layout files.
It's a bit of a hack, but if you leave the name blank, then the page name as the "suffix" will simply be the pdf file name.
In the image below you can see that I'm exporting to my C:/EXPORTS folder and I leave everything after EXPORTS blank. When I choose 'Multiple PDF Files (Page name as suffix)' the parameter changes to C:/EXPORTS/.pdf and the separate pdfs are created using only the Page Name for the file name.
(In this case, my page name is 5).
You are correct. That will work for now. But... still think the naming options should be added.
Thanks
You're welcome. Glad that it helps you name your pdfs how you need to now.
The idea is still open.
Cheers
Hello Dean. We have a mid-term issue: "Allow dynamic formatting when creating a map series output file name." It is related to another IDEA that we got a while ago: https://community.esri.com/ideas/4323-data-driven-pages-file-name-format
I will add you new IDEA to our issue. I'm sure you are aware that with a very simple Python script you would have complete control of output file name.
@KoryKramer is might be worth combining these two IDEAS, just an idea.
I know this is ancient, but I would really love some kind of dynamic or parameter-based file naming capability.
Right now I'm making a series of maps of counties across several states. Some counties are tall, some are wide, and some are roughly even, so I have three different layouts (each using the same map frame) to best match the shape of each county - let's call them LayoutA, LayoutB, and LayoutC.
Ideally, I'd like each map exported as its own page, with the state name and county name; some of the county names repeat across states, so I can't use the county name alone or else some of the files will be overwritten.
I can have Pro export the files as LayoutA_Washington, LayoutA_Jefferson, LayoutB_Adams, LayoutB_Madison, LayoutC_Monroe, LayoutC Johnson, but those need to be renamed and reorganized to create a polished deliverable.
It would be really helpful to be able to pull my map series field names into the file name (plus the other attributes mentioned above - I don't need those but I can see other uses for things like date/time) and build a custom file name, say %StateName%_%CountyName%, instead of being stuck with the layout name + page name or page index. If there is dynamic text I can add to a map layout, it would be nice to have the option to include that text in the file name too.
I guess I could concatenate the state name and county name into a new field and use that to drive the maps, and then use Kory's trick to output just that map page name, but having built-in parameter options would be a lot more efficient and intuitive.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.