36

ESRI ArcGIS Server Behind the scenes Pavel Janda [email protected]

Embed Size (px)

Citation preview

Page 1: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie
Page 2: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

Objectives

Quick introduction to ArcGIS Server ArcGIS Server architecture Web application development options Optimising a web mapping application Supporting tools (customisation)

Page 3: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

Objectives

Quick introduction to ArcGIS Server ArcGIS Server architecture Web application development options Optimising a web mapping application Supporting tools (customisation)

Page 4: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

What is ArcGIS Server You may already have geographic resources/

documents For example...

Maps – ArcMap documents Globes – ArcGlobe documents GeoProcessing Models – Toolboxes 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.

Page 5: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

The ArcGIS Server model

Author geographic content

Publish geographic content

Serve published content

Page 6: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

Types of ArcGIS Server servicesMap

View or query a 2D map on the server

ImageQuick access to Geocoded Image Files

GlobeView or query a 3D globe on the server

GeodataPerform data replication, extraction, or query over the intranet or Internet

GeoprocessingRun a tool or model on the server and get the results back

GeocodeRun an address locator

MobilePublish data to Mobile ADF and ArcPad

GeometryGeometry Manipulation such as buffering, simplifying, and projecting

Page 7: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

ArcGIS Server clients

Desktop Web browsers Mobile ArcGIS Explorer Third party

Desktop

Web

Mobile

ArcGIS Explorer

Open API’s

Page 8: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

Objectives

Quick introduction to ArcGIS Server ArcGIS Server architecture Web application development options Optimising a web mapping application Supporting tools (customisation)

Page 9: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie
Page 10: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

ArcGIS Server Components

Server Object Manager (SOM)Manages the set of services distributed

across one or more SOCsApplications connect to SOM

Server Object Containers (SOCs)Hosts the ArcGIS Server servicesAll services run on all container machines

Page 11: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

ArcGIS Server Components

SOCs SOM Application

Page 12: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

Objectives

Quick introduction to ArcGIS Server ArcGIS Server architecture Web application development options Optimising a web mapping application Supporting tools (customisation)

Page 13: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

The ArcGIS Server Overview

Page 14: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

Web Applications development options

Web API’s JavaScript Flex Silverlight

WebADF’s .NET Java

http://resources.esri.com/arcgisserver/index.cfm?fa=applications

Page 15: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

How do I decide?

Consideration: Your skills and passion Level of complexity required Your constraints (standards, legacy applications) Functionality Design

Page 16: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

Sample applications

National Biodiversity Data Centre mapping system

River Basin Management Plans mapping system EPA Unregulated Landfill Risk Assessment EPA Assimilative Capacity Modelling for

Industrial Discharge Licensing Generic Map Viewer – not being presented

Page 17: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

Objectives

Quick introduction to ArcGIS Server ArcGIS Server architecture Web application development options Optimising a web mapping application Supporting tools (customisation)

Page 18: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie
Page 19: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

Optimising a web mapping application

Page 20: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

Servicing requests

Hardware and software options Configure your web server Configure web application server

configuration options and design (SOC’s and SOM’s)

Page 21: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

Authoring Web maps

Authoring a map for ArcGIS Server has some restrictions!

We have to plan and design our maps for the Web

Dynamic mapping vs. cached maps

Page 22: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

Dynamic mapping

More layers = more work = more time rendering Don’t forget that symbology can

make one layer look like many

Set scale-dependent rendering for layers Use the same coordinate system for your data

and map Pre-calculate all you can Use the new optimisation toolbar

Page 23: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

Dynamic mapping

Simplify layer symbology – ESRI_Optimized style Halos, transparency, etc. – look nice, affect

performance… Choose colours to avoid dithering

Use field visibility Hide unnecessary attributes

Carry out joins in the RDBMS, not in MXD Use definition queries carefully

Consider creating DB views

Page 24: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

Dynamic mapping - Labelling

Labelling takes time: calculation and placement Avoid complex label expressions; pre-calculate if

possible Use indexed fields (reduce label SQL query and

complexity) Avoid special effects (fill patterns, halos, callouts,

background) Avoid Maplex for dynamic labelling

Consider annotation

Page 25: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

New optimised maps (9.3.1)

New optimised drawing engine Anti-aliasing

Resource is map service definition file (.msd)

Map Service Publishing Toolbar

Page 26: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

What is map caching?

Very effective way to make your maps run faster Entire map is pre-generated at several different

scales Only for static data

Page 27: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

Map caches

Fused Single image tiles for all map layers at each scale Best performance No control over individual layer visibility

Multi-layer Image tiles for each map layer at each scale level Only practical with ArcMap clients Avoid with web applications

Page 28: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

On-demand caching

To build a map cache could take days or weeks

Create tiles as they are visited by

users and adds them to your cache

First visitor to an area must wait

for tiles to be created

Pre-create tiles for areas that you

anticipate will be most popular

Page 29: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

Data (vector & raster)

Set minimum and maximum scale sensibly Use spatial views and spatial indexes Make sure pyramids are constructed for raster

data Raster datasets perform quicker than raster

catalogues … but takes longer to build

Page 30: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

Storage

ArcSDE GDB

FileGDB

PersonalGDB

Shapefile

Rasterfile

DBFfile

Page 31: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

Objectives

Quick introduction to ArcGIS Server ArcGIS Server architecture Web application development options Optimising a web mapping application Supporting tools (customisation)

Page 32: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie
Page 33: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

Biodiversity Maps - background

Mapping page is usually just the tip of the iceberg Data Validator Data Loader Species Dictionary Extractor Conversion tools Custom visualisation XML Framework

Page 34: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

XML-Driven Mapping Engine

Page 35: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie

Objectives

Quick introduction to ArcGIS Server ArcGIS Server architecture Web application development options Optimising a web mapping application Supporting tools (customisation)

Page 36: ESRI ArcGIS Server Behind the scenes Pavel Janda pjanda@compass.ie