Building Web Applications with ArcGIS
eBook - ePub

Building Web Applications with ArcGIS

  1. 138 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Building Web Applications with ArcGIS

About this book

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.

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Building Web Applications with ArcGIS


Table of Contents

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

Building Web Applications with ArcGIS

Copyright © 2014 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: November 2014
Production reference: 1121114
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78355-295-5
www.packtpub.com

Credits

Author
Hussein Nasser
Reviewers
Hani M. Basheer
Brian Small
Commissioning Editor
Kunal Parikh
Acquisition Editor
Llewellyn Rozario
Content Development Editor
Rahul Nair
Technical Editors
Mrunmayee Patil
Aman Preet Singh
Copy Editors
Janbal Dharmaraj
Laxmi Subramanian
Project Coordinator
Judie Jose
Proofreaders
Ameesha Green
Amy Johnson
Indexers
Monica Ajmera Mehta
Tejal Soni
Production Coordinator
Nilesh R. Mohite
Cover Work
Nilesh R. Mohite

About the Author

Hussein Nasser is an Esri award-winning senior GIS solution architect at Electricity and Water Authority, Bahrain. He is the author of two books on ArcGIS, Administering ArcGIS for Server and Learning ArcGIS Geodatabases, both published by Packt Publishing. In 2007, Hussein won the first place in the annual ArcGIS Server Code Challenge conducted at the Esri Developer Summit in Palm Springs, California, for using AJAX technology with ArcGIS for Server, which was not implemented back then. After his 8-year career as a GIS Architect in the leading Middle Eastern Engineering company, Khatib & Alami, where he spent time implementing various utility GIS systems based on Esri technology across the Middle East, Hussein decided to move to a more focused environment in Electricity and Water Authority back in Bahrain, his homeland. Here he can channel his expertise to develop a robust GIS utility solution that is fully integrated with the eGovernment project, which will help Bahrain march towards the smart grid. Beyond GIS, Hussein is fascinated by acute research topics; some of the papers he is currently working on are The Human API: A Software Interface to Prevent Cancer, Global Economic Crisis and Natural Disasters Quantum Detector, and Stock Market change with the Moon Phases.

About the Reviewers

Hani M. Basheer is a GIS expert, Oracle Certified Professional DBA, and Esri Certified ArcGIS Desktop Associate. He has graduated as a surveying engineer with a technical Postgraduate Diploma in Esri GIS. He has over 15 years of experience in the field of Geographic Information Systems (GIS) Esri products.
Throughout his career, he has worked on several enterprise GIS projects in Egypt and Saudi Arabia; he has also worked with the Egyptian SDI project. He moved to Saudi Arabia in 200...

Table of contents

  1. Building Web Applications with ArcGIS

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Building Web Applications with ArcGIS by Hussein Nasser in PDF and/or ePUB format, as well as other popular books in Computer Science & Application Development. We have over one million books available in our catalogue for you to explore.