Presentation is loading. Please wait.

Presentation is loading. Please wait.

Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Designing and Using.

Similar presentations


Presentation on theme: "Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Designing and Using."— Presentation transcript:

1 Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Designing and Using Cached Map Services Eric Rodenberg & Tom Shippee

2 Esri UC2013. Technical Workshop. What’s covered in this session Agenda - Map cache basics - Map cache best practices - Map cache administration - Map cache clients Designing and Using Cached Map Services

3 Esri UC2013. Technical Workshop. What’s covered in other sessions Image service caching - Caching Imagery using ArcGIS Caching Imagery using ArcGIS - Understanding Pyramids, Overviews and Caching Understanding Pyramids, Overviews and Caching Caching in the cloud - Building and Maintaining ArcGIS Online Hosted Tiled Services Building and Maintaining ArcGIS Online Hosted Tiled Services - Using the Power of Amazon EC2 to Build Map Caches Using the Power of Amazon EC2 to Build Map Caches Advanced topics - Enterprise Architectures for Large Map Caching Projects Enterprise Architectures for Large Map Caching Projects - ArcGIS Server Performance & Scalability—Optimizing GIS Services ArcGIS Server Performance & Scalability—Optimizing GIS Services - Automating Cache Workflows and Building Tile Usage Heat Maps Automating Cache Workflows and Building Tile Usage Heat Maps - Designing and Using Cached Map Services

4 Esri UC2013. Technical Workshop. Understanding caching concepts Map cache basics Designing and Using Cached Map Services

5 Esri UC2013. Technical Workshop. How does a map cache work? …ProjectLabel Render Dynamic map Client ArcGIS Server Cached Map Designing and Using Cached Map Services

6 Esri UC2013. Technical Workshop. Three reasons to care about map caches Performance Scalability Cartographic quality Designing and Using Cached Map Services

7 Esri UC2013. Technical Workshop. Many layers fused into one tile Transportation Hydrography Landbase 1: :32000 Cache tile 1:8000 1:4000 1:2000 Designing and Using Cached Map Services

8 Esri UC2013. Technical Workshop. Authoring of map document Use scale dependent display Group layers by scale Use annotation For mash up use ArcGIS Online scales Designing and Using Cached Map Services

9 Esri UC2013. Technical Workshop. What should you cache? Base maps Operational layers that are - High volumes of traffic - Don’t change often - Cover small scales only Designing and Using Cached Map Services

10 Esri UC2013. Technical Workshop. Best performing image formats Vectors few colors PNG (auto selects bit depth) Vectors many colors MIXED with 90 quality Imagery MIXED with 55 quality Vectors or labels + Imagery MIXED with 90 quality Designing and Using Cached Map Services

11 Esri UC2013. Technical Workshop. Choosing the best image format Large number of continuous colors - JPEG ( start with quality = 55 ) - Mixed ( if transparency required ) JPEG 55 – 15KBJPEG 90 – 33KB Which one looks better? JPEG 90 – 21KBJPEG 55 – 10KB Which one looks better? Designing and Using Cached Map Services

12 Esri UC2013. Technical Workshop. What is antialiasing? High quality line/label rendering on vector maps Web standard (Google, Bing, AGOL) Takes LONGER to cache Designing and Using Cached Map Services No antialiasingBest antialiasing

13 Esri UC2013. Technical Workshop. Publish, configure and build a cached map service. Building a map cache Designing and Using Cached Map Services

14 Esri UC2013. Technical Workshop. Strategies and techniques Map caching best practices Designing and Using Cached Map Services

15 Esri UC2013. Technical Workshop. Understanding cache structure Bundle 8 x 8 supertiles (4K) 16, 384 tiles Designing and Using Cached Map Services Bundle 8 x 8 supertiles Supertile 16 x 16 tiles Standard tile 256 x 256 pixels

16 Esri UC2013. Technical Workshop. Track cache status Status.gdb - File geodatabase in caching folder - Accessed by reporting tools for status - Records cache task progress - Identify completed tiles Copied to an ArcMap folder - Cache error review - Time aware cache analysis Designing and Using Cached Map Services

17 Esri UC2013. Technical Workshop. Explore a 3D time aware view of cache generation. Anatomy of a cache Designing and Using Cached Map Services

18 Esri UC2013. Technical Workshop. Supertiles and Labeling ArcGIS Server Draws Large Areas - Reduces duplicate labels Duplication May Occur - Use Annotation or MapPlex Labels with Rules - Use Map Server Cache Tiling Scheme To Polygons Supertile Boundary Designing and Using Cached Map Services

19 Esri UC2013. Technical Workshop. You don't need to generate everything Cache by feature - Polygon features - Generates all tiles for intersecting supertiles Saves on… - Generation time - Processor resource - Disk usage NM highway case study: Build 20 of 64 supertiles for the bundle shown Designing and Using Cached Map Services

20 Esri UC2013. Technical Workshop. Pre-create coupled with cache on demand Pre-create high use areas - Population centers - Parks, roads, attractions Features - Cover popular extent - Generate key tiles - All others generated on demand Generated on demand Designing and Using Cached Map Services

21 Esri UC2013. Technical Workshop. The ideal tiles to cache on demand Few simple features - Barren homogenous area - Rarely accessed Large scales only - Draw relatively fast Designing and Using Cached Map Services

22 Esri UC2013. Technical Workshop. Handling tiles you do NOT create Create “No Data” tile - Same image format (JPG or PNG) - Same size (256 x 256) - Save in cache folder … \ \_alllayers How to - Knowledge base article has sample files No Data

23 Esri UC2013. Technical Workshop. Build a test cache and note the following Creation time Appearance Client performance Cache size validation Designing and Using Cached Map Services

24 Esri UC2013. Technical Workshop. Generate and update techniques Map cache administration Designing and Using Cached Map Services

25 Esri UC2013. Technical Workshop. Setting the Number of Instances 8CPU’s = 8 Instances 8 CPU Cache Tools Geoprocessing Service - Start with N - N = CPU’s per server - See cloud session for Amazon recommendations Designing and Using Cached Map Services

26 Esri UC2013. Technical Workshop. System caching services System services - Caching Tools: Sets caching instance per machine - Caching Controllers: Assign cache jobs to instances Manage Map server Cache Tiles - Controls instances per job - Set to -1 to use all instances Per job Per machine Designing and Using Cached Map Services

27 Esri UC2013. Technical Workshop. Update a cache using a staging server Production ArcGIS Server Instance Staging ArcGIS Server Instance Map service Cache folder All layers for cartography of map service Layers for TOC and Query (On-demand caching needs the full map to build the cache) Designing and Using Cached Map Services

28 Esri UC2013. Technical Workshop. Organize GIS Servers into Clusters - Generate Cache on its own cluster - Scale or reconfigure while caching ArcGIS Site Caching Cluster GIS Server C GIS Server C Isolate caching to certain servers cache Cache Tools instances Default Cluster GIS Server B GIS Server B GIS Server A GIS Server A Map Service instances Designing and Using Cached Map Services

29 Esri UC2013. Technical Workshop. Organize GIS Servers into Clusters - Generate Cache on its own cluster - Scale or reconfigure while caching ArcGIS Site Isolate caching to certain servers Default Cluster GIS Server A GIS Server A Map Service instances Caching Cluster GIS Server C GIS Server C Cache Tools instances GIS Server B GIS Server B cache Designing and Using Cached Map Services

30 Esri UC2013. Technical Workshop. Cache failure & recovery – Out of the box Out of the box tools Course grained for locating extents Fix errors: Re-cache extents where errors reported Report Errors… Fix Errors Export Errors to File… Details… Designing and Using Cached Map Services

31 Esri UC2013. Technical Workshop. Use Status.gdb to identify and rebuild errors. Recovering cache failure Designing and Using Cached Map Services

32 Esri UC2013. Technical Workshop. Cache failure & recovery – sample tools Cache Validation Tools Fine grained for locating tiles by file size Custom tool available via resources.arcgis.com Designing and Using Cached Map Services

33 Esri UC2013. Technical Workshop. Cache update automation Use Model Builder to script update automation - Rebuild Specific Tiles - Export to Python - Schedule Run Time Useful update tools - Compare feature classes Compare feature classes - Show edits since reconcile Show edits since reconcile See demo theater - Automating Cache Workflows and Building Tile Usage Heat Maps Automating Cache Workflows and Building Tile Usage Heat Maps

34 Esri UC2013. Technical Workshop. Cache export tool Designing and Using Cached Map Services Export tiles - Based on extent or polygon features - Convert storage format - Use for cache import or as a disconnected cache Exported using Nevada and Utah state boundary features. Export

35 Esri UC2013. Technical Workshop. Cache import tool Designing and Using Cached Map Services Import tiles - Based on extent or polygon features - Must have same storage format Import from a previously exported map cache. Import

36 Esri UC2013. Technical Workshop. Optimizing web applications Map cache clients Designing and Using Cached Map Services

37 Esri UC2013. Technical Workshop. Using multiple domains With multiple services - Use a different domain for each service With one service - API’s support multiple URLs for a single layer - Cautions - Use with small cache tiles - Reduce browser caching results in more HTTP connections var layer = new esri.layers.ArcGISTiledMapServiceLayer( "http://www.mydomain.com/arcgis/rest/services/myMap/MapServer", { tileServers: [ " ", " “] }); Designing and Using Cached Map Services

38 Esri UC2013. Technical Workshop. Request large scales as dynamic maps Supported by map services & Web API’s - Cached (most scales) - Use: ArcGISTiledMapServiceLayer - Dynamic (largest scales only) - Use: ArcGISDynamicMapServiceLayer Scale Levels 10 – 17 CachedScale Levels 18 – 19 Forced Dynamic Draw Designing and Using Cached Map Services

39 Esri UC2013. Technical Workshop. Configure a web application to make dynamic requests at large cache scales. Dynamic & tiled hybrid Designing and Using Cached Map Services

40 Esri UC2013. Technical Workshop. Please fill out the session evaluation First Offering ID: 1224 Second Offering ID: 1336 Online – Paper – pick up and put in drop box Thank you… Designing and Using Cached Map Services

41 Esri UC2013. Technical Workshop. Designing and Using Cached Map Services


Download ppt "Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Designing and Using."

Similar presentations


Ads by Google