You are previewing Building Web Applications with ArcGIS.
O'Reilly logo
Building Web Applications with ArcGIS

Book Description

Build an engaging GIS Web application from scratch using ArcGIS

In Detail

ArcGIS allows users to create rich maps and applications that interact with services hosted on ArcGIS for Server and ArcGIS Online. This book will help you to understand the ArcGIS JavaScript API in a fun way while building a real-life project.

This book revolves around a fictional project called Bestaurants. The journey starts with a description of the project requirements before moving on to designing and sketching an interface of what the website will look like. Then, gradually with each chapter, you will add a single functionality until the full ArcGIS application is completed.

By the end of this book, you will have built an entire ArcGIS web application from scratch. An additional bonus appendix is included on how to build ArcGIS applications with ArcGIS Onlineā€“a new and extremely useful service offered by Esri.

What You Will Learn

  • Script essential ArcGIS JavaScript code to consume with ArcGIS services
  • Edit ArcGIS services by adding new records, update existing ones and upload attachments
  • Consume GIS services from multiple cross-platform endpoints that include mobile and tablet for field users
  • Query ArcGIS services with related data and display the information on your website
  • Communicate with the services to query, retrieve, and display the results
  • Use the ArcGIS JavaScript API to communicate with ArcGIS Online as a backend database
  • Test your website on mobile devices
  • 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 If you purchased this book elsewhere, you can visit and register to have the files e-mailed directly to you.

    Table of Contents

    1. Building Web Applications with ArcGIS
      1. Table of Contents
      2. Building Web Applications with ArcGIS
      3. Credits
      4. About the Author
      5. About the Reviewers
        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. The Bestaurants Project
        1. Getting started with Bestaurants
        2. Bestaurants, the best restaurants in Belize
          1. The project statement
          2. Proposed Interface Design
          3. The proposed architecture
        3. Installing ArcGIS software
          1. Installing ArcGIS for Desktop
          2. Installing ArcGIS for Server
        4. Publishing a service in ArcGIS for Server
        5. Testing the published service
        6. Summary
      9. 2. Setting Up the Basic Web Application
        1. Setting up the web server
          1. Installing IIS
          2. Testing the web server
        2. Setting up the ArcGIS web application
          1. Creating the HTML web page
          2. Adding the map and loading the ArcGIS service
        3. Customizing basic features
          1. Default extent
          2. Adding the legend
        4. Summary
      10. 3. Querying ArcGIS Services
        1. Feature layers
          1. Adding feature layers
        2. Identifying restaurants
        3. Using definition query to filter map
          1. Filtering by category
          2. Filtering by rating
        4. Searching and displaying restaurants by name
          1. Displaying the query results
          2. Interacting with the results to highlight the map
        5. Summary
      11. 4. Rich Content and Mobile Integration
        1. Brief introduction to relationships
          1. A simple relationship query example
        2. Working with Restaurants' rich content
          1. Displaying reviews
          2. Displaying pictures
        3. Mobile integration
          1. Testing the website on mobile devices
          2. GPS integration
        4. Summary
      12. 5. Posting Reviews, Ratings, and Photos
        1. Configuring enterprise Geodatabase
          1. Connecting to the Geodatabase
          2. Copying Bestaurants' data to the server
        2. Publishing feature service
          1. Setting the Source to the Enterprise Geodatabase
          2. Publishing the map document
          3. Testing the web application with the new service
        3. Adding ArcGIS's editing capabilities
          1. Posting reviews and ratings
          2. Uploading pictures
        4. The final touches
        5. Summary
      13. A. Bestaurants on ArcGIS Online
        1. Setting up ArcGIS Online account
        2. Publishing an ArcGIS Online Map
        3. Using online map from the JavaScript API
        4. Summary
      14. Index