Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $9.99/month after trial. Cancel anytime.

ArcGIS for Desktop Cookbook
ArcGIS for Desktop Cookbook
ArcGIS for Desktop Cookbook
Ebook747 pages3 hours

ArcGIS for Desktop Cookbook

Rating: 5 out of 5 stars

5/5

()

Read preview

About this ebook

About This Book
  • Learn how to use ArcGIS Desktop to create, edit, manage, display, analyze, and share geographic data
  • Use common geo-processing tools to select and extract features
  • A guide with example-based recipes to help you get a better and clearer understanding of ArcGIS Desktop
Who This Book Is For

This book is a good companion to get you quickly acquainted with everything you need to increase your productivity with the ArcGIS Desktop.

It would be helpful to have a bit of familiarity with basic GIS concepts.

If you have no previous experience with ArcGIS, this book will still be helpful for you because it will help you catch up to the acquainted users from a practical point of view.

LanguageEnglish
Release dateJan 22, 2015
ISBN9781783559510
ArcGIS for Desktop Cookbook

Related to ArcGIS for Desktop Cookbook

Related ebooks

Software Development & Engineering For You

View More

Related articles

Reviews for ArcGIS for Desktop Cookbook

Rating: 5 out of 5 stars
5/5

1 rating0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    ArcGIS for Desktop Cookbook - Docan Daniela Cristiana

    Table of Contents

    ArcGIS for Desktop Cookbook

    Credits

    About the Author

    About the Reviewers

    www.PacktPub.com

    Support files, eBooks, discount offers, and more

    Why subscribe?

    Free access for Packt account holders

    Preface

    What this book covers

    What you need for this book

    Who this book is for

    Sections

    Getting ready

    How to do it…

    How it works…

    There's more…

    See also

    Conventions

    Reader feedback

    Customer support

    Downloading the example code

    Downloading the color images of this book

    Errata

    Piracy

    Questions

    1. Designing Geodatabase

    Introduction

    Creating a file geodatabase

    Getting ready

    How to do it...

    How it works...

    There's more...

    See also

    Creating a feature dataset

    Getting ready

    How to do it...

    How it works...

    There's more...

    See also

    Creating a feature class

    Getting ready

    How to do it...

    How it works...

    There's more...

    See also

    Creating subtypes

    Getting ready

    How to do it...

    How it works...

    See also

    Creating domains

    Getting ready

    How to do it...

    How it works...

    There's more...

    See also

    Using subtypes and domains together

    Getting ready

    How to do it...

    How it works...

    There's more...

    See also

    Creating a relationship class

    Getting ready

    How to do it...

    How it works...

    There's more...

    See also

    2. Editing Data

    Introduction

    Editing features in a geodatabase

    Getting ready

    How to do it...

    How it works...

    There's more...

    See also

    Advanced editing in a geodatabase

    Getting ready

    How to do it...

    How it works...

    See also

    Creating geodatabase topology

    Getting ready

    How to do it...

    How it works...

    See also

    Editing geodatabase topology

    Getting ready

    How to do it...

    How it works...

    There's more...

    See also

    3. Working with CRS

    Introduction

    Understanding projections

    Getting ready

    How to do it...

    How it works...

    See also

    Projecting vector data

    Getting ready

    How to do it...

    There's more...

    Georeferencing raster data

    Getting ready

    How to do it...

    How it works...

    Setting a custom coordinate reference system

    Getting ready

    How to do it...

    How it works...

    See also

    4. Geoprocessing

    Introduction

    Spatial joining features

    Getting ready

    How to do it...

    How it works...

    There's more...

    See also

    Using spatial adjustment

    Getting ready

    How to do it...

    How it works...

    There's more...

    Using common tools

    Getting ready

    How to do it...

    How it works...

    Creating models

    Getting ready

    How to do it...

    How it works...

    See also

    5. Working with Symbology

    Introduction

    Managing styles

    Getting ready

    How to do it...

    How it works...

    There's more...

    See also

    Modifying symbols

    Getting ready

    How to do it...

    How it works...

    There's more...

    Creating custom symbology

    Getting ready

    How to do it...

    How it works...

    There's more...

    Using proportional symbology

    Getting ready

    How to do it...

    How it works...

    There's more...

    Using the symbol levels

    Getting ready

    How to do it...

    How it works...

    There's more...

    Using representation

    Getting ready

    How to do it...

    How it works...

    There's more...

    See also

    6. Building Better Maps

    Introduction

    Creating and editing labels

    Getting ready

    How to do it...

    How it works...

    See also

    Labeling with Maplex Label Engine

    Getting ready

    How to do it...

    How it works...

    There's more...

    Creating and editing annotation

    Getting ready

    How to do it...

    How it works...

    There's more...

    See also

    Using annotation and masking for contours

    Getting ready

    How to do it...

    How it works...

    Creating a bivariate map

    Getting ready

    How to do it...

    How it works...

    See also

    7. Exporting Your Maps

    Introduction

    Creating a map layout

    Getting ready

    How to do it...

    How it works...

    There's more...

    Exporting your map to the PDF and GeoTIFF formats

    Getting ready

    How to do it...

    How it works...

    Creating an atlas of maps

    Getting ready

    How to do it...

    How it works...

    Publishing maps on the Internet

    Getting ready

    How to do it...

    How it works...

    See also

    8. Working with Geocoding and Linear Referencing

    Introduction

    Preparing data for geocoding

    Getting ready

    How to do it...

    How it works...

    Geocoding addresses

    Getting ready

    How to do it...

    How it works...

    Geocoding with alternative names

    Getting ready

    How to do it...

    How it works...

    Creating and editing routes

    Getting ready

    How to do it...

    How it works...

    There's more...

    Creating and editing events

    Getting ready

    How to do it...

    How it works...

    Working with complex routes

    Getting ready

    How to do it...

    How it works...

    Analyzing events

    Getting ready

    How to do it...

    How it works...

    9. Working with Spatial Analyst

    Introduction

    Analyzing surfaces

    Getting ready

    How to do it...

    How it works...

    There's more...

    See also

    Interpolating data

    Getting ready

    How to do it...

    How it works...

    Reclassifying a raster

    Getting ready

    How to do it...

    How it works...

    There's more...

    Working with Map Algebra

    Getting ready

    How to do it...

    How it works...

    Working with Cell Statistics

    Getting ready

    How to do it...

    How it works...

    There's more...

    Generalizing a raster

    Getting ready

    How to do it...

    How it works...

    There's more...

    Creating density surfaces

    Getting ready

    How to do it...

    How it works...

    Analyzing the least-cost path

    Getting ready

    How to do it...

    How it works...

    There's more...

    10. Working with 3D Analyst

    Introduction

    Creating 3D features from 2D features

    Getting ready

    How to do it...

    How it works...

    See also

    Creating a TIN surface

    Getting ready

    How to do it...

    How it works...

    Creating a terrain dataset

    Getting ready

    How to do it...

    How it works...

    Creating raster and TIN from a terrain dataset

    Getting ready

    How to do it...

    How it works...

    Intervisibility

    Getting ready

    How to do it...

    How it works...

    Creating a profile graph

    Getting ready

    How to do it...

    How it works...

    There's more...

    Creating an animation

    Getting ready

    How to do it...

    How it works...

    11. Working with Data Interoperability

    Introduction

    Exporting file geodatabase to different data formats

    Getting ready

    How to do it...

    How it works...

    There's more...

    See also

    Importing data from the XML format

    Getting ready

    How to do it...

    How it works...

    There's more...

    See also

    Importing vector data

    Getting ready

    How to do it...

    How it works...

    Importing raster data

    Getting ready

    How to do it...

    How it works...

    Spatial ETL

    Getting ready

    How to do it...

    How it works...

    Index

    ArcGIS for Desktop Cookbook


    ArcGIS for Desktop Cookbook

    Copyright © 2015 Packt Publishing

    All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

    Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

    Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

    First published: January 2015

    Production reference: 1170115

    Published by Packt Publishing Ltd.

    Livery Place

    35 Livery Street

    Birmingham B3 2PB, UK.

    ISBN 978-1-78355-950-3

    www.packtpub.com

    Cover image by Daniela Cristiana Docan (<[email protected]>)

    Credits

    Author

    Daniela Cristiana Docan

    Reviewers

    Ken Doman

    Stefano Iacovella

    Tram Vu Khanh Truong

    John (Yiguang) Zhang

    Commissioning Editor

    Pramila Balan

    Acquisition Editor

    Llewellyn Rozario

    Content Development Editor

    Mohammed Fahad

    Technical Editors

    Humera Shaikh

    Mohita Vyas

    Copy Editor

    Sarang Chari

    Project Coordinator

    Danuta Jones

    Proofreaders

    Simran Bhogal

    Sandra Hopper

    Joanna McMahon

    Indexer

    Mariammal Chettiyar

    Production Coordinator

    Alwin Roy

    Cover Work

    Alwin Roy

    About the Author

    Daniela Cristiana Docan is currently a lecturer in the Department of Topography and Cadastre at the Faculty of Geodesy in Bucharest, Romania. She obtained her PhD in 2009 from Technical University of Civil Engineering Bucharest with the thesis Contributions to quality improvement of spatial data in GIS. Formerly, she worked for Esri Romania and the National Agency of Cadastre and Land Registration (ANCPI).

    While working for Esri Romania, she trained teams (as an authorized instructor in ArcGIS Desktop by Environmental Systems Research Institute, Inc., USA) from state and privately owned companies, such as Romanian Civil Aeronautical Authority, Agency of Payments and Intervention for Agriculture (APIA), Institute of Hydroelectric Studies and Design, and Petrom. She has also trained and assisted the team in charge of quality data control using ArcGIS for Desktop and PLTS GIS Data ReViewer in the Land Parcels Identification System (LPIS) project, in Romania.

    For the ANCPI, in 2009, she created the conceptual, logical, and physical data model for the Romanian National Topographic Dataset at the scale 1:5,000 (TOPRO5). She was a member of the workgroup that elaborated TOPRO5 and metadata technical specifications for the ANCPI and the Member State Report for Infrastructure for Spatial Information in the European Community (INSPIRE) in 2010.

    I would like to thank Llewellyn Rozario, Mohammed Fahad, Humera Shaikh, Mohita Vyas, and everyone else from Packt Publishing for all their hard work to get this book published.

    I would also like to thank the reviewers for their work and practical advice.

    A special thanks goes to my friends for their support.

    About the Reviewers

    Ken Doman is a GIS developer for Bruce Harris & Associates, Inc., a land-record mapping and software development company that is an Esri Business Partner. Ken has worked both in municipal government GIS and in the private sector. He has experienced many facets of GIS technology, from field data collection and GPS to mapping and data analysis to publishing web maps and applications.

    Ken previously reviewed Building Web and Mobile ArcGIS Server Applications with JavaScript, Eric Pimpler Packt Publishing. He is also in the middle of writing another book for Packt Publishing on a similar topic.

    I would first like to thank my wife, who puts up with my night-owl tendencies when working on these books. I would also like to thank Bruce Harris & Associates, Inc., for giving me opportunities and exposure to learn more about GIS technologies. I would also like to thank the City of Plantation, Florida, and the City of Jacksonville, Texas, for providing career opportunities for me in GIS. Thanks also goes out to Packt Publishing, who found me out of the blue and let me read cool stuff such as this book. Finally, I would like to thank God, without whom I believe none of this would be possible.

    Stefano Iacovella is a longtime GIS developer and consultant living in Rome, Italy. He also routinely works as a GIS course instructor.

    He obtained a PhD in Geology. Having a very curious mind, he developed a deep knowledge of IT technologies, mainly focusing on GIS software and related standards.

    Starting his career as an Esri employee, he was exposed to and became confident with proprietary GIS software, mainly the Esri suite of products.

    In the last 14 years, he has become more and more involved with open source software, also integrating it with proprietary software. He loves the open source approach and really trusts collaboration and sharing of knowledge. He strongly believes in the open source idea and constantly manages to spread it out in all sectors, not just the GIS sector.

    He has been using GeoServer since release 1.5, configuring, deploying, and hacking it in several projects. Other GFOSS projects he mainly uses and likes are GDAL/OGR, PostGIS, QGIS, and OpenLayers.

    He authored two books on GeoServer with Packt Publishing: GeoServer Cookbook, a practical set of recipes to get the most out of the software, and GeoServer Beginner's Guide, a first approach to GeoServer features.

    When not playing with maps and geometric shapes, he loves reading about science, mainly physics and math ematics; riding his bike; and having fun with his wife and his two daughters, Alice and Luisa.

    You can contact him at <[email protected]> or follow him on Twitter at @iacovellas.

    Tram Vu Khanh Truong received her Master's degree in Regional and City Planning from the University of Oklahoma. Currently, she is a transportation planner at the Greensboro Urban Area Metropolitan Planning Organization in Greensboro, North Carolina. Her duties include GIS development, data analysis, and transportation system planning. Tram Truong has a passion for utilizing GIS in transportation planning to support decision making and linking multimodal transportation planning with mixed-use land development planning.

    John (Yiguang) Zhang has been in the geospatial industry for over 20 years with a strong background in GIS, software development, database management, photogrammetry, and remote sensing. He has been working as a software developer and GIS analyst for the past 15 years and has experienced various GIS projects from start to finish on GIS application design, development, and implementation as well as GIS analysis and map production. He has also managed complex spatial databases and experienced a lot of spatial data conversion and integration processes. His creative thinking skills have helped him solve problems effectively through the course of his career in the public and private sectors, such as City of Chilliwack and Intergraph Corporation. He is proficient with the Esri ArcGIS family of products, including ArcGIS Desktop and ArcGIS Server, and spatial database management systems, such as Oracle Spatial, SQL Server, and open source PostgreSQL/PostGIS. He is also competent in .NET and Web 2.0 technologies. He holds a master's degree in Digital Photogrammetry and an Advanced Diploma in GIS from British Columbia Institute of Technologies, Canada.

    Firstly, I'd like to thank to my wife, Winnie, for dedicating her time in taking care of the family and for her patience with this wonderful book review and other projects. I would also like to thank my son, Sylvester, and daughter, Sylvia, for their bright ideas to the problems I had to solve.

    www.PacktPub.com

    Support files, eBooks, discount offers, and more

    For support files and downloads related to your book, please visit www.PacktPub.com.

    Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at for more details.

    At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

    https://www2.packtpub.com/books/subscription/packtlib

    Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can search, access, and read Packt's entire library of books.

    Why subscribe?

    Fully searchable across every book published by Packt

    Copy and paste, print, and bookmark content

    On demand and accessible via a web browser

    Free access for Packt account holders

    If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view 9 entirely free books. Simply use your login credentials for immediate access.

    Preface

    ArcGIS for Desktop is an important component of the Esri ArcGIS platform. ArcGIS for Desktop allows you to visualize, create, analyze, manage, and distribute geographic data.

    ArcGIS for Desktop Cookbook starts with the basics of designing a file geodatabase schema. Using your file geodatabase schema, you will learn to create, edit, and constrain the geometry and attribute values of your data. In this book, you will learn to manage Coordinate Reference System (CRS) issues in the geodatabase context.

    This book will also cover the following topics: designing and sharing quality maps, geocoding addresses, creating routes and events, analyzing and visualizing raster data in 3D environments, and exporting/importing different data formats.

    Knowing and understanding your data is essential in any spatial analysis and geoprocessing process. Therefore, you will work with two main geodatabase structures that fully support all topics covered by this book's chapters.

    ArcGIS for Desktop Cookbook will clearly explain all the basic steps performed in every recipe of the book to help you refine your own workflow.

    What this book covers

    Chapter 1, Designing Geodatabase, teaches you how to create a file geodatabase for a topographic map. It shows you, step by step, how to create feature datasets, feature classes, subtypes, and domains. Furthermore, you will create relationship classes and test the relationship behavior.

    Chapter 2, Editing Data, teaches you how to add data to your file geodatabase created in Chapter 1, Designing Geodatabase. In addition to this, you will learn to work with COordinate GeOmetry (COGO) elements, such as bearings, angles, and horizontal distances. You will identify all invalid attribute values for the newly created or loaded features in accordance with the domains created in the first chapter. You will also constrain and administrate the spatial relationships between features with geodatabase topology.

    Chapter 3, Working with CRS, explains how to transform a CRS into another CRS using a predefined ArcGIS Project tool. You will also learn how to georeference a scanned topographic map. Furthermore, you will learn to define a custom CRS and a custom transformation.

    Chapter 4, Geoprocessing, guides you through the geoprocessing tools for vector data, such as Spatial Join, Spatial Adjustment, Attribute transfer, Buffer, and Intersect. In addition to this, you will learn to work with the Model Builder application. You will build a geoprocessing workflow for a project named VeloGIS. This small project will analyze the possible consequences of creating a cycling infrastructure, taking into account the existing road network.

    Chapter 5, Working with Symbology, teaches you how to manage a collection of symbols, colors, and map elements into a style format. The chapter also covers the Representation topic that refers to an advanced technique to symbolize geographic features on a map.

    Chapter 6, Building Better Maps, teaches you how to create labels with Maplex Label Engine. The chapter also covers the Annotation topic, which refers to an advanced technique to label the geographic features. In addition to this, you will learn to create a quantitative bivariate map, which analyzes two variables from census data: level of education and unemployment rate for a country/region.

    Chapter 7, Exporting Your Maps, teaches you how to design, prepare, and export quality maps. Finally, you will publish your maps on ArcGIS Online.

    Chapter 8, Working with Geocoding and Linear Referencing, teaches you how to convert the address information into spatial data and how to manage and use these geocoded addresses. The second part of this chapter will show you how to build routes and events for three different bus lines and a complex route for delivering a customer service.

    Chapter 9, Working with Spatial Analyst, teaches you how to work with and analyze raster data. It shows you, step by step, how to create a terrain surface, reclassify a raster, work with Map Algebra and statistical functions, generalize a raster, generate density surfaces, and perform a least-cost path analysis.

    Chapter 10, Working with 3D Analyst, teaches you how to create 3D features from 2D features and how to create TIN and Terrain surfaces. You will analyze the visibility between buildings and three geodetic points from the ground, using the ArcScene application. Moreover, you will create an animated fly-by tour of your 3D buildings and Digital Terrain Model (DTM) in ArcScene and will export it to a video file.

    Chapter 11, Working with Data Interoperability, teaches you how to manage different data formats. You will export and import a file geodatabase using the XML interchange format. The second part of this chapter will show you how to import vector data into your geodatabase using the ArcGIS Data Interoperability extension.

    What you need for this book

    To complete the exercises in this book, you will need to have installed ArcGIS 10.x for Desktop (Advanced) and the ArcGIS Data Interoperability for Desktop extension.

    Depending on your software version, please download and install the latest patches (bug fixes) or service packs (compilation of bug fixes) from http://support.esri.com/en/downloads/patches-servicepacks.

    You need to have access to an Internet connection to publish your map in the Publishing maps on the Internet recipe of Chapter 7, Exporting Your Maps.

    Data used in this book is freely available on the Packt Publishing site.

    Who this book is for

    ArcGIS for Desktop Cookbook is written for GIS users who already have basic knowledge about ArcGIS, but need to increase their productivity using the ArcGIS for Desktop applications and extensions. Even if you don't have previous experience with ArcGIS, this book is useful for you because it will help you to catch up with acquainted users.

    Please insert the following here:

    Sections

    In this book, you will find several headings that appear frequently (Getting ready, How to do it, How it works, There's more, and See also).

    To give clear instructions on how to complete a recipe, we use these sections as follows:

    Getting ready

    This section tells you what to expect in the recipe, and describes how to set up any software or any preliminary settings required for the recipe.

    How to do it…

    This section contains the steps required to follow the recipe.

    How it works…

    This section usually consists of a detailed explanation of what happened in the previous section.

    There's more…

    This section consists of additional information about the recipe in order to make the reader more knowledgeable about the recipe.

    See also

    This section provides helpful links to other useful information for the recipe.

    Conventions

    In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

    Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: In the next step, you will create a file geodatabase named Topo5k.gdb for a topographic map corresponding to the scale 1:5,000.

    A block of code is set as follows:

    HYC[int] = HIC[int]

    Name[string] = Name[string]

    HType[int] = HAT[int]

    New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: Select ArcToolbox from the Standard toolbar. Go to Data Management Tools | Workspace, and double-click on the Create File GDB tool.

    Note

    Warnings or important notes appear in a box like this.

    Tip

    Tips and tricks appear like this.

    Reader feedback

    Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or disliked. Reader feedback is important for us as it helps us develop titles that you really get the most out of.

    To send us general feedback, simply e-mail <[email protected]>, and mention the book title via the subject of your message.

    If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide at www.packtpub.com/authors.

    Customer support

    Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

    Downloading the example code

    You can download the example code files from your account at http://www.packtpub.com for all the Packt Publishing books you have purchased. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

    Downloading the color images of this book

    We also provide you with a PDF file that has color images of the screenshots/diagrams used in this book. The color images will help you better understand the changes in the output. You can download this file from: https://www.packtpub.com/sites/default/files/downloads/B00189_9503OT_Graphics.pdf.

    Errata

    Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title.

    To view the previously submitted errata, go to https://www.packtpub.com/books/content/support and enter the name of the book in the search field. The required information will appear under the Errata section.

    Piracy

    Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location

    Enjoying the preview?
    Page 1 of 1