O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

ArcGIS By Example

Book Description

Develop three engaging ArcGIS applications to address your real-world mapping scenarios

About This Book

  • Design, build and run ArcGIS applications using ArcObjects SDK
  • Extend ArcGIS objects and use add -ins to deploy applications on top of ArcGIS
  • An example-centric practical guide to help you understand mapping scenarios with ArcGIS

Who This Book Is For

If you are an application developer and wish to enhance your skills for the GIS domain with ArcGIS, then this book is for you. Previous experience with ArcGIS is not required.

What You Will Learn

  • Use essential ArcGIS code to query geodatabases
  • Communicate with ArcGIS maps, with the help of critical designing and optimisation tips
  • Highlight and interact with objects on your map
  • Query ArcGIS geodatabases with related data to display your information on ArcGIS
  • Edit your underlying geodatabase
  • Explore strategies for the adaptation of various types of spatial analysis techniques into the GIS framework
  • Analyze tools for Geographical Information Systems and remote sensing
  • Experience ArcGIS’s advanced tools for manipulation of shapefiles and geodatabases

In Detail

ArcGIS is a geographic information system (GIS) for working with maps and geographic information. It is considered the turnkey solution to creating and sharing interactive maps. ArcGIS is designed to work the way you work. With nothing to install and set up, ArcGIS helps you make your work productive from day one.

The book covers the design and development of three ArcGIS applications to guide the readers in crafting their own GIS solution as per their requirements. The book begins by giving you a refresher on the concepts of ArcGIS. Without wasting any time, you’ll begin with developing your first ArcGIS application. You will be developing a cell tower analysis tool. Following this, you will be guided through mapping signal strength and real - time manoeuvring in your GIS system. You will then move on to the second application of the book: a restaurant mapping system. The application will allow tourists to browse restaurants on a map, according to their preferences. Next, you will learn how to work with reviews and ratings and also cover some of the advanced searching options offered by ArcGIS. You will then make use of advanced ArcObjects to develop your third application: an excavation planning manager. The book will conclude by teaching you how work out excavation cost calculations and also saving and retrieving your excavation designs.

Style and approach

The book offers an enhanced way of learning ArcGIS, through the design and development of three applications throughout its length. In addition to this the book also covers features that you can add to your application as you develop each one covered in the book.

Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. 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.

Table of Contents

  1. ArcGIS By Example
    1. Table of Contents
    2. ArcGIS By Example
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers, and more
        1. Why subscribe?
        2. Free access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Getting Started with ArcGIS
      1. The history of ArcGIS
      2. An introduction to ArcGIS for Desktop
        1. ArcGIS for Desktop licenses
        2. The system requirements of ArcGIS for Desktop
        3. The important concepts of ArcGIS for Desktop
          1. The ArcGIS geodatabase
          2. Working with the map layers
      3. Customizing ArcGIS for Desktop
        1. The system requirements of ArcObjects
        2. Verifying the installation of ArcObjects
      4. App 1 – the cell tower analysis tool
      5. App 2 – the restaurant mapping application
      6. App 3 – the excavation planning manager
      7. Summary
    9. 2. App 1 – the Cell Tower Analysis Tool
      1. An introduction to ArcGIS add-ins
        1. Creating the Hello, ArcGIS add-in project
      2. Preparing the TelZaViBa data and code
        1. Preparing the geodatabase
        2. Preparing the map document
        3. Preparing the TelZaViBa add-in project
      3. Displaying the range of each tower
        1. Querying features
        2. The topological operators and graphic elements
      4. Drawing the tower range based on the attribute value
        1. Drawing the range attribute
        2. Drawing the range for all towers
      5. Summary
    10. 3. Mapping Signal Strength
      1. Adding a point to the map
        1. The ArcGIS coordinate system
        2. Adding the find closest tower tool
        3. Creating a marker point
      2. Finding the distance between two points
        1. Finding the distance between two towers
        2. Finding the distance between the point and a tower
      3. Finding and highlighting the closest tower
        1. Finding the closest tower
        2. Highlighting the closest tower
      4. Displaying the signal strength
      5. Summary
    11. 4. Real-time Maneuvering
      1. Adding real-time cell phone simulator button add-ins
        1. Creating a map point from the x and y coordinates
      2. Reading and mapping external GPS point coordinates
        1. Reading external GPS coordinates
        2. Mapping GPS coordinates
      3. Enabling signal maneuvering and highlighting the active tower
        1. Loading the GPS file
        2. Enabling maneuvering with a timer
        3. Highlighting the selected tower and displaying signal strength
      4. Summary
    12. 5. App 2 – Extending ArcObjects
      1. Extending ArcObjects
        1. Preparing the geodatabase and map for bestaurants
        2. Preparing the bestaurants project
      2. Adding the restaurants mapping toolbar
      3. Adding the restaurants viewer button
        1. Adding the button
        2. Assigning a button to the toolbar
      4. Querying the subtypes of restaurants
        1. A geodatabase workspace
        2. Populating subtypes
      5. Finding restaurants in a subtype
      6. Summary
    13. 6. Reviews and Ratings
      1. Introducing relationships
        1. The reviews and ratings table
      2. Querying reviews and ratings
        1. Retrieving related records
        2. Calculating the average rating
      3. Highlighting restaurants
        1. The ArcGIS Display object
        2. Highlighting features
      4. Filtering restaurants on the map
      5. Summary
    14. 7. Advanced Searching
      1. Querying the regions
        1. Connecting to the region's geodatabase
        2. Populating the regions
      2. Finding restaurants in a region
        1. Spatial queries
        2. Populating restaurants in a region
      3. Adding the search textbox in the toolbar
      4. Real-time search and filtering
      5. Summary
    15. 8. App 3 – Advanced ArcObjects
      1. Geodatabase editing
      2. Preparing the data and project
        1. Preparing the Yharnam geodatabase and map
        2. Preparing the Yharnam project
        3. Adding the new excavation tool
        4. Adding the excavation editor tool
        5. Adding the excavation manager toolbar
      3. Creating excavation features
        1. Using the rubber band to draw geometries on the map
        2. Converting geometries into features
      4. Viewing and editing the excavation information
      5. Summary
    16. 9. Excavation Cost Calculation
      1. Preparing the excavation cost calculator
        1. Creating the excavation cost calculator class
      2. Calculating the soil type removal cost
      3. Calculating the tree removal cost
        1. Calculating the number of trees
        2. Calculating the tree removal cost
      4. Estimating the final cost
      5. Summary
    17. 10. Saving and Retrieving Excavation Designs
      1. Preparing the design table
      2. Creating the design manager
        1. Adding the design manager button
        2. Preparing the design manager form
        3. Creating a new design
        4. Saving multiple excavations
      3. Opening existing designs
        1. The LoadDesign method
        2. Loading excavations
        3. Loading trees
        4. Calculating the design cost
        5. Using the filter map to show only design excavation
      4. Deleting designs
        1. Deleting an excavation
        2. Deleting a design
      5. Generating the excavation design report
      6. Searching for the design
      7. Summary
    18. Index