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

Slides:



Advertisements
Similar presentations
IMAGE SERVICES WHAT ARE THEY AND HOW DO YOU USE THEM?
Advertisements

Publishing GIS Services to ArcGIS for Server
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Designing and Using.
Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California ArcGIS Tracking Analyst – an Introduction Morakot Pilouk,
Esri UC 2014 | Technical Workshop | Automating Cache Workflows and Tile Usage Heat Maps Eric J. Rodenberg.
Technical Workshops | Esri International User Conference San Diego, California Managing Imagery and Raster Data Using Mosaic Datasets Hong Xu, Prashant.
ArcGIS 3D Analyst: Working with 3D Analyst and CityEngine
Geocoding - Advanced Techniques
Esri UC2013. Technical Workshop.Editing & Maintaining Parcels with ArcGIS.
Esri International User Conference | San Diego, CA Technical Workshops | Managing and Editing Annotation Natalie Vines Samantha Keehan July 14, 2011.
Esri UC 2014 | Technical Workshop | Working with Elevation Services in ArcGIS Online Cody A. Benkelman.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Editing in ArcMap:
Sharing imagery and raster data in ArcGIS
Sharing Geographic Content
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Best Practices for.
Technical Workshops | Esri International User Conference San Diego, California Advanced Image Management using the Mosaic Dataset Vinay Viswambharan,
Batch Geocoding Online Bruce Harold
Gary MacDougall Premjit Singh Managing your Distributed Data.
Technical Workshops | Esri International User Conference San Diego, California ArcMap: Tips and Tricks Miriam Schmidts Jorge Ruiz-Valdepena July 23 – 27,
Esri UC 2014 | Technical Workshop | Accessing Spatial Databases in ArcGIS using Query Layers Annie Sasidar.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Generalization for.
Fundamentals of working with geographic data
Esri UC 2014 | Technical Workshop | Fundamentals of working with geographic data Miriam Schmidts.
Best Practices for Designing Effective Map Services Tanu Hoque.
Enabling High-Quality Printing in Web Applications
Introduction to CacheWorx Lucian Plesea - Esri Robert Jensen - Esri.
Best Practices for Managing Historical Imagery Cody Benkelman Kumar Dhruv.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Road Ahead - ArcGIS.
Esri UC 2014 | Technical Workshop | Esri Roads and Highways: Integrating and Developing LRS Business Systems Tom Hill.
Esri UC 2014 | Demo Theater | Working with Scientific Data using Mosaic Dataset Hong Xu, Dan Zimble.
Best Practices for Managing Scanned Imagery Peter Becker.
Preparing and Deploying Data to ArcPad Juan Luera.
Technical Workshops | Esri International User Conference San Diego, California Creating Geoprocessing Services Kevin Hibma, Scott Murray July 25, 2012.
Raster Concepts.
ArcGIS Server for Administrators
Esri UC 2014 | Technical Workshop | Python Map Automation – Beyond the Basics of arcpy.mapping Jeff Barrette Jeff Moulds.
Technical Workshops | Esri International User Conference San Diego, California Supporting High-Quality Printing in Web Applications with ArcGIS 10.1 for.
GeoPlannerSM for ArcGIS®: An Introduction
Esri UC 2014 | Technical Workshop | Designing and Using Cached Map Services Tom Brenneman & Eric Rodenberg.
Caching Imagery Using ArcGIS
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Geocoding – An Introduction.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Supporting High-Quality.
Esri UC 2014 | Technical Workshop | Developing Offline Apps with ArcGIS Runtime SDKs Euan Cameron Justin Colville Will Crick.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Building Map Books.
Esri UC 2014 | Technical Workshop | Managing Imagery and Raster Data Using Mosaic Datasets Kevin Armstrong.
Esri UC 2014 | Technical Workshop | Creating Geoprocessing Services Kevin Hibma.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Customizing the Operations.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Migrating Parcel data.
Esri UC 2014 | Technical Workshop | Managing and Editing Annotation Wendy Harrison.
Esri UC 2014 | Demo Theater | Batch Geocoding Online Bruce
Publishing GIS Services to ArcGIS Server
Esri UC 2014 | Technical Workshop | Generalization for Multi-scale Mapping Edie Punt Jamie Conley.
Esri UC 2014 | Technical Workshop | Editing in ArcMap: An Introduction Lisa Stanners, Phil Sanchez.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Working with Metadata.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Working with Cartographic.
Technical Workshops | Esri International User Conference San Diego, California Branching and Iteration in ModelBuilder Shitij Mehta July 24, :15.
Esri UC 2014 | Technical Workshop | Best Practices for Designing Effective Map Services Ty Fitzpatrick Tanu Hoque.
Esri UC 2014 | Technical Workshop | Enhancing Web Map Performance in ArcGIS Online Julia Guard & Melanie Summers.
Best Practices for Managing Processed Ortho Imagery Cody A. Benkelman.
Sharing Maps and Layers to Portal for ArcGIS Melanie Summers, Tom Shippee, Ty Fitzpatrick.
Enhancing Web Map Performance in ArcGIS Online
Geoprocessing with ArcGIS for Server
Creating and Serving Tile Cache Imagery
Python Map Automation – Beyond the Basics of arcpy.mapping
Learning Common GIS Workflows
Python – Beyond the Basics
Publishing image services in ArcGIS
Designing and Using Cached Map Services
GeoPlanner: Site Suitability Analysis
Best Practices for Managing Processed Ortho Imagery
Presentation transcript:

Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Caching Imagery Using ArcGIS Hong Xu, Hua Wei

Esri UC2013. Technical Workshop. Presentation Goals Publish cached services from imagery on premise using ArcGIS server Publish tiled map services from imagery on ArcGIS Online Caching Imagery Using ArcGIS Discuss caching methods, workflows, best practices

Esri UC2013. Technical Workshop. Review of Imagery Caching Workflows Cache image service on premise using ArcGIS server Cache map service on premise and ArcGIS Online Cache on Desktop and publish on ArcGIS Online Caching Imagery Using ArcGIS Map Image service Tile Cache ArcGISOnline On premise Mosaic dataset Caching methods Images Cache using ArcGIS server and publish on ArcGIS Online Re-use tile cache for cached services on premise

Esri UC2013. Technical Workshop. Concept Review - Mosaic Dataset A GDB data model used to manage and process a collection of images - Add data using raster type - Contain many items which reference images - Process images on-the-fly using raster functions - Mosaic images on-the-fly Authored from Desktop - Using Geoprocessing tool - ArcGIS Editor license Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. Concept Review - Image Service An ArcGIS Server service for serving raster data Sources of image service - Mosaic datasets, raster datasets - Mosaic layer and raster layer - Publish from mosaic dataset requires ArcGIS for Server Image Extension license A dynamic service - On-the-fly image processing - Data for analysis - Image cataloging A cached image service - Background layer - Fast display Caching Imagery Using ArcGIS Sources Server

Esri UC2013. Technical Workshop. Function Template A template(.rft.xml) file stores a raster function Raster function – description of an image process - Processing pixels at run time - Stretch, Hillshade, Shaded Relief, Renderer functions, etc. - Add to the mosaic dataset or items - Produce good visualization for caching Register as server raster functions for image service - Cache generation takes the default function - Provide dynamically server side processing Caching Imagery Using ArcGIS Shaded Relief

Esri UC2013. Technical Workshop. Mosaic Dataset – Mosaic Method Define the display order of rasters in a mosaic dataset - North west, - By Attribute, - Seamline, etc Mosaic operators A property of mosaic dataset Affect cache display Caching Imagery Using ArcGIS By center By Attribute (CloudCover)

Esri UC2013. Technical Workshop. Mosaic Dataset – Visible Ranges OIDShapeRasterNameMinPSMaxPSLowPSHighPSCategory … 1Polygon P01.met Primary 2Polygon P02.met Primary 3Polygon filename1.tif Overviews 4Polygon filename2.tif Overviews Cell size=500, overviews MinPS and MaxPS define the visible ranges Pyramids resampled pixels added to sources images - I ncrease HighPS and MaxPS - Speed up display - Good for dynamic service Caching Imagery Using ArcGIS Cell size=5000, blank Cell size=30, pyramids Overviews add new rows in the footprint table - Increase levels of details - Good for dynamic service

Esri UC2013. Technical Workshop. Building Mosaic Datasets for Caching Tips Pyramids - Suggested for on-demand image service caching - Not required if mosaic dataset is only for pre-caching Statistics - Do not calculate for processed images (DOQQ, NAIP, etc) - Suggested for some sensor images (16bit) - Use 2x2 skip factor for Gram-Schmidt pansharpen method Use color correction and seamlines techniques to make good looking mosaic dataset Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. Building Mosaic Datasets for Caching Tips (continue) Overviews - Required for caching from map - mosaic dataset needs to be visible at all cache levels - Required for on-demand image service caching - NOT required for pre-caching from imagery Adjust the renderer in Map for cache display - Save a layer (.lyr) - Cache rendered pixels - Applies to image service and Desktop cache - Save a renderer function (.rft.xml) - Applied to image service only Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. Authoring a Mosaic Dataset Demo Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. Why We Cache? Speed up display and data access - Burn process chain in cache tiles - Store tile in compressed/fast performed format - Reduce storage - Retrieve and draw image tiles directly Used for applications of less change - A snapshot of data at given time - A snapshot of given mosaic method - A snapshot of given renderer Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. Tile Cache A format stores cached tiles and used by - image service cache, map cache, desktop Tile Cache tool A folder that contains - cached image tiles - Stored as one sub folder per scale - Compacted or exploded - A tilling scheme at which these tiles are created - Projection, scales, tile size, format Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. Tile Cache – a Raster Dataset A raster dataset - Browse in Catalog - Copy/Paste - Display in Map A format that stores large raster dataset on disk - No size limit - Fast - Compact (save space) - Limited to 3 bands and 8 bit Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. Tilling Scheme for Imagery Projection - Web Mercator (ArcGIS Online) - Same as dataset - Use reference mosaic dataset to redefine if different - Add Reproject raster function Scales (cell sizes) - Minimum cell size of cache should be comparable to the cell size of the data Format - Mixed (default), JPEG - Default compression quality = 75 Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. Cache Generation Process from Imagery From bottom up - Tiles can be resampled from previous cache levels - Speed up cache generation - Overviews are not required Maximum source cell size - Above it, tiles resampled from existing cache tiles - Below it, tiles computed from source data - Not set, system to compute Not applicable for.mxd input - Mosaic dataset be visible at all cache levels Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. Maximum Source Cell Size (MSCS) System default MSCS Set MSCS Caching Imagery Using ArcGIS 300m 30m CacheMosaic Dataset 300m 30m CacheMosaic Dataset MSCS

Esri UC2013. Technical Workshop. Create a Tile Cache Using Desktop Tile Cache tools on Desktop - Does not need server license - Parallel processing Generate tile cache from - mosaic dataset, raster dataset,.lyr -.mxd (10.2) Step to generate - Define scheme using Generate Tile Cache Tiling Scheme tool (optional) - Generate using Manage Tile Cache tool - Optionally to use default tilling scheme Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. Create Tile Cache using Desktop Tools Demo Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. On Premise: Image Service Cache vs. Map Service Cache MethodRRDOVRResample from cache Uses Image service optionalNot requiredMaximum source cell size dynamic and cached services Map serviceoptionalyesNoMixed layers Image service cache - Save time on overview generation, fast in generating cache tiles - One service serve both dynamic and cached service Map service cache - Can combine cache with feature layer for metadata - Building overviews for mosaic dataset takes additional time Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. On Premise : Publishing a Cached Image Service 1. From the mosaic dataset created, save a renderer function template 2. Publish an image service Mosaic method Set server function … 3. Define tiling scheme Web Mercator, Mixed format, scales Maximum source cell size Export a function template Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. On Premise: Publishing a Cached Image Service (continue) Other ways to generate cache - Generate during publishing - Generate on-demand - Mosaic dataset must be visible at all defined scales (overviews) 4. Generate cache using Map Cache tools - All tools support image service - Caching status

Esri UC2013. Technical Workshop. On Premise: Publishing a Cached Map Service Using a Tile Cache 1. Publish a map service that contains feature class layer 2. Importing the tiling scheme from the tile cache Conf.xml 3. Publish and use “generate later” option 4. Import the tile cache - Or Copy the tile cache folder to ArcGIS server map cache folder - Rename to be “Layers” Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. Create an image service cache Demo Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. ArcGIS Online: Two Ways to Publish Tile Service Publish from map and cache tiles at ArcGIS Online - Simple to use - Copy source images and overviews - Store source images and cache tiles - Useful for image data of small size Create tile cache and upload the cached tiles - Create tile cache using Desktop tool - Or use ArcGIS Sever - QA the cache tiles before uploading - Only store cached tiles at ArcGIS Online - Useful for caching sensor data and image of large volume Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. ArcGIS Online: Publish from Tile Cache 1. Create a tile package from a tile cache - Use Export Tile Cache tool Caching Imagery Using ArcGIS 2. Push the tile package to ArcGIS Online - Use Share Package tool

Esri UC2013. Technical Workshop. ArcGIS Online: Publish from Tile Cache (Continue) Log on to ArcGIS Online account Publish the item as a tiled map service Optionally, delete the tile package to save space Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. Share Imagery to ArcGIS Online Demo Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. Tip #1: Use Tile Cache as Mosaic Dataset Overviews Skip building overviews during authoring mosaic datasets Cache it using Tile Cache tool or image service Add the tile cache back to mosaic dataset Applied to images of 3 bands Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. Tip #2: Avoid Generating Cache for NoData Area Using Mosaic Dataset Boundary Export mosaic dataset boundary as a feature class Generate cache at the designed scales with the exported boundary as AOI Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. Tips #3 Getting Metadata from Mosaic Dataset for Cached Services Use feature class to provide the metadata for the cache - A layer in cached map service on premise - A feature service to create a web map with the cache layer on ArcGIS Online Getting the feature class from mosaic dataset - Join footprint table and seamline table - Export rows that contains seamlines - Remove the fields that are not needed Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. Tip #4 Updating Cache Use Generate Dirty Area tool to produce the AOI polygon Update cache for the area of AOI - Manage Tile Cache - Manage Map Service Cache tools Handling mosaic dataset expansion - Cache has extent defined at the beginning - Won’t update automatically with the source data change - Define a lager boundary when authoring the mosaic dataset Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. Tip #5 Improve Performance Avoid caching over the network - Generate cache on the same machine as source images - External driver is faster than over network Number of processes vs. disk speed - Limited by disk speed # processes performance # CPUs Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. Demo of Large AGS Online Service Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. Summary Image service cache is faster to generate for services on premise Generate Tile cache on Desktop is recommended way to publish cached service on ArcGIS Online Tile cache can be used to store large mosaic in file system Using maximum source cell size can really improve your caching speed from image data Caching Imagery Using ArcGIS

Esri UC2013. Technical Workshop. Please fill out the session evaluation Offering ID: 1396 Online – Paper – pick up and put in drop box Thank you… Caching Imagery Using ArcGIS