Lecture 5 data driven pages


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Lecture 5 data driven pages

  1. 1. Desktop Associate Exam Prep Section 5: Data Driven Pages5-1Copyright ©2012, eGIS Associates, Inc.
  2. 2. Desktop Associate Exam Prep Section 5: Data Driven Pages5-2Copyright ©2012, eGIS Associates, Inc.Esri has done a lot of work to improve the editing workflow in ArcGIS 10. They havefocused on streamlining the process and reducing the chance to introduce errors. In thislesson, we will examine the changes that have been made to the Editor Toolbar, introduceFeature Templates and learn how they make editing easier, review changes to the newsnapping environment and look at how editing attributes has changed.
  3. 3. Desktop Associate Exam Prep Section 5: Data Driven Pages5-3Copyright ©2012, eGIS Associates, Inc.Data Driven Pages provide an automated method to produce map books, atlas ormap series from a single map document. The pages are based on an index grid.This grid can be either regular such as a Tax Map index or it can be irregular suchas county boundaries. Data Driven Page functionality is available at all ArcGISDesktop Levels, ArcView, ArcEditor or ArcInfo.
  4. 4. Desktop Associate Exam Prep Section 5: Data Driven Pages5-4Copyright ©2012, eGIS Associates, Inc.Creating data driven pages requires some set-up and forethought. As with any mapthe first step is to insert and symbolize the various layers you need in the map.Next you need to determine what you want to use as an index. If you don’t havean index layer you need to create one. Once you have your index, you need tocreate your layout. This will help you determine the scale of the map pages youwill be creating which is the next step. The scale can be fixed for all map pages ordriven by an attribute field in the index feature class or random based on a best fitfor the layout.
  5. 5. Desktop Associate Exam Prep Section 5: Data Driven Pages5-5Copyright ©2012, eGIS Associates, Inc.If you don’t already have a grid created, there are two tools in ArcToolbox whichwill create one for you. If you look in the Cartographic Toolbox and the DataDriven Pages toolset, you will find the Grid Index Features and Strip Map IndexFeatures tools as well as other tools that can be used to generate data driven pages.The Grid Index Features tool creates a polygon Feature Class or Shapefile in aregular grid that can be used as an index to specify pages for a map book usingData Driven Pages. You also have the option of creating a grid that only includespolygon features that intersect another feature layer. This allows you to excludemaps that may not be important for the map book you are creating.The Strip Map Index Features tool creates a polygon Feature Class or Shapefilethat follows a particular linear feature. The resulting index features containattributes that can be used to rotate and orient the map on the page and determinewhich index features, or pages, are next to the current page (to the left and right orto the top and bottom).
  6. 6. Desktop Associate Exam Prep Section 5: Data Driven Pages5-6Copyright ©2012, eGIS Associates, Inc.The first step to enabling Data Driven Pages is to locate and turn on the DataDriven Pages toolbar. This toolbar can be turned on like any other toolbar.Located on the far left end of the toolbar is the Setup button. This allows users toenable data driven pages and define specific parameters that are required. We willlook at those next. The second button is the refresh button. You will need torefresh the data driven pages anytime new grid polygons are added or the scalehas changed. The middle section contains page navigation tools from movingfrom one page to another. The last menu, Page Text, allows users to addcommonly used Dynamic Text to your layout.
  7. 7. Desktop Associate Exam Prep Section 5: Data Driven Pages5-7Copyright ©2012, eGIS Associates, Inc.To enable data driven pages you need to click on the Setup button located on theData Driven Pages toolbar. This will open the Setup Data Driven Pages dialog boxwhere you will set the various parameters needed for data driven pages to work.1. Check the Enable Data Driven Pages box by clicking on it.2. Choose the data frame you plan to use as the main map view and that containsyour index grid layer.3. Choose your index grid layer. As you can see in the example above we havechosen Land Districts.4. Choose the Name Field you want to use for naming all your pages. This isused by the data driven pages Dynamic Text.5. Choose the Sort Field. This is used to order your map pages.6. Fill in the desired optional Fields.7. Set your Spatial Extent by clicking on the Extent Tab.8. Lastly, Click OK.
  8. 8. Desktop Associate Exam Prep Section 5: Data Driven Pages5-8Copyright ©2012, eGIS Associates, Inc.Optional FieldsThe Data Driven Pages setup provides three optional fields that you can use tofurther customize your pages. These fields must be an attribute of the index layeror field from a table that is joined to the index layer. They are•Rotation•Spatial Reference•Page NumberRotationThere are some use cases where you want to apply a map rotation to specificpages or all pages in your map series. For example, a common type of map seriesor map book that requires map rotation is a strip map. A strip map often follows alinear feature. To make such a map series more readable, the maps pageorientation is such that the linear feature draws from top to bottom and is centeredon the page. This requires that the data frame be rotated. Though you can use anynumerical index layer field to apply rotations to Data Driven Pages, you may wantto consider using the Strip Map Index Features geoprocessing tool to create anappropriate index layer. This tool creates a new index layer that contains a fieldwith appropriately calculated values for rotation based on your input.Spatial ReferenceThere may be cases where you want to use specific spatial references for specificpages in your map series. You have three different ways to apply spatial referencesin Data Driven Pages. One way is to use the entire spatial reference string. Thisway, you can customize spatial reference parameters as you see fit.A drawback to using the spatial reference string is that it can be very long andcumbersome. It is too large to store in a shapefile. Another way to apply spatialreferences is to point to a projection file on disk. This can be a file local to yourmachine or a file on a network. You need to have the proper permission to thesefiles.The last way to apply spatial reference is to use factory codes. A factory code is aninteger identifier that is unique by coordinate system. Custom coordinate systemshave a factory code of 0. Factory codes can be stored as either short or longintegers.
  9. 9. Desktop Associate Exam Prep Section 5: Data Driven Pages5-9Copyright ©2012, eGIS Associates, Inc.When you specify a Spatial Reference field, values from this field define thespatial reference of the main data frame for each page in the Data Driven Pagesseries. If the value in this field is null, incomplete, or otherwise unusable, DataDriven Pages ignore the field and apply the last spatial reference used to thecurrent page.There are two geoprocessing tools available from the Data Driven Pages toolset inthe Cartography toolbox to help you populate a spatial reference field: CalculateCentral Meridian and Parallels and Calculate UTM Zone.If you do not want to apply different spatial references to your pages, or only wantto use the spatial reference specified on the General tab of the Data FrameProperties dialog box (for the main data frame), do not specify this field.This drop-down menu displays a list of applicable fields from the Index Layer.This list includes fields from a table joined to the Index Layer. These include shortinteger, long integer, and text.Page NumberData Driven Pages also allows you to define a page number. The page number canbe based on field values of the index layer. These values can be alphanumeric. Forexample, you can use Roman numerals or numbers with dashes to number yourpages. If you are inserting pages between maps, you may be skipping pagenumbers as you populate this field.Page number may or may not be the same as page index. In many cases, you willwant the first map in your map book to be on the page after page 1. You may alsowant gaps in the page numbering to allow for inserted pages.Page numbers should be unique, though Data Driven Pages accepts null andduplicate values.Starting page numberIn some cases, you may want to start the map series pages at a page other than thefirst page. For example, you may want the first three pages in your map book tobe for a title, a table of contents, and an overview map. The maps (the results ofthe Data Driven Pages PDF export) actually begin on page four. You enter 4 in theStarting Page Number text box on the Data Driven Pages Setup dialog box. If youhave a dynamic text element for page numbers in your layout, you should seePage 4 displayed for the first map page. Remember, since this is the first map, theindex number for this page is 1. If you wanted to export only this page, you woulduse 1 to identify the page in the Page Range text box even though the pagenumber is 4.
  10. 10. Desktop Associate Exam Prep Section 5: Data Driven Pages5-10Copyright ©2012, eGIS Associates, Inc.Dynamic Text is a new feature for ArcGIS 10. It allows users to add automaticallyupdated text to layouts based on properties of the Map Document, Data Frame or DataDriven Pages. This is very useful for things like inserting text showing when a map waslast printed, who the author of the maps is, or where the map was saved.
  11. 11. Desktop Associate Exam Prep Section 5: Data Driven Pages5-11Copyright ©2012, eGIS Associates, Inc.There are seven types of dynamic text:1. Computer (<dyn type ="computer"/>)—Returns the name of the machine currentlyviewing the map.2. User (<dyn type ="user"/>)—Returns to the name of the current login.3. Date (<dyn type ="date"/>)—Returns the current date and has a default format ofM/d/YYYY (example: "01/01/1001").4. Time (<dyn type ="time"/>)—Returns the current time and has a default format ofhh:mm tt (example: "01:17 PM").5. Document (<dyn type ="document"/>)—Returns property values of the mapdocument.6. Data frame (<dyn type ="dataframe"/>)—Returns property values of the specifieddata frame.7. Page (<dyn type ="page"/>)—Returns property values of the maps Data DrivenPages, if enabled.
  12. 12. Desktop Associate Exam Prep Section 5: Data Driven Pages5-12Copyright ©2012, eGIS Associates, Inc.There are three ways to insert dynamic text into a map. They are the Insert Menu, DataDriven Pages toolbar, and manually. Once inserted, Dynamic text acts like any other mapelement. It is selectable, has properties, and can be moved.In ArcGIS 10 Dynamic Text has been added to the Insert drop down menu. Here you caneasily insert multiple types of Dynamic text basically the same way you insert standardtext.The Data Driven Pages toolbar allows you to insert Dynamic Text based on theinformation you provided when you created the pages. These options are only availableif data driven pages is enabled.Lastly you can insert it manually by inserting normal text using the Drawing Toolbar orfrom the insert menu and manually entering the tags. Of course this method requires youto know the proper syntax for each tag.
  13. 13. Desktop Associate Exam Prep Section 5: Data Driven Pages5-13Copyright ©2012, eGIS Associates, Inc.You print data driven pages the same way you print any other map. When you have datadriven pages enabled, you have some addition options added to the Print dialog box.With Data Driven pages enabled you chose which map pages you want to print. Youspecify this in the Data Drive Pages panel on the Print Dialog Box.
  14. 14. Desktop Associate Exam Prep Section 5: Data Driven Pages5-14Copyright ©2012, eGIS Associates, Inc.You can also export Data Driven Pages. PDF format is the only format supported due toData Driven Pages containing multiple pages or sheets. To export data driven pages to aPDF file go to File>Export Map. This will open the Export Map dialog. The Pages tabhas been added under options. This allows you to chose what map pages you wish toexport as well as if you want each page as an individual file or as a single PDF.
  15. 15. Desktop Associate Exam Prep Section 5: Data Driven Pages5-15Copyright ©2012, eGIS Associates, Inc.Student Notes
  16. 16. Desktop Associate Exam Prep Section 5: Data Driven Pages5-16Copyright ©2012, eGIS Associates, Inc.