370 likes | 613 Views
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). Objectives.
E N D
ESRI ArcGISServer 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)
Objectives • Quick introduction to ArcGIS Server • ArcGIS Server architecture • Web application development options • Optimising a web mapping application • Supporting tools (customisation)
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.
The ArcGIS Server model Author geographic content Publish geographic content Serve published content
Types of ArcGIS Server services Map View or query a 2D map on the server Image Quick access to Geocoded Image Files Globe View or query a 3D globe 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 Geocode Run an address locator Mobile Publish data to Mobile ADF and ArcPad Geometry Geometry Manipulation such as buffering, simplifying, and projecting
ArcGIS Server clients Desktop Web Mobile ArcGIS Explorer Open API’s Desktop Web browsers Mobile ArcGIS Explorer Third party
Objectives • Quick introduction to ArcGIS Server • ArcGIS Server architecture • Web application development options • Optimising a web mapping application • Supporting tools (customisation)
ArcGIS Server Components • Server Object Manager (SOM) • Manages the set of services distributed across one or more SOCs • Applications connect to SOM • Server Object Containers (SOCs) • Hosts the ArcGIS Server services • All services run on all container machines
ArcGIS Server Components Application SOCs SOM
Objectives • Quick introduction to ArcGIS Server • ArcGIS Server architecture • Web application development options • Optimising a web mapping application • Supporting tools (customisation)
Web Applications development options • Web API’s • JavaScript • Flex • Silverlight • WebADF’s • .NET • Java http://resources.esri.com/arcgisserver/index.cfm?fa=applications
How do I decide? • Consideration: • Your skills and passion • Level of complexity required • Your constraints (standards, legacy applications) • Functionality • Design
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
Objectives • Quick introduction to ArcGIS Server • ArcGIS Server architecture • Web application development options • Optimising a web mapping application • Supporting tools (customisation)
Servicing requests Hardware and software options Configure your web server Configure web application server configuration options and design (SOC’s and SOM’s)
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
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
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
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
New optimised maps (9.3.1) • New optimised drawing engine • Anti-aliasing • Resource is map service definition file (.msd) • Map Service Publishing Toolbar
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
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
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
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
Storage DBF file Raster file Shape file Personal GDB File GDB ArcSDE GDB
Objectives • Quick introduction to ArcGIS Server • ArcGIS Server architecture • Web application development options • Optimising a web mapping application • Supporting tools (customisation)
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
Objectives • Quick introduction to ArcGIS Server • ArcGIS Server architecture • Web application development options • Optimising a web mapping application • Supporting tools (customisation)
ESRI ArcGISServer Behind the scenes Pavel Janda pjanda@compass.ie