Sunteți pe pagina 1din 69

Publishing Data and Maps and Developing Applications with

ArcGIS Server

Sam Berg
ESRI
GIS
sberg@esri.com

1
Agenda

ArcGIS Server Overview


GIS Services
Author, Serve, Use
DEMO
Map Caching
Web Mapping Applications
GIS Tasks
DEMO
Service Capabilities
DEMO
Webservice access
DEMO
Web ADF Introduction
DEMO
Further Resources
Questions and Comments

2
Agenda

ArcGIS Server Overview


GIS Services
Author, Serve, Use
DEMO
Map Caching
Web Mapping Applications
GIS Tasks
DEMO
Service Capabilities
DEMO
Webservice access
DEMO
Web ADF Introduction
DEMO
Further Resources
Questions and Comments

3
What is ArcGIS Server?

You may already have geographic resources/documents


For example...
Maps ArcMap documents
Globes ArcGlobe documents
etc.

ArcGIS Server enables you to share these resources


The resource runs on a server
Service = resource running on a server
Users connect to the service to use it

4
ArcGIS Server 9.2

Complete & Integrated server-based GIS


Out-of-the-box applications and services
Tremendous developer opportunities

ArcGIS
Desktop
Spatial Data
Management

ArcGIS
Explorer
Visualization
Java (Mapping)

.NET Web Mapping


Applications
Spatial
ArcGIS Server Analysis

ArcGIS
Mobile

5
What are services?

Service = GIS resource running on a server


vs. GIS application on your local computer

Almost any GIS operation that you can do locally may also be run using a
service

6
GIS Services can be used to Display Data

7
GIS Services can Answer Questions

8
What types of services can ArcGIS Server offer?

Map
View or query a 2D map on the server

Globe
View or query a 3D globe on the server

Geocode
Perform address matching on the server

Geodata
Perform data replication, extraction, or query over the intranet or Internet

Geoprocessing
Run a tool or model on the server and get the results back

9
What do I need to prepare?

Service type Published using

Map Map document (.mxd or .pmf)

Globe Globe document (.3dd)

Geocode Locator (.loc file or geodatabase)

Geodata Geodatabase or Map document with


geodatabase layer

Geoprocessing Toolbox (.tbx) or Map document


(.mxd) with tool layer

10
Clients

Users may connect with

Browser based Web Application

Desktop client (ArcMap, ArcGIS Engine


application, ArcGIS Explorer)

Mobile client (ArcGIS Mobile application, smart


phone application)

Custom applications calling GIS Web services

11
Agenda

ArcGIS Server Overview


GIS Services
Author, Serve, Use
DEMO
Map Caching
Web Mapping Applications
GIS Tasks
DEMO
Service Capabilities
DEMO
Webservice access
DEMO
Web ADF Introduction
DEMO
Further Resources
Questions and Comments

12
Author, Serve, Use

1. Author GIS content


ArcGIS Desktop applications

2. Serve GIS services


ArcGIS Server Manager

3. Use GIS services


Web-mapping applications
ArcGIS Explorer
ArcGIS Desktop
ArcGIS Mobile
WMS, KML/KMZ, SOAP
REST (at 9.3)

13
How do I publish a service?

You publish a document or set of data


Need to prepare the data/document
Author the map (.MXD), globe (.3DD), etc.
Think about types and number of users, security, permissions
Publish in Manager or ArcCatalog

14
Demo: Authoring, serving, and using a Map Service

ArcMap authoring
Publishing GIS resources via ArcCatalog or Manager
Viewing map service in ArcGIS

15
16
17
18
19
20
21
Agenda

ArcGIS Server Overview


GIS Services
Author, Serve, Use
DEMO
Map Caching
Web Mapping Applications
GIS Tasks
DEMO
Service Capabilities
DEMO
Webservice access
DEMO
Web ADF Introduction
DEMO
Further Resources
Questions and Comments

22
Caching
The fastest way to serve your maps
Pre-creates map/globe images as tiles at multiple scale levels
Choose scale levels of detail and tile size
Users retrieve files from server rather than dynamically creating maps

23
What is a Web mapping application?

ArcGIS Server 9.2 has an out-of-the-box way to create GIS Web


applications
Web Mapping Application
A web application (website) that uses GIS services
Multi-service architecture
Map can display multiple services
From ArcGIS Servers on the Internet
ArcIMS, WMS, ArcWeb Services, etc.

24
How do I create a Web mapping application?

ArcGIS Server Manager


Non-programmer
Menu and wizard approach
Can customize the web application with developer tools
Developer environment
For programmers
Use an integrated development environment (IDE)
.NET: Visual Studio 2005, Visual Web Developer Express (free from
from Microsoft) or other
developer tools (Dreamweaver
(Dreamweaver,, etc.)
Java: Eclipse, Sun Java Studio Creator, etc.
Use Web Mapping Application template or add Web controls to a new or existing
web application

25
What can I add to a Web mapping application?

Toolbar
Map
Tasks
Query
Search
Find address
Editing
Overview Map
More

26
Agenda

ArcGIS Server Overview


GIS Services
Author, Serve, Use
DEMO
Map Caching
Web Mapping Applications
GIS Tasks
DEMO
Service Capabilities
DEMO
Webservice access
DEMO
Web ADF Introduction
DEMO
Further Resources
Questions and Comments

27
Adding functionality through tasks

Tasks are used to


Ask questions
Display answers
Out-of-the-box tasks
Editing
Find Address
Find Place
Geoprocessing
Query Attributes
Search Attributes
Custom tasks with
Task Framework

28
Web Tasks
Editor
The Editor task provides a suite of tools for Web-
Web-based editing of
features in a versioned geodatabase.

29
Web Tasks

Find Address
The Find Address task prompts the user for an address,
then displays the resulting address on the map
Find Place
allows a user to type in the name of the place to search for
on the map
Geoprocessing
Executing GP Services on the Web

30
Demo: Web Mapping Application

Publishing and caching map resource

Walkthrough of Managers Web Application Creation


w/multiple data sources

Adding out of the box tasks

31
32
33
34
35
36
37
38
39
Agenda

ArcGIS Server Overview


GIS Services
Author, Serve, Use
DEMO
Map Caching
Web Mapping Applications
GIS Tasks
DEMO
Service Capabilities
DEMO
Webservice access
DEMO
Web ADF Introduction
DEMO
Further Resources
Questions and Comments

40
Service Capabilities

41
Agenda

ArcGIS Server Overview


GIS Services
Author, Serve, Use
DEMO
Map Caching
Web Mapping Applications
GIS Tasks
DEMO
Service Capabilities
DEMO
Webservice access
DEMO
Web ADF Introduction
DEMO
Further Resources
Questions and Comments

42
43
44
Demo: KML Services from ArcGIS Server

45
46
47
Agenda

ArcGIS Server Overview


GIS Services
Author, Serve, Use
DEMO
Map Caching
Web Mapping Applications
GIS Tasks
DEMO
Service Capabilities
DEMO
Webservice access
DEMO
Web ADF Introduction
DEMO
Further Resources
Questions and Comments
48
Web Enabled GIS Services

Allows any SOAP Webservice client to call published GIS


resources directly
client does not need ArcGIS or ArcObjects

Endpoints generated by ArcGIS Server automatically

Alternatively custom web services can be built out of ArcObjects

49
Example:
What can you do with a Map Service?

Map requests

Queries

Coordinate Calculation

Retrieve Service information

50
Demo: Accessing GIS Web Services

51
52
Agenda

ArcGIS Server Overview


GIS Services
Author, Serve, Use
DEMO
Map Caching
Web Mapping Applications
GIS Tasks
DEMO
Service Capabilities
DEMO
Webservice access
DEMO
Web ADF Introduction
DEMO
Further Resources
Questions and Comments

53
What is an Application Developer Framework (ADF)?

1. A set of components for creating applications


Controls, templates, classes
2. Software developer kit (SDK)
Documentation, walk-throughs, samples

54
ArcGIS Server 9.2: Software Development Kit

Build and deploy web & enterprise geospatial applications and services
Productivity boost with out-of-the-box IDE integration
Software Development Kit (SDK) includes :
.NET components
Web ADF
Mobile ADF
Java components
ArcGIS
Web ADF Mobile Business
Web map
Enterprise ADF Applications
Applications

Integration Environment

Plus the Web Mobile Web Enterprise


ArcGIS Explorer
SDK for custom tasks .NET Java

Software Development Kit (SDK)


55
Architecutural Components of ArcGIS Server

Applications

ArcGIS ArcGIS ArcGIS WebMap ArcGIS Mobile Composite


Desktop Explorer Applications Applications Applications

Application
Developers Web
Framework Services Web
Controls

Back Office
Server
Software Coarse-grained
Components ArcObjects

Fine-grained
ArcObjects

GIS
Resources
2D Mapping 3D Globe Geodatabase Locator Spatial Analysis

56
Developing Web Applications

Choices on how to get started developing


Beginner: Edit the web application created in the Website Manager
Intermediate: Start from a template integrated into the development
environment
Advanced: Start from web controls or Types

Use Environment like Visual Studio (.NET)

Comprehensive Software Developer Kit

57
Edit the Application Created by Manager

Easy transition from Website Manager to a development environment

58
Start with Web Mapping Application Template

ESRI Web Mapping Application Template gets


installed into the development environment

59
Develop Using the ESRI Web Controls

ESRI Web Controls get installed into the development environment

60
Web ADF Web Controls

21+ Web Controls & Tasks


All AJAX Enabled
Support for ADF Datasources
Enhanced for performance

61
FloatingPanel Control

CompositeControl
Container for one or more Web controls
Rendered as a CSS
in a browser

62
Web ADF Graphics Layer

Extends System.Data.Dataset
Collection of DataTables:
ElementGraphicsLayer
Store geometry and symbol together, per row
Multiple geometry type in the same layer
FeatureGraphicsLayer
Store geometry and attributes
Geometry should be the same type
Use feature renderer to apply symbolization

63
Agenda

ArcGIS Server Overview


GIS Services
Author, Serve, Use
DEMO
Map Caching
Web Mapping Applications
GIS Tasks
DEMO
Service Capabilities
DEMO
Webservice access
DEMO
Web ADF Introduction
DEMO
Further Resources
Questions and Comments

64
Demo: Custom Task: GeoRSS Reader

65
Demo: Custom Application-
Directors Viewer for Inspection Requests

66
Editions and Levels of ArcGIS Server

Capacity
Level
Edition Edition includes Workgroup Enterprise
Basic ArcSDE SQL Server Any
Geodata services for replication Express supported
10 users database
Functionality

Unlimited
users
Standard Basic features plus
Map, globe, geocoding,
geoprocessing (ArcView tools)
Web ADF
Advanced Standard features plus
Advanced geoprocessing
Web editing
Mobile ADF (Enterprise level)
67
Resources

In the box
ArcGIS Server Help
Developer Help (SDK)
Online
Web Help http://webhelp.esri.com
Online version of Server Help
Updated frequently
ESRI Developer Network http://edn.esri.com
All SDK documentation and samples - updated
User forums
User-
User-submitted samples (ArcScripts)
ArcGIS Server Blog http://blogs.esri.com
Support.esri.com
White papers, bug database, etc.
Training http://training.esri.com

68
Questions and Comments?

69

S-ar putea să vă placă și