Transcript

00:01Everybody, welcome to Printing, Exporting, and ArcPress.

00:04My name is Jeremy Wright; I'm a product engineer in Redlands.

00:07This is Michael Grossman, also a product engineer in Redlands.

00:09We both work on printing and exporting, map display, various sundry other items.

00:15So, let's do a quick poll - since this is a printing session - how many of you have HP printers?

00:23And are those plotters? Large format?

00:24Yeah, yeah.

00:25All right. And then, what about Epson? Smattering there.

00:31And then, Canon? There's one in the back.

00:35 Océ. Oh, there's one over there, okay.

00:40Any other brands that I haven't mention?

00:42[Audience comment] Dell.

00:43Dell, okay.

00:44Dell plotter or Dell laser printer?

00:46[Audience comment] Dell laser.

00:47Laser. Okay.

00:51All right, now let's get started.

00:52It's obviously a little more complicated than Word, and the reason is there's this distinction between these two…

00:54So here's a little bit about what we're going to be talking about in this workshop.

00:57First, we're going to talk about what we call output, which is both exporting to interchange formats…

00:58…what look like the same paper settings.

01:02…and graphic formats, and printing.

01:04So I'll discuss some of the peculiarities of page setup, and the printing settings that are available in ArcMap…

01:10…as you may have noticed are a little different than Microsoft Word.

01:13Talk about specifically about troubleshooting for map export, and some of the advanced…

01:17…PDF features that we've added over the years.

01:21And then we're going to do a little survey of ArcGIS 10 specific stuff such as Data Driven Pages…

01:25…which is a way of doing map books, batch output.

01:29And then, the more sophisticated version of that which is ArcPy mapping, which allows you to do basically…

01:34…map production automation using scripts in Python.

01:37Who went to the Intro to Python course while you were here?

01:41All right, cool. I heard it was standing room only, so.

01:48All right. So first thing we're going to talk about, like I said, is the page setup dialog.

02:00The thing to remember here is that the top of the dialog, which is sort of the L shape box at the top…

02:06…has to do with your actual printer.

02:08So, which printer you select, which properties if you like to manipulate them, and then specifically the form size…

02:14…or the paper size that you're going to print to, and its orientation - letter, or portrait.

02:19On the bottom half is actually devoted to the virtual page that you're going to be creating your…

02:24…layouts on, your map layouts.

02:26So that's why there's two settings. For instance, I have a laser printer only, but I want to create an…

02:31…E-size layout so I can create a big PDF.

02:34So that's why there's these two settings.

02:36If you do actually have a large-format plotter connected directly to your machine, or at least a driver…

02:41…installed, you can check the box that says, "Use Printer Paper Settings," and that'll sync up the two settings…

02:47…so that you're actually using the same settings for both.

02:49The nice thing about that is it will show you a little dotted line in the layout that shows you where…

02:55…your printer can print to; it's what they call a printable margin.

02:58And what that means is, if you try and place elements outside of that, they're not going to show up…

03:03…they're going to be cut off, because the printer's not mechanically capable of printing to those margins.

03:09So, the other things you can do from this dialog, if you wanted to set up, for instance, a custom paper size…

03:13…you would need to set that up in your plotter's properties, which you get to from the Properties button there.

03:20So, another thing you'll notice, it's a little clearer on the Print dialog, but we've offered it here, as well…

03:25…there's a little preview of what the different page size, so the printer paper size, the margins of the printer…

03:33…the map page or the virtual page that you're compositing, and then some sample map objects.

03:38Obviously, the sample map objects is not actually your map, it's a map of Djibouti…

03:42…but it will give you an idea of where things are laid out.

03:44You notice when I look at this, there's a tiny little, shadowy - let me use the mouse here…

03:50…a tiny little shadowy 8½ x 11 page in the lower left corner.

03:54What that tells me is if I go hit Print right now, I'm going to get a bunch of little 8½ x 11 sheets…

03:59…or 8½ by 42 inches if you're using a roll plotter, pieces of paper, which is probably not what I want to do.

04:07So, just check that before you print. Oops, other way.

04:14All right, so moving on to the actual Print dialog.

04:18So, this is also a little more complicated than something like Microsoft Word.

04:22The primary reason is because we have this concept of something called a printer engine.

04:27So, what does that mean?

04:28So printer engine's basically just the specific driver that you're going to be using to send information to your plotter.

04:36The first, the default, and of course what we would recommend you use first is the Windows engine.

04:40What this basically means is that you're just using your plotter's driver as if you were printing from any other application.

04:46We do actually also offer something called the PostScript engine.

04:49There's a misconception here - you don't actually have to use the PostScript printer engine to print to…

04:53…your PostScript-capable plotter.

04:55It's not going to give you any better results and, in fact, we consider it sort of a legacy workflow.

05:00The main reason that that's still around is if you wanted to make something called PostScript color separates.

05:06If you don't know what that is, then don't worry about it, you probably don't need it.

05:09And then lastly, the ArcPress engine. So, what is ArcPress?

05:14When you print with a normal printer engine, what it actually does is, you send drawing information to the plotter.

05:19The plotter rasterizes or turns the plot into a picture, and then that picture is what comes out of your plotter…

05:26…and that happens on the printer.

05:28With ArcPress, that rasterization, or picturization, occurs on your computer using our built-in rip or raster…

05:35…image processor that we call ArcPress.

05:38So, it's good because of [sic] your plotter doesn't have very much storage space or if it's a slower processor…

05:43…you know, basically your computer is probably a lot faster than the little tiny computer inside of your plotter.

05:49So, this is a good solution if you're having trouble getting a successful print, things are dropping out, that sort of thing.

05:54So, basically, try Windows; if it doesn't work, try ArcPress.

05:59Some other things to notice that are kind of interesting about this dialog, there's a slider there…

06:02…that says, "Output Image Quality Resample Ratio." What's that?

06:06Your printer has a native dpi, or a resolution that it's going to be using when you plot.

06:12The output image quality affects the quality of elements that are turned into raster…

06:17…when you are outputting them from ArcMap.

06:19We'll get into more of this later, but the thing to remember there is basically, keep it at normal to start with.

06:25If you don't like the way the raster looks then maybe you bump it up a little bit.

06:29Another thing you notice, remember I talked about the tiny 8½ x 11 pieces of paper?

06:33This actually shows you the 12 or so tiles that you're going to get if you print now with the paper…

06:40…the printer paper and the map page size is set to what they are.

06:43So, this is another little warning sign that says, hey, maybe I don't want that.

06:46Or, maybe you do actually want to print an E-size map onto several 8½ x 11 sheets…

06:51…just to kind of see where things lay out, maybe tape them together, if you're creating a wall map, that sort of thing.

06:56So those tiling options are available there; you can print a range of tiles, or the entire set of tiles.

07:03There's also this option Scale Map to Fit Printer Paper.

07:06What that actually does is sort of like a copy machine scaling, so common uses would be if you wanted…

07:09…to print your poster-size map but you wanted to shrink it down to fit on 8½ x 11 paper so you could put it…

07:19…on your laser printer just to kind of see where things lay out relatively on the page as sort of a reality check.

07:25So that's what that's useful for, but keep in mind, obviously, it's just doing like a photostat scaling…

07:30…so it's not going to be, things like your scale text aren't going to be right anymore…

07:34…obviously, 'cause it's not actual size.

07:38And then lastly, it's kind of grayed out here, but you can see it down at the bottom, Print to File.

07:43What that allows you to do is create what we call a print-ready file, or a file that can be just sent directly to the plotter.

07:49If you don't have your large-format plotter, for instance, if you're at a conference, which you are…

07:55…then, but you wanted to be able to sort of get ready a print, you could actually check this box…

08:01…and it will save a file to wherever you choose to save it to, that you can send directly to the plotter.

08:07It's a preprocessed print for that specific printer.

08:11You have to have the printer's driver installed, but so, for instance, you've already had it…

08:14…installed in your laptop but you don't actually have it connected.

08:17That's what this is for.

08:21So we talked about ArcPress; here's a little more about ArcPress.

08:23As I mentioned, it's a raster image processor, does the work on your machine.

08:28To use it, the only thing you need to do is select ArcPress Printer in that printer engine dialog box.

08:33If you have a printer that's supported by ArcPress, you don't need to do anything else.

08:37We automatically select the ArcPress driver that's correct for your printer.

08:43It's only compatible with a specific list of large-format printers, from HP, Epson, and Océ.

08:50So, but another thing to note, it's not an extension anymore.

08:54Everybody remembers when it used to be an extension, but that was, as of 9.2, it's actually included free…

08:58…with all license levels.

08:59Or, included with all license levels.

09:05So if you did actually want to tweak some of the settings in ArcPress, you'll get a different properties dialog box…

09:10…depending on which type of printer you have selected and which ArcPress driver you have selected.

09:14This is just an example of what happens when you select the HP Universal Plotter driver.

09:20But some things on there that are specific to your plotter device; for instance, what type of paper's installed.

09:25Or, some of the Epsons have a matte black versus photo black installed, all those kind of things.

09:31If you do want to change some of those very specific options, this is the place to do it.

09:36Like I said, in general you don't need to.

09:38There's also a color adjustment button, which brings up some sliders for color adjustment.

09:43You don't necessarily need to do that unless you're using one of the older printers that are only supported…

09:48…using the HP RTL Halftone driver.

09:51Most likely, you don't have to worry about those.

09:54The Save Paper option is actually there.

09:56It will automatically rotate the print if it will fit sideways on your roll.

10:02So that's a great option if you want to try to save some of those more expensive medias.

10:06And then, lastly, there's a Print as Black and White option, just allows you to print monochrome.

10:10Not sure that there's really an application for that; maybe transparencies or Tyvek or something.

10:17And then, remember I mentioned it's only supported for certain large-format printers…

10:21…so if you want to know which printers are supported by your particular version of ArcGIS Desktop and ArcPress…

10:30…then you would go to the Esri support website and there's a KB article there, number 32745.

10:36This is an index article that goes to articles about each version of ArcGIS, and it will tell you what printers…

10:42…specifically, what models are supported by ArcPress.

10:52So remember, I talked about output image quality.

10:55So, output image quality specifically controls the actual resolution of the raster data…

11:02…or rasterized data, that gets sent to your print.

11:07What this means is any layers that actually are raster, layers that are below a raster layer…

11:12…or for instance, layers that have transparency or picture marker symbols, those kinds of symbologies…

11:18…because of the way the output engine works in ArcMap, we need to create a picture of all those layers…

11:24…that are in that stack below that first transparent, or rasterizing layer, and then blend them together in a single operation.

11:31When we do that they all become raster.

11:33The output image quality setting is a ratio.

11:36So, if I select a printer that's 600 dpi, and then I select an output image quality of 1:2…

11:42…then that means that all the raster content that's being processed is going to be actually given at…

11:47…half that resolution; so it'll be 300 dpi.

11:51It sounds like a problem; it's not.

11:52Honestly, for most prints, 300 dpi, or even 150 dpi, is plenty.

11:59And by doing this, you're reducing the amount of raster data that's sent to the plotter.

12:02And that means that your plot's actually more likely to come out quickly and successfully.

12:07So keep this in mind, if you're trying to print and you're having some trouble, basically…

12:12…you probably can bump the setting down and still be okay.

12:14This is a pretty extreme example and it's zoomed in of what happens when your output…

12:19…image quality is set to something very low, you're going to get something that looks very blocky and weird.

12:26But then when it's set to the highest level, that's that.

12:29So, why is this, this actually looks like vector data, doesn't it?

12:32Well, this is just a reminder that if there's vector data that's below something that's rasterizing…

12:37…it's going to turn into raster, and you're going to get this jaggier, stairstep action.

12:42So, when you're creating your maps, it's always important to make sure that you know which layers are…

12:47…rasterizing and what's below them and that sort of thing.

12:49We'll talk about that more in the troubleshooting section.

12:55So, just going over rasterization again.

12:58Layer transparency. That is obviously going to cause rasterization.

13:01Picture marker symbols cause rasterization.

13:04Raster layers above other layers; for instance, if you have a classified raster that's the land cover…

13:09…and you've got the transparent over top of all your other stuff.

13:11Everything below that has to be rasterized at that point.

13:15So how do I figure out which layers are causing this rasterization?

13:19Well, we provided some tools to help you out with that, especially because most of your maps…

13:22…unlike our demo maps, probably have 80, 100, even in the hundreds of layers.

13:28It can be really hard to figure out which layers have these things that are causing rasterization.

13:32If you are using an ArcGIS 9.x product, there is a sample that's included on ArcScripts…

13:38…and there's a URL here, and we shortened it for you.

13:42But basically what it is, is a command that when you click it, will rip through all the layers in your map…

13:47…find the layers that have rasterizing symbology, and then print out a report for you so that…

13:51…you know where those things are.

13:53You may not realize that you've got 5 percent transparency on a color, but if you do…

13:58…and that's causing rasterization, this will find it.

14:00If you're in ArcGIS 10, it's actually a little easier.

14:02There's a little Python script that you can copy and paste into the Python window, and that will do the same thing.

14:07It will rip through your map and find those rasterizing layers and tell you which ones they are.

14:13So, what can I do if I'm having trouble printing?

14:17Remember I mentioned output image quality.

14:19Try bumping down output image quality.

14:21For raster layers specifically, there is a [unintelligible] OIQ setting that's available in the layer properties.

14:27On the Display tab of any raster layer there's something called Display Quality.

14:31It's the same thing.

14:32If you set it to lower, it's going to output at a lower resolution.

14:35So for instance if I have, like, a hillshade, or something that's a continuous tone, it doesn't necessarily need…

14:39…to be quite as crisp as my classified raster or engineering drawings that are imported, that sort of stuff.

14:46Then I can lower the Display Quality setting for just that layer.

14:50And just that layer will send less raster content the output, giving you a faster and more successful print.

14:56And then lastly, of course, ArcPress.

14:58Always try ArcPress if you're having troubles with the Windows printer engine, if it is available for your model of plotter.

15:00This includes things like variable-depth masking or symbol-level drawing, those really nice cartographic effects.

15:05Some maps with complex vector symbology.

15:15…Those can also kind of bloat the output, so the first thing obviously is to try ArcPress…

15:19…because it's going to do the rasterization on your machine; it's going to be a little faster than…

15:22…doing the rasterization on your plotter.

15:26And then of course I mentioned those advanced cartographic effects.

15:29Of course, doing those fancy things makes the output a lot larger.

15:34So try and limit the use of things like text halos and variable-depth masking.

15:38Use them only where they're cartographically appropriate or if they can enhance the quality of your map.

15:43Another cartographic note, use data that's appropriate for your scale.

15:47Obviously you don't need a very detailed road network if you're displaying at the continental level.

15:52Use data that's culled or, for instance, as it says here, use scale ranges to only display those things…

15:58…when you're actually at a scale that makes sense for you to see that data.

16:02That'll reduce the amount of data that's going to the printer and will result usually…

16:05…in a faster and more successful plot.

16:09Now we're going to do a little demo.

16:11We're going to shift gears.

16:12Mike is going to show you some more about layer rasterization and some of the challenges with that.

16:16And then he's also going to mention something we're going to touch on later called font embedding.

16:21All right. Thank you, Jeremy. All right.

16:27So, is my audio okay? Everybody can hear me? Great, thanks.

16:33So I've got a little ArcMap layout here and the first thing you might notice about this is I've got two data frames.

16:41So I've got the large-scale map here and then a small-scale inset, sort of a locator map.

16:49And the one map overlaps the other.

16:52Now there's something that's going to happen when I export this map to PDF, and the reason is…

16:58…there's a layer with transparency inside this data frame.

17:01So, when that happens and you've got overlapping data frames, you can get what we call the white corner problem…

17:07…and you'll see that happen when I export this.

17:09The other thing I wanted to point out is, we've got a few sort of fancy fonts here.

17:16These aren't really a standard font, so they might be fonts that I have on my machine, but people who get the PDF…

17:25…that I create may not have those fonts.

17:27But the best example of a font that is only on my machine are these highway shields.

17:33I don't know how many people knew that these highway shields are actually a font?

17:36These are font characters - that's right - that we install with ArcGIS.

17:41So, we need to use something called font embedding to make sure that comes across in the PDF.

17:49So let's take this layout; we'll go ahead and export it.

17:54Now I'd actually like to export it to the same folder that has my MXD, and this is new in ArcGIS 10.

17:59It's the map home button.

18:00I love this thing.

18:03It takes me right over to the Clipping Demo folder - that's where my MXD is so I can create this…

18:08…PDF right next to the MXD, so I know right where to go when I need to find it.

18:12So, I'll go ahead and just export this to PDF.

18:17And I've set the resolution to 150 dpi.

18:23That helps things move a little bit faster when I don't need a high level of detail.

18:29So, let's go to the folder here where the MXD is.

18:37So it's Clipping Demo, and sure enough, there's that PDF right next to the MXD that I had open.

18:44Open this in Adobe Reader.

18:46Wow, okay, what's the first thing that you see is maybe you see those white corners on the inset map.

18:53The other thing that's gone wrong is all of our fonts have changed.

18:57So, those nice highway shields we had have turned into dollar signs.

19:00How many people have seen this before?

19:03Yeah, this is a really common problem.

19:04I'm going to show you how to fix this, because fixing it is as easy as making sure a check box is marked…

19:10…inside the ArcMap export dialog.

19:14Now, for the purposes of this demo you may wonder, well, you've got ArcMap on the machine, why aren't the fonts there?

19:20There's a special trick that I've done in Adobe Reader in the Preferences dialog.

19:26Now this is Adobe Reader 9; it may be somewhere different in Adobe Reader 10.

19:30But in the page display category there's this little setting, Use Local Fonts.

19:35I've got it turned off.

19:36You see, if I turn it on, it's finding those fonts for me in the folder.

19:40That doesn't really help me.

19:41I need something, because I'm going to put this on a website or I'm going to e-mail this PDF to somebody…

19:45…they're not going to have my highway shields.

19:46I need to put the fonts inside the document using font embedding.

19:50So that's the first problem I have to solve.

19:53The second problem I need to solve is this white corner problem.

19:56So what's happened here?

19:57I don't really know why this happened without going back to ArcMap and doing some of those…

20:02…troubleshooting strategies that Jeremy talked about.

20:06Now remember he said that transparency can cause rasterization.

20:10Well, let's check for that.

20:12There's a really neat way to do it.

20:14I'm going to open the help system inside of ArcMap and I'm going to search for rasterization.

20:21I'm on the Search tab of the help system here.

20:26When I search for rasterization, it's going to show me the Exporting your map help topic.

20:31Now, a lot of what we talk about in the workshop today is also written out here in the help topic.

20:36We talk about all the different map export formats.

20:40We talk about output image quality, and we talk about some of the PDF options, and then we even have…

20:47…a discussion about rasterization.

20:49So that's the reason I got that white corners there.

20:52And in ArcGIS 10 I can use this new Python script.

20:56So I don't need to know Python to use this, I just need to copy it.

20:58I'm going to open the Python window; this is also new in 10.

21:03Ctrl+C, go back to ArcMap.

21:10I can do that from the Geoprocessing menu and I'll just paste that in.

21:14This script opens up all the layers in your map and looks for layers that are causing rasterization.

21:21They might be causing rasterization because of transparency in the layer.

21:25They might be causing rasterization because they have a bitmap picture symbol.

21:31So let's click Enter. Here we go.

21:33The script just opened up my map and went through the layers, and sure enough, in Clipping Locator Map…

21:38…the layer State CX has transparency.

21:43Let's go ahead and turn the transparency off for that layer.

21:48In some cases you've got transparency on sort of unintentionally.

21:51That's great 'cause you can just turn it off.

21:53In other cases you might need to find alternative symbology.

21:55Maybe you could switch the solid fill to a line fill and turn off the transparency.

22:00So you could still see through it, but it wouldn't have that rasterization problem.

22:04Our other issue of course was the font embedding.

22:07So that's simple enough.

22:09If I go to the File > Export Map dialog, way down here in all these complicated options is the Format tab.

22:17And in the Format tab is the Embed All Document Fonts check box.

22:21The reason I didn't have the fonts, the reason I got those dollar signs and all the other fonts changed to defaults…

22:26…was because I didn't have this marked.

22:28Now, most of you should have this marked; we do have this turned on by default.

22:33In some cases people turn it off typically by accident.

22:35The only reason you'd want to turn it off is if you maybe had a print shop or some other technical…

22:41…graphic artist person who told you, don't turn the font embedding on.

22:45Give me a separate PDF and then give me the font files next to it.

22:48That's pretty unusual. We recommend always having this turned on.

22:55I'll go ahead and export this, and then when I open it the next time I'm going to do a little trick…

23:04...that Jeremy taught me a couple of years ago.

23:06I'm actually going to open up the Export Map dialog again, and I'll see the files sitting there.

23:16'Cause remember, it always shows you the files that are in the folder.

23:18So we're done with the export, I can do this.

23:21Here's a cool thing.

23:28So let's take a look at this.

23:31All right! So here we go.

23:33My white corner problem is solved.

23:35My highway shields are back, and all of my custom fonts are showing in the text, and I still have that…

23:43Simulate Missing Fonts thing turned on in Acrobat so I know I'm good.

23:47There's one last check that you can do in Adobe Reader.

23:51I go to the properties for the document.

23:54And, it will usually open up right here, but there's a Fonts tab; a lot of people don't know about this.

23:58This is nice; it shows me every font that I've used in the PDF, and it also has this special…

24:05…keyword here, Embedded Subset.

24:07That means that my fonts are embedded.

24:10Once I see this for every font in the document, I know that it's safe to let this PDF out…

24:15…and go to, out to the public or out to other people in my organization.

24:20Those are some troubleshooting strategies and common problems, solutions for them. Jeremy?

24:25[Audience question] How did you get rid of the white space on the tile on the lower right one?

24:30Sure. His question was, How do I get rid of the white space here?

24:34I turned off the transparency that was there in the layer.

24:36[Audience comment] Okay.

24:37All right. Yeah, yeah.

24:38So, we're going to have a good question and answer session in the back and while we're doing that…

24:43…if you guys want to see something or one of these demos again, I'm going to leave all these PDFs…

24:46…open and we can go back during the Q&A session.

24:48All right. Jeremy?

24:50All right, thanks, Michael.

24:56All right. So that was a little bit, starting with exporting.

25:00So there's two types of exports we have in ArcMap and one is image exports or raster exports.

25:06This slide is basically telling you that image is raster, all right?

25:10Sort of confusing; in the industry we use varying terms to describe the same things, so…

25:14For instance, there's an Imagery Island which is where the raster team is; it's the same thing.

25:19So, we support several different formats, bitmaps and JPEGs, PNGs, TIFFs, and GIFs.

25:24The image size that you can export; everybody always asks, what's the largest TIFF I can create?

25:28Well, it's only limited by your system resources.

25:31Obviously, you're going to want to only output the data that you need, or the amount of data that you need…

25:37…for your particular application.

25:38So, you shouldn't always immediately crank up the quality or immediately crank up the dpi.

25:43In most cases, you can get by with less.

25:45But, in case you do, there's an extensive set of compression, color depth, and other options that are…

25:49…related to each format that you can use.

25:51All those are gone over in the help topic that Michael just mentioned, actually, Exporting your map.

25:56We've spent a lot of time documenting these, actually.

26:00So, we also have vector export formats.

26:04One of the categories of vector exports is the PostScript export formats.

26:09So this means encapsulated PostScript, or EPS, files; PDFs, which is the most common; and then Adobe Illustrator.

26:16Now these all share the same code, if you will, the shared PostScript export library, and they support things…

26:22…like TrueType and Type 1 font embedding, with the exception of Illustrator; I'll get to that in a minute.

26:27And then you should have consistent output across all the formats.

26:30They also have layer and group element support in all the formats, PDF and AI.

26:36So you should see the layers that are in your map in the PDF or AI export.

26:43Lastly, we also offer the option to change the color space of those colors that you've defined…

26:48…so you can actually convert this RGB stuff into CMYK stuff.

26:52That's a pretty common requirement if you're going to send this stuff to a service bureau or other printing agency.

26:59So, and that actually will even convert the RGB numbers that are in your master into CMYK…

27:03…so that's kind of useful.

27:06So, first off, on Adobe Illustrator, I told you I'd touch on it in a minute.

27:09It's a special kind of PostScript, and a lot of people go out to Illustrator.

27:14The problem is the Adobe Illustrator format hasn't been publicly specified for quite a few releases.

27:20The version that we export is actually around Adobe Illustrator 6; I think they're on 14 now.

27:27So a lot of things have changed.

27:29The thing to remember is that because we have this older version of Illustrator, we can't actually support font…

27:34…embedding in it, and there's going to be some compatibility issues.

27:36In fact, you'll get a message when you open an Adobe Illustrator export from ArcMap that says that text…

27:42…needs to be converted into a new format.

27:44They're using a whole new text engine, even.

27:46So, what do you use instead?

27:48Adobe actually recommends that you export to PDF and bring your PDF into Illustrator.

27:53That's, like, their recommendation.

27:57So, we touched on font embedding; here's a little bit more about it.

28:01Obviously, the problem is that the recipient of your files may not have the fonts; what do you do to get around it?

28:08You embed them.

28:13All right, so PDF, which is the most common thing that you guys are all using.

28:17It's not really PostScript, it's not a programming language like PostScript is, and the other thing…

28:21…to notice is it's not editable in a standard text editor, so a lot of people will crack open the EPS…

28:28It's not possible with a PDF file.

28:30…with some exceptions.

28:31It's very similar though, and it's pretty identical in functionality.

28:38One of the other questions we get is, What version of Acrobat corresponds to what PDF version?

28:43So here's a little table that goes over that.

28:46An interesting thing to note is that between 9 and 10 there was no change in the Adobe Acrobat version…

28:53…Acrobat, excuse me, PDF file version.

28:56They did add some extension levels, one of which is not finalized yet, so 3 and 5, I think…

29:01…are the two extension levels that add additional functionality.

29:04But the core part of the PDF file, what's guaranteed to work in any reader that supports that format…

29:11…is the PDF version 1.7 which is actually an ISO standard.

29:17ArcGIS 9.3 and later exports to PDF 1.6, and we preserve the layers that are in the map.

29:23Just like your ArcMap display you'll see the same layer names and the same data frame names in your PDF…

29:31So, here's the reasons why that might not occur.

29:35They're all contained in the help if you have 9.3 or later.

29:39If you are running an older version of ArcGIS, 9.2 or earlier, or actually 9.2 is the first version that supported layers…

29:45…then this KB article is what you need to look at to try and figure that out.

29:49That's number 30882.

29:51How many of you guys are using 10?

29:55A good portion of the room.

29:56So, what about 9.3.1, 9.3? All right. Previous to 9.3? Oh, one or two guys over there. Okay.

30:04So, if you're running 9.2 then you'll want to look at this KB article.

30:14All right, some other vector export formats that are available, enhanced metafile, this is like the…

30:18…native Windows drawing instruction format.

30:23It can be used to insert things into things like Office.

30:26The sort of problems with it include it doesn't support font embedding, so you'll have to have the fonts on the machine.

30:31If you're going to give your PowerPoint deck to somebody else, they would have to have the Esri fonts installed.

30:36Raster is not compressed, so if you have raster content it's going to be quite large in that EMF, which means…

30:41…you're going to bloat the PowerPoint that you're inserting into, or the Word document that you're inserting to.

30:47But, it is something that our tech support department uses quite often for troubleshooting.

30:51The reason is, every export that you do in ArcMap starts out as an EMF.

30:57And then we run it through our converters to convert it into PDF or EPS, or even rasterize it and turn it into a PNG.

31:06So, the first question tech support will ask when you're having an issue where you don't get a successful export…

31:10…like where your PDF is missing some things, or that sort of thing, is going to be take it to…

31:14…an EMF at the same resolution and then view that and make sure all the content is still there.

31:18That way you can determine whether it's a problem with the drawing of it in ArcMap…

31:22…or the conversion of it into your export formats.

31:29Also, scalable vector graphics.

31:32This is not well supported by browsers and other clients but most graphic art software will read it.

31:39I think Firefox actually reads it natively and I think Chrome does, as well.

31:44Some people in the past had used SVG as a starter point for things like interactive maps or animated maps.

31:51The SVG that you get from ArcMap is going to be a static SVG, which you can use in other applications to do that.

32:00All right. So, let's dive a little bit more into the advanced PDF features since that's the format that…

32:05…most of you guys are concerned with.

32:08So, one thing you note here, the Advanced tab on the Export Map dialog allows you to turn on or off…

32:15…that layer inclusion that I mentioned earlier.

32:17So, for instance, if you don't want your map to be…to have layers, if you don't want your users to be able to…

32:22… turn on and off layers, then you can turn it off here.

32:25You can also include feature attributes, things from your geodatabase in your PDF.

32:31Sounds like a great feature.

32:32Unfortunately, if you do it for too many layers it can actually really slow down the reading of the PDF in Adobe Reader.

32:40It's actually a limitation of the way that this stuff is stored in the PDF file format.

32:44So what we recommend is that you don't include attribute information for all of your layers, only for some.

32:53How does that occur? We'll get to that in a minute.

32:54So, the other thing to note here is there's a check box that it's on by default to include…

32:58…the georeferencing information in the PDF.

33:02This means that when they open the PDF they'll actually be able to get coordinate readouts…

33:05…go to a certain x,y coordinate, that sort of thing, which is kind of cool.

33:10So, remember I mentioned that the ArcMap document structure is replicated in the PDF?

33:17There are some exceptions and there's some peculiarities that you need to know about.

33:21For instance, your data frames in your map, their order in the PDF is actually determined by their drawing order.

33:29You know, in Map Elements you can send to back or send to front, that sort of thing.

33:33That's what determines how they show up in the PDF, not the order that they show up in the TOC.

33:39It's a little bit confusing.

33:41So, other things to notice.

33:42Remember we were mentioning rasterization, layers with rasterizing, layers [unintelligible] so they'll just…

33:46…turn into something called Image.

33:48So if you're seeing that, that's why it occurs so…

33:51This is all in the help so I'm not going to go over all these bullet points.

33:55So we talked about feature attributes and how you should only export certain feature attributes to your map.

34:01Basically, the things that are most important to convey to your users or the things you want them to be able…

34:04…to interrogate and click on and identify in your map.

34:08So, how do I do that?

34:09So, the Fields tab in Layer Properties allows you to turn on and off fields visibility in the table view…

34:16…and it also does the same thing for your exports.

34:20So, either from the table view or from the Layer Properties Fields tab, you can turn on or off the layers…

34:25…that you…the fields for these layers that you want.

34:28So, if I don't want their attributes to show up in the map at all, when I export it to PDF I just turn off all the fields.

34:34So it's pretty simple.

34:35So, once you've done that, then you can use what's called the Object Data tool in Adobe Reader.

34:41It's actually supported in version 7 and higher, so that's kind of nice; even older versions of Acrobat…

34:47…can do it, unlike the georeferencing stuff.

34:49So, you use the Object Data tool, you can click on the map and then you'll see highlighting for all the elements…

34:53…that are actually identifiable.

34:55When you click on them you will actually get a readout of the fields that you selected as visible in the table.

35:05Okay, so here's kind of a rundown of what's available in different versions of the Acrobat and Reader products.

35:11These are specific to Reader 9 and like Acrobat 9; it's obviously since come out with…

35:17…Acrobat 10 and Reader 10.

35:19Its capabilities are pretty similar, with some minor differences that I'm going to mention at the end.

35:23So, in Reader 9, a PDF that's exported out of ArcMap, if you enable these features - they're enabled by default…

35:29…you can get coordinate readout, and you can do find x,y; you just type in a lat-long and actually…

35:34…go to that coordinate in all of the data frames that are in your map.

35:41In Acrobat 9 Standard or Pro, you can also do the first two things and can also do…

35:47…what's called measurement and markup.

35:49You can use a measurement tool to get a geodetic measurement of length, area, and perimeter of any of the…

35:55You just draw it on the map and it will actually be projected into the coordinate system…

36:00…because the Esri projection engine is actually included with Adobe Acrobat…

36:04…and Adobe Reader now, as of version 9.

36:07So, if you have Acrobat 9 Pro Extended, then you get these above features plus you can also do sort of a mini GIS.

36:14You can add JPEG 2000 files, GeoTIFFs, and shapefiles.

36:18I think you can even georeference raster if it's not already georeferenced.

36:22So some primitive GIS authoring capabilities are included if you have these advanced versions.

36:28Pro and Extended can also do something called reader enablement.

36:31What that means, the standard PDF that I get out of ArcMap I can do coordinate readout and find x,y only.

36:36If you open that in Acrobat Pro or Acrobat Pro Extended, you can save it as a enabled, Reader-enabled document…

36:44…and what that lets users do is use the measurement and markup tools - say I can add a comment or draw something…

36:51…on the map, or even do a measurement or a dimension.

36:54And then I can save it even from Adobe Reader, and send it back to you with this redlining…

36:59…or this commenting in it.

37:01So, it can be useful for some minor interactive, I want to send it out, you guys mark it up…

37:07…send it back to me and tell me what I need to change.

37:09It's kinda useful.

37:10So, the difference I was telling you in Adobe Reader and Acrobat at 10, at 10 they got rid of the…

37:16…Pro Extended version, it's just Pro, but you can still do the same things that you can do with Pro Extended in Pro.

37:24So, just if you go in at 10 versus 9 - we're kind of in between right now, some of our machines have 9…

37:29…some of them have 10.

37:34So I think somebody asked about, and we always get asked about it, is the size of a PDF.

37:39People always want a smaller PDF because it's the interchange format.

37:42You want to be able to e-mail it to somebody's Hotmail account and of course if it's 50 megs it's not going to work.

37:48So, at ArcGIS 10 we actually added an additional, a couple new compression options that should help…

37:53…to really reduce the size of the PDF.

37:57So, first off, the default is adaptive compression.

38:01What that means is that the images in the PDF are compressed, whether they're deflate or JPEG compression…

38:06…which is much more efficient than the previous default, which was deflate.

38:11You can also explicitly specify JPEG compression.

38:14Now, the reason that we offer these two separately is because the JPEG compression is a lossy compression.

38:20So what our adaptive, of course, compression tries to do is determine whether or not it's a really small…

38:26…very discrete thing like a picture marker, or if it's actually a continuous raster.

38:31But you can force it to use JPEG compression for all of that using the JPEG compression option.

38:37There's also a slider that controls the quality of the JPEG compression, and that will affect the quality…

38:42…and the file size disparately, right?

38:45The left is smallest file size but lowest quality, to the right is largest file size but best quality, so…

38:52It's always a compromise.

38:53We set it at 80, which is usually a pretty good, pretty good compromise.

38:59So with our…we did some testing of it, and depending on what's in your map, of course…

39:04…you can get up to an 80 percent reduction in size versus ArcGIS 9.3.1 or 9.3.

39:10We're going to hold questions for the end.

39:12[Inaudible audience question]

39:15That is the, if you go to File > Export Map…

39:18You'll see that.

39:19Yeah, it's on the Options menu.

39:20Michael's going to do a demo in a minute.

39:21You'll see this exactly.

39:25Less than a minute, actually. Here's Mike.

39:27More like two seconds.

39:29All right. So, here we are back in ArcMap, and Jeremy just gave you a lot of information about exporting to PDF.

39:39We talked a lot about those interactive features and we talked about PDF file size and how to make the file sizes smaller.

39:46I'm going to show you exactly how you can do that.

39:51So, I'll give you a tour of the map here.

39:54You'll see we've got, again, two data frames, a little bit like we had before, an overlapping data frame here…

40:01…showing Mount Rainier National Park here in the state of Washington.

40:06Then, the layer, the other data frame showing the entire state.

40:10We've got some notes in here, like maybe we've got a lost hiker and this is a search and rescue map.

40:16We've got some map notes on here and a lot of layers.

40:20And I've done something interesting in the large map.

40:23I've added both a land-cover image, a raster, and a plain background.

40:28Let's turn the plain background off. Okay.

40:31So that's neat, but why would I put both of those layers in a map?

40:34Well, we preserve the PDF layers.

40:36We preserve the ArcMap layers in the PDF, so the people with Adobe Reader can turn them on and off.

40:42So, all of the layers I see here on my map are going to show up in the PDF if they turn on the layers control.

40:48So let's go to the Export dialog.

40:52Now one of the things I've done in this export is, just like we heard in the question, the image compression.

40:58I set it to Deflate.

41:00Now, Deflate was the default option in version 9.3.1 and earlier.

41:05New in 10 are the JPEG and adaptive compression.

41:09Adaptive, actually usually, typically uses JPEG inside.

41:12Once I select this, I can actually get a JPEG quality slider and I can decide how much detail…

41:19…detail versus file size, you're always balancing the two.

41:22More detail, you're going to get a larger file.

41:25But I can control that with the JPEG quality setting.

41:27I can also control file size with both the resolution and output image quality settings.

41:34Now output image quality in this export would be best.

41:40I can change that image compression - let's just say it was deflate.

41:43The export takes about 30 seconds.

41:45To save everybody some time, I've done this export, and let's take a look at that.

41:51I'm going to right-click, open in Adobe Reader, and viewing this in Windows Explorer…

41:59…let's just note that file size is about 4.1 megabytes.

42:03Four thousand one hundred kilobytes.

42:04Okay, so here we are in Adobe Reader.

42:07This is the map export.

42:09Now how do I…I mentioned we preserve those layers; how do I turn them on?

42:13Well, there's a layers view.

42:15If your PDF has layers inside you'll see these little squares over on the left.

42:19So once I do that, I've actually got control.

42:22This looks like the ArcMap table of contents.

42:23I've got control over all the layers in the map.

42:26I can even turn an entire map on or off using these options.

42:32Now, we could improve on this a bit.

42:35Some of these park names - I'm sorry. Some of these layer names don't really match…

42:41…something I would want my users or my customers to see.

42:44New data frame, that's sort of an ArcMap word, right?

42:47That's what we put in by default.

42:48Layers. That's the same thing.

42:50These are my data frame names coming across in PDF layers.

42:54I should probably rename these in order to improve this map.

42:58Park DTL is another good example.

43:00That was sort of my shapefile or my coverage dataset name.

43:04It's the park boundary here on the lower right. I should probably rename that.

43:08And I've got this weird thing, Default.

43:10I'm going to show you how to fix all those problems.

43:12Now the last thing, and Jeremy went over this very quickly on some of those slides.

43:17We talked about rasterization earlier, right, where you've got transparency or you've got picture symbology.

43:22Things turn to raster on output.

43:25What that means - remember that super cool thing I wanted to achieve with this map, having that plain background.

43:30And then you could turn it off and see the land-cover image behind it.

43:35Well, where's my plain background layer that I was working with?

43:38It's gone. In fact, I'm sorry, it's in here.

43:42In fact, it's been blended in together with the hillshade, and the reason is, that plain background?

43:49I had 5 percent transparency set on it.

43:51So, when you've got a layer, when you're expecting to see a layer in your map, but all you see is this image thing…

43:57…run that script, look for rasterizing layers.

44:01Because rasterizing layers and all the layers below them get combined into this little image layer…

44:06…at the bottom of each data frame, all right?

44:10So, let's go back into ArcMap and fix those problems.

44:17Okay, the first thing I mentioned is the layer names and the data frame names weren't very helpful.

44:21So, I'll change the layers to Washington, all right?

44:33Change this detail map in the lower right to detail map.

44:38And there's that Park DTL, sounded like a dataset name really; that should be Park Boundary.

44:45Another thing to note here, obviously, is the order of the two data frames is different, right?

44:49That's because it's the drawing order that determines how it goes into the PDF, not how it is in ArcMap's TOC.

44:55So, before, remember the inset map was actually on top.

45:02So, I've renamed the park boundary layer, and I needed to address one more problem, that was actually the plain background.

45:12It had that…remember, it blended in together with land-cover image.

45:15I didn't see plain background in my PDF layers.

45:18That's because it's a rasterizing layer.

45:20Now, I can run that little Python script, copy, paste it to find it out.

45:23But I actually know the problem.

45:25So I'm just going to turn the transparency off, okay?

45:29And then the last strange thing, I'll go back to Acrobat just very quickly, was this default thing.

45:37Actually, it turns out that Default are these notes in the lower right.

45:43I'd like to give them a more meaningful name, but I don't have anything called Default here.

45:46What is that? These are actually the map annotation groups.

45:52It's this thing, Default. And it's picking up the name from this.

45:56Now, we always have one, this catches all the graphics that I use with the Drawing toolbar.

46:02We always have one, named Default. You cannot rename that.

46:05So our strategy here is going to be to create a new annotation group or a new layer.

46:10This is a layer for all my graphics.

46:12I'm going to just call it Map Notes, and I'll click OK.

46:15So now I've got two groups; how do I move stuff from one group to the other?

46:19I'd like to move these notes over.

46:22Let me focus this data frame, and I'll select all three of my notes here.

46:29I'm going to cut and then I select…my paste target is chosen through the Draw toolbar.

46:38So you have to go to a couple of different places, the Data Frame Properties and the Draw toolbar.

46:42There's Map Notes that we just created; I'll select it, Ctrl+V to paste, make sure everything's in the right place…

46:50…and we should be good to go.

46:51So we fixed our layer names, we fixed that transparency problem, and we've put the map notes…

46:57…in a more appropriately named layer.

47:00Now, over to the Export Map dialog.

47:03Remember how big our PDF was? It was 4.1 megabytes.

47:07Let's fix some of those problems.

47:09Output image quality, that's the level of detail that the raster is.

47:13Well, I don't really need full quality just for my land-cover images; those are the only meaningful rasters here.

47:18So I'll knock that down into the position in between Normal and Best.

47:21Keep my resolution at 150 dpi.

47:24And now I can use that new adaptive compression.

47:27Adaptive is normally on by default, so you should be taking advantage of that.

47:32If you're getting insanely huge PDF exports, even before version 10, check to make sure that…

47:37…Image Compression is not set to None.

47:40It should really never be set to None, and we see people set it to None by accident all the time.

47:48So, just make sure you have it set to Deflate in version 9.3 or 9.3.1, or Adaptive in version 10.

47:54So, again in the interest of time, I just want to note that PDF layers, you can choose to have, to suppress…

48:00…export of all layers if you just don't want anybody seeing your map layers or you don't want the users to have that control.

48:06Or you can actually turn on layers and attributes.

48:10So, attributes will pull all of the columns out for every layer in the map.

48:15You have to be very careful with that option, because you can get a big PDF.

48:18But I've done this export. It's here in the After folder.

48:22Let's take a look at those file sizes.

48:25Here's that 4.1, when we were doing the best output image quality and using deflate compression.

48:30Look what it's come down to.

48:32It's the same map, but by using adaptive compression and by changing the output image quality to the position…

48:39…between Normal and Best, I've actually made it one-third of the file size, even less.

48:44So that's a really great strategy.

48:47It's one of the best things you can do to make smaller PDF files.

48:52Take a look at that in Acrobat - I mean, Adobe Reader.

48:55Let's make sure we fixed all those problems.

48:58Okay, so in the layers here, sure enough, we've got our appropriately named data frames, the Detail Map and Washington.

49:08Inside the Washington map, let's look for plain background.

49:11See if we can turn that off, to see the land-cover image behind.

49:16Sure enough, there it is. It's no longer blended in with the image.

49:19The image layer just refers to the landscape image that's behind there now.

49:23So by turning the transparency off we've fixed that problem, and then we had the funny little name…

49:28…for both the park boundary; great, okay, that's fixed.

49:32And our map notes. Remember that was the angle brackets default name.

49:36We renamed that annotation group, so now, we've got control over the map notes with a meaningful name.

49:44Now outside of the layers there's a couple of other interactive things I can do in Adobe Acrobat.

49:49Jeremy mentioned that you can do coordinate lookup and see coordinates.

49:53We do that with the Geospatial Location tool.

49:58So, there's a toolbar called the Analysis toolbar in Adobe Reader 9; that's where you get this analysis.

50:03In Acrobat, in Adobe Reader 10, it's available through a menu item, so it's no longer on the toolbar.

50:09But if you look in the lower right you see I'm getting a coordinate readout.

50:13And, if I'd like to look up a coordinate, I right-click and Find a Location.

50:17These are always available for any map that's got the coordinates inside, so everything from ArcMap actually has that.

50:23Let's type in 47 03 59, and I'm not sure how good my precision is here, so it may not give us the exact match…

50:34…but it'll get us close.

50:37All right. So it's taken us to the first location.

50:39It's actually found two hits because we've got those two data frames.

50:42Both of them have this coordinate inside.

50:45So there we go.

50:47We're using the Location Search tool in Reader to find locations in the PDF.

50:55This is available in the free Reader product and every PDF that comes from ArcMap.

50:59So it's pretty neat functionality.

51:01Jeremy?

51:05All right. Thanks, Michael.

51:08So let's switch gears a little bit and talk about batch output.

51:12So what does this mean? It means map books.

51:15New at 10, we have a feature called Data Driven Pages.

51:18And what this allows you to do is basically create a grid or a series of features…

51:26…which are the extents of your map book pages.

51:30So you can do a traditional grid, or you can also do a strip map based on a linear feature.

51:36And, you can basically index it even on, so for instance, parcels or states; so, irregularly shaped features.

51:46The other nice thing that's included with Data Driven Pages is something called dynamic elements.

51:51And this means that you can have the same layout setup and have different features that…

51:56…you're looking at or different index grids.

51:58And then, certain properties such as the map title, scale bar, scale text, and then even your north arrow…

52:07…will all change based on which page you're on.

52:10Michael's going to demo this in just a moment.

52:12Data Driven Pages allows you to take this map book and either export it to individual files…

52:17…one for each page, or a group together, or an appended PDF.

52:22So a single PDF has multiple pages in it, which is very nice.

52:27So, what's one step beyond that? This thing called map scripting.

52:30So map scripting is done with arcpy.mapping.

52:34It's a site package that we include with ArcGIS 10.

52:37What that allows you to do is do some additional map automation; things like finding a layer…

52:43…with a broken data source and replacing it with a fixed data source.

52:47Or, for instance, if you know you need to change the symbology of a layer that's named Parcels in every map…

52:53…that you have, rip through a directory of MXDs, find that layer, change the symbol in each case.

52:59So it's really nice for those kind of batch update things that you want to do, or any other kind of automated…

53:04…map production or map editing scenarios.

53:06So, excuse me. The other thing, and the reason it's in this session, is the fact that you can also automate…

53:13…exporting and printing of map documents.

53:15So, this is very nice when you want to be able to create a really nicely structured map book or atlas that…

53:22…contains things like, for instance, a title page or an appendix at the end that you may not have created in ArcMap.

53:32Some of the other things that you can do, one of the real nice use cases is, what if I want to create…

53:36…a map book from multiple MXDs?

53:39I want to be able to create a map book that contains both my, for instance, a strip map for a river feature…

53:44…that's in my county and all the parcels in the county.

53:48You can do that with this.

53:51And the other really cool thing, the thing that people have been asking for, is actually the ability to export…

53:57…a PDF from an ArcGIS Server service.

54:02So, before, basically what you could do from ArcGIS Server was you'd get a picture…

54:05…something that looks like an export from a web page.

54:08This ArcPy actually allows you to automate, basically create a geoprocessing tool that will create…

54:14…a true vector PDF from your map features, just like it was in ArcMap, and give that to your users of your map service.

54:22So, Michael's actually going to demo this.

54:24One thing to note about ArcPy mapping - because it is a scripting solution, it's not like an SDK…

54:28…it's not like you have to install an SDK, you don't have a Visual Studio or any IDE installed - it's all in ArcMap.

54:34You don't actually have to install anything.

54:36The help and all the API documentation is included in the ArcGIS Desktop Help.

54:45Now we're going to see a demo of all these features I just told you about.

54:48Okay. So we're back in ArcMap, and I'm in data view now.

54:54And this is a map I downloaded from the Esri Water Resources Resource Center, and it's a map of Fort Pierce, Florida…

55:02…and the blue lines that you see on this map are actually the water distribution network for the city.

55:07And so I'd like to actually make a map book that has map pages covering every place that I have water mains.

55:16So how can I do that in ArcGIS 10?

55:18This is all new in ArcGIS 10; it's some functionality that we call Data Driven Pages, and I use it together…

55:24…with a couple of other options on the layout, like dynamic text, to build a map book.

55:28So the starting point is to actually make a grid; I need to make some new geographic data…

55:33…that covers the area of the water mains.

55:36I do that with a geoprocessing tool.

55:39It's there in the Cartography toolbox > Data-Driven Pages > Toolset > Grid Index Features.

55:46So let's open up the tool; we'll just see how it works.

55:51It allows me to actually, of course, define an output feature class, because I'm going to create a feature class here…

55:59…and then use some input features.

56:02So I can actually go put in the water mains there, and it's going to give me one square for every place…

56:09…that there's a square in a grid and remove things that don't have water mains underneath them.

56:15So, it does a sort of a spatial location and overlay to make sure that I'm not getting map book pages…

56:23…that would be blank or that don't have water mains.

56:25This is a great example because I don't want map book pages over here in the water.

56:31It wouldn't be useful for me.

56:33So, there is actually a tutorial built into the help system.

56:37I'm going to show you where that is.

56:40So, I'm not going to run the tool; I've already got it; I'm turned on here.

56:44The tutorial I mentioned, just search for map books in the help.

56:48Just like I searched for rasterization before, I’m going to search for map books.

56:53So, Exporting your map book, Starting the map book; Starting the map book is good.

56:57I want to show you over in the table of contents, there's this whole series of things; Creating a map book.

57:02If you're interested in this functionality, read this.

57:04Just walk through this little tutorial.

57:06It takes about a half hour.

57:08It tells you how to do everything that you'll see me do today.

57:11Running the tool, everything else. So it's all in there.

57:15Okay. So I've run the tool and you see I've got some nicely fitted map book pages here.

57:22So let's start, turning on Data Driven Pages.

57:26I'm going to go over to the layout.

57:29You see I've got a nice little map layout here.

57:32I've turned on the Data Driven Pages toolbar.

57:35It's right here.

57:37Now, I can turn on Data Driven Pages by going to the properties and I have this little setup dialog.

57:43I enable Data Driven Pages, I pick my data frame, my index grid, and then I have some other options…

57:50…over here on Extent that describes, that defines how zoomed in I'll be on each page.

57:56So I'll just do 100 percent, click OK, and now my layout has become sort of a multipage layout.

58:02I can use these Next buttons to move along.

58:06There's a couple of other changes I need to make.

58:08I've got this other data frame down here.

58:10I want to turn on my extent indicator; that's like the little locator rectangle.

58:16And then I'd like something for page numbers.

58:18Jeremy mentioned dynamic text.

58:20So Dynamic Text is available right here, page text.

58:25Let me do driven-data page number.

58:31And it dropped it. Where did it put that?

58:41There we go. It's really tiny; there's the first one.

58:46So, you can see we're on page 3; and if I go page to page in the map book, you'll see that that updates, right along with it.

58:56So the Extent indicator is following along, the page number is following along.

58:59Dynamic text is a really, really neat addition to the system.

59:03You saw there's Data Driven Page related ones; there's also a lot of other ones.

59:07I can put the current date so it's like a time stamp on every print I do.

59:11I don't have to be using Data Driven Pages to take advantage of this.

59:14My favorite, and the one that users had asked us for for the longest time is document path.

59:19So, this is the path to my MXD file.

59:22If I move the MXD file and reopen it in ArcMap, it's going to change this path for me.

59:28So people have been asking for that for like seven years and we finally added it in ArcGIS 10.

59:35So how do I export this out to PDF?

59:37I do that through the regular Export Map dialog.

59:41You've seen a lot of these tabs before in the other demonstrations; what you didn't see was the Pages tab.

59:46Now, to see this you have to have Data Driven Pages turned on.

59:49You have to be in layout view.

59:52And then once I do that, I've got all these options.

59:54So I could export this current page, all pages, or just a page range, like pages 4 to 7.

1:00:03So, I can just have four pages of the map book.

1:00:06I'm actually going to open up something that I've already exported, so you can see what that looks like.

1:00:13Okay. So here is our map book.

1:00:15You can see I've got those pages 4 through 7 - page 4, page 5, page 6, page 7.

1:00:21The Extent indicator's following along, and it's got the file path stuff that we added in and it's pretty nice.

1:00:31But, what about making something that's got a title page, or maybe some index information at the front?

1:00:36This is nice, but it's really just the map pages.

1:00:38I want to make a map book.

1:00:39Well, you can do that with ArcPy mapping.

1:00:42And those map book tutorials that I showed you tell you how to do this.

1:00:45It's got a little sample Python script; it does involve Python.

1:00:48You don't have to come up with it on your own, but you need to modify the one that's there.

1:00:52So you can copy/paste that, run that in the Python window, and do an export.

1:00:56When you do that - you can get an example here - it's the same map book that we had for…

1:01:01…Fort Pierce, Florida, but what's the big difference?

1:01:05We've got this title page.

1:01:06That's a second MXD that I authored that shows my index grid; I'm labeling the page numbers.

1:01:12And so we've got a nice addition.

1:01:13I could put other information here at the end by using this ArcPy mapping functionality to merge in other…

1:01:19…PDF documents, even stuff that came out of Microsoft Word.

1:01:23I mentioned ArcPy mapping; that's a Python API for scripting map export and building map books…

1:01:30…and doing some other things with MXDs.

1:01:32One other cool thing about ArcPy mapping is it lets you work with PDF export on ArcGIS Server.

1:01:43How many people use ArcGIS Server in your organization?

1:01:46Great. Okay. Printing has always been kind of a weak area.

1:01:50In the plenary on Monday you saw some examples of what's coming in 10.1 for printing…

1:01:54…but you can do that in version 10 with ArcPy mapping and a script.

1:02:00So, Jeremy's slide that you saw had a little hyperlink on there - I think it was esriurl.com/printing1 or printing2.

1:02:06ucprinting2.

1:02:07ucprinting2.

1:02:09That takes you to a really great online tutorial on the ArcGIS Server blog…

1:02:16…that shows you how to use ArcPy mapping to export PDFs from the server.

1:02:23That link on the slides will take you right here.

1:02:25You can click on these; they've actually got a sample server running, so you can work with it and get PDFs back from it.

1:02:31And it's got the full source code.

1:02:32I've installed that here on my laptop, actually.

1:02:35So I've got a map of Hamilton County, Indiana, and I've panned to a certain extent, and I can make a custom map.

1:02:43I can put in a custom title, say, Workshop Map.

1:02:48I can pick an MXD.

1:02:49We've got four MXDs sitting there on the server; each of them have a layout.

1:02:53Let's go ahead and set this one to landscape.

1:02:57And we can set a map scale.

1:02:59Let's just do a map of 1 to 3,000.

1:03:02Create the PDF.

1:03:04So this is using an ArcPy mapping script to actually go out and create a PDF…

1:03:10…and return it to the web browser for viewing.

1:03:14If you want to see the script, it's a little bit intimidating.

1:03:17Don't worry; you don't have to understand really anything that's in it.

1:03:21Just follow the steps in the demonstration instructions and it tells you how to do all of this.

1:03:27So, the key piece here is actually that it's doing, arcpy.mappingexporttopdf.

1:03:33That's one line of Python that exports a PDF.

1:03:41While this is working, Jeremy, I'm going to let you go back because you've got a couple more things to cover, right?

1:03:44Sure.

1:03:45All right.

1:03:48All right. So, just to skip back to export, here's some troubleshooting strategies.

1:03:53So, we talked about embedding - actually, we talked a lot about embedding - but some people might have…

1:03:58…embedding checked on and still see that fonts are not coming out in their map.

1:04:02Why is that?

1:04:03Fonts actually have licensing information in them that specifies whether or not you can embed them…

1:04:08…in a document that you've created.

1:04:11So, how do I know this?

1:04:13Well, in Microsoft's typology website - typography website - they actually have a TrueType properties extension.

1:04:20It's just a little thing you install, and when you go to your Windows fonts directory, you can right-click…

1:04:26…on a specific font, and on the properties you can see whether or not it's embeddable.

1:04:30We have to honor this in our exports, which is why you might see a tiny little message on the status bar…

1:04:34…that says, "Font cannot be embedded," but it's going to be there for a few seconds so it's not really easy to see.

1:04:39So that's why you might have a font that is not embedded, even though you've checked font embedding.

1:04:45It's a very useful tool.

1:04:47So other things. File size.

1:04:48So we talked about file size being too large.

1:04:50Michael gave a demo of this.

1:04:51Try using the new compression options.

1:04:53Try lowering the output image quality.

1:04:56Try lowering the output resolution; that sort of thing.

1:04:59And the other thing we talked about was rasterization; so, how can I get around that?

1:05:02Or, how can I cheat the system, per se?

1:05:04So things that have picture symbols, picture markers, picture fills, there's an option on the Export Formats tab…

1:05:10…called Vectorize Bitmap Marker and Fill Symbols.

1:05:13If you do that, that will actually turn those raster things into vector drawing.

1:05:19Really works best for things like the one-bit picture fills like glacier, the sort of wavy, blue lines…

1:05:26…works best for those sorts of things, but it is available as an option if you absolutely have to use a picture fill.

1:05:32Another thing to note is if you use maps that have a large number of character marker symbols and…

1:05:36…you use the Convert Marker Symbols to Polygon option, this is a way of getting around font embedding as well.

1:05:42It turns those marker symbols into vector drawings.

1:05:46You can use that, but if you do it with a map that has a large number of character marker symbols…

1:05:51…you may find that your output gets very large very quickly, so it's not recommended.

1:05:55Instead of doing that, you just embed the fonts, if it's possible.

1:06:02Lastly, not a lot of people know about this, but there's a separate executable in your ArcGIS…

1:06:07…installation directory in the Utilities folder.

1:06:10So C:\Program Files\ArcGIS Desktop 10\Utilities.

1:06:17In that utility there is a tab specifically dedicated to printing and exporting, and one of the things…

1:06:23…that can really help - how many people have gotten the "cannot map metafile"?

1:06:28There. Really? Three? Sweet. We're doing our job.

1:06:33So, we've changed this setting to something a little more reasonable, we've done some other stuff to sort of…

1:06:37…reduce the frequency of that error.

1:06:40And one of the things, if you had a version previous to 10 and you want to try this out, go to this Print and…

1:06:45…Export tab on our ArcMap Advanced Settings and change the metafile size limit to something lower; we recommend 32.

1:06:54What this is, is, remember I told you all your exports start as an EMF and then they get converted…

1:06:58…into whatever you want PDF'ed.

1:07:00The problem is, the metafile format has some interesting limitations.

1:07:04Once they get to a certain size they start to get corrupt, they start to not work correctly.

1:07:08So we're doing some special logic to actually split up that EMF, all those drawing instructions…

1:07:14…into smaller files, so they don't get buggy.

1:07:16Then we reconstruct that, you know, when we read them back and convert them into PDF or whatever.

1:07:21So this setting affects the point at which they split.

1:07:25If you split them smaller, it's more likely they'd be less buggy of an EMF, the more likely to work successfully.

1:07:31There are other settings that are included there, but there's a document, there's a PDF document in that folder…

1:07:35…that actually explains all of the settings, including other stuff besides printing and exporting.

1:07:38You can take a look at that if you want.

Copyright 2013 Esri
Auto Scroll (on)Enable or disable the automatic scrolling of the transcript text when the video is playing. You can save this option if you login

Printing and Exporting from ArcMap

Michael Grossman and Jeremy Wright cover the output capabilities of ArcMap and provide best practices and troubleshooting strategies for exporting and printing.

  • Recorded: Jul 13th, 2011
  • Runtime: 1:07:43
  • Views: 102145
  • Published: Sep 6th, 2011
  • Night Mode (Off)Automatically dim the web site while the video is playing. A few seconds after you start watching the video and stop moving your mouse, your screen will dim. You can auto save this option if you login.
  • HTML5 Video (Off) Play videos using HTML5 Video instead of flash. A modern web browser is required to view videos using HTML5.
Download VideoDownload this video to your computer.
<Embed>Customize the colors and use the HTML code to include this video on your own website
480x270
720x405
960x540
Custom
Width:
Height:
Start From:
Player Color:

Right-click on these links to download and save this video.

Comments 

Be the first to post a comment
To post a comment, you'll need to login.
If you don't have an Esri Global Login ID, please register here.