Caching Imagery Using ArcGIS

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.
Esri UC 2014 | Technical Workshop | CAD: Lining Up CAD Data In ArcGIS Margaret M. Maher Author of “Lining Up Data in ArcGIS: a guide to map projections”
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.
Esri UC 2014 | Technical Workshop | Audience Participation URL: goo.gl/tN4Vzq Open in device browser… CAD: The ArcGIS for AutoCAD Plug-in.
ArcGIS 3D Analyst: Working with 3D Analyst and CityEngine
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 | Data Alignment and Management in ArcMap Lisa Stanners, Sean Jones.
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
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 | ArcGIS Data Reviewer Edwin Waite & Shankar Chandrasekaran Planning and Deploying Data Quality Services.
Esri UC 2014 | Technical Workshop | Fundamentals of working with geographic data Miriam Schmidts.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Caching Imagery Using.
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 UC 2014 | Technical Workshop | Animating Thousands of Graphics with ArcGIS Runtime SDK for Java Mark Baird and Vijay Gandhi.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Road Ahead - ArcGIS.
Working with Metadata in ArcGIS Aleta Vienneau. Working with metadata in ArcGIS View metadata Edit metadata Set your metadata style Leverage metadata.
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.
GeoPlannerSM for ArcGIS®: An Introduction
Esri UC 2014 | Technical Workshop | Designing and Using Cached Map Services Tom Brenneman & Eric Rodenberg.
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 UC 2014 | Technical Workshop | Managing Imagery and Raster Data Using Mosaic Datasets Kevin Armstrong.
Getting the most out of ArcMap Jack Horton & Jorge Ruiz-Valdepeña.
Esri UC 2014 | Technical Workshop | Creating Geoprocessing Services Kevin Hibma.
Esri UC 2014 | Technical Workshop | Using ArcGIS Online Analysis Widgets Shing Lin, Jerome Yang.
Esri UC 2014 | Technical Workshop | ArcGIS API for JavaScript: What’s New Derek Swingley Jerome Yang
Esri UC 2014 | Technical Workshop | Managing and Editing Annotation Wendy Harrison.
Esri UC 2014 | Demo Theater | Batch Geocoding Online Bruce
Data Alignment and Management in ArcMap
Publishing GIS Services to ArcGIS Server
Esri UC 2014 | Technical Workshop | ArcGIS API for JavaScript: An Introduction Kelly Hutchins Derek Swingley.
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 UC 2014 | Technical Workshop | Best Practices for Designing Effective Map Services Ty Fitzpatrick Tanu Hoque.
Esri UC 2014 | Technical Workshop | Migrating Data To The Parcel Fabric Christine Leslie Amir Bar-Maor.
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.
Managing Imagery And Raster Data Using Mosaic Dataset
Enhancing Web Map Performance in ArcGIS Online
Geoprocessing with ArcGIS for Server
Creating and Serving Tile Cache Imagery
Learning Common GIS Workflows
Best Practices for Designing Effective Map Services: Case Studies
Publishing image services in ArcGIS
Designing and Using Cached Map Services
GeoPlanner: Site Suitability Analysis
Best Practices for Managing Processed Ortho Imagery
Presentation transcript:

Caching Imagery Using ArcGIS Hong Xu, Hua Wei

Presentation Outline Why we cache imagery? Imagery caching methods Prepare mosaic dataset for caching Define caching scheme Typical caching workflows Publish cached image service on premise Publish hosted tile service on ArcGIS online Tips Type Presentation Title Here

Types of Raster Data in ArcGIS Three raster data model: raster dataset, mosaic dataset, and image service Raster Dataset A single image: TIFF, JP2000, and HDF etc. Mosaic Dataset A GDB model manages a collection of images References images on disk, on-the-fly processing Ortho-images (NAIP, DOQQ), Landsat, QuickBird, and etc. Image service Serve raster data Published from a raster dataset or a mosaic dataset Used for Visual interpretation (basemap) Analysis (classification, computation NDVI) Type Presentation Title Here

Properties of Raster Data: Mosaic Rule Image Service and Mosaic Dataset Query rasters if AOI Sort based on mosaic mosaic methods North west, By Attribute, Seamline, etc Close to center (Do NOT use for caching) Resolve overlaps with mosaic operators First, Last, Mean By center By Attribute Type Presentation Title Here

Properties of Raster Data – Raster Function Template (RFT) Support on-the-fly processing A raster function defines a processing algorithm Stretch, hillshade, NDVI, and etc. A RFT is a XML file that stores raster function(s) Created in raster function template editor Configure image service for on-demand server processing Configure mosaic dataset (10.3) Define l image service cache display Save renderer as an rft.xml from Symbology page Configure image service Shaded Relief Type Presentation Title Here

Mosaic Dataset and Image Service – Visible Ranges Rasters are visible if displayed in a resolution within visible ranges OID Shape Raster Name MinPS MaxPS LowPS HighPS Category … 1 Polygon <Raster> P01.met 400 10 40 Primary 2 P02.met 3 filename1.tif 4000 Overviews 4 filename2.tif MinPS and MaxPS define the visible ranges Pyramids resampled pixels added to sources images Increase HighPS and MaxPS Speed up display Overviews add new rows in the footprint table Increase levels of details Cell size=5000, blank Cell size=500, overviews Cell size=30, pyramids Type Presentation Title Here

Tile Cache Break raster into small image tiles A format used to store tiled cache Break raster into small image tiles Tiles are created at given tilling scheme Projection Scales (cell size) Tile size Format Cache extent Tiles are organized by sub folders By scales Type Presentation Title Here

Tile Cache is a Raster Dataset Browse in Catalog Copy/Paste Display in Map 3 bands and 8 bit A way to store large raster dataset on disk Compact and no size limit Fast An example source images: 47.3G (3b, uncompressed, 0.6m), cache size: 17G (level from 0.59, compression quality 75) Type Presentation Title Here

Why We Cache? Speed up display Reduce storage Cache is a snapshot Burn process chain in cache tiles Retrieve and draw image tiles directly, no additional process Reduce storage Store tile in compressed/fast performed format Cache is a snapshot Given mosaic method Given renderer Used for applications of less change Type Presentation Title Here

Mosaic Dataset and Tile Cache Caching Imagery Using ArcGIS

Presentation Outline Why we cache imagery? Imagery caching methods Review caching methods Characteristics of caching imagery Image service vs. map service caching? Prepare mosaic dataset for caching Define caching scheme Typical caching workflows Publish cached image service on premise Publish hosted tile service on ArcGIS online Tips Type Presentation Title Here

Caching Methods Cache using Desktop Cache using ArcGIS Server Single machine, no need to use server Cost effective Cache using ArcGIS Server Image service and map service Scalable, leverage multiple servers Cache online Need to upload source data, not applied for large image collection Consume ArcGIS online credit Type Presentation Title Here

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 Cache using ArcGIS server and publish on ArcGIS Online Re-use tile cache for cached services on premise On premise Image service Map Images Mosaic dataset ArcGISOnline Tile Cache Caching methods Caching Imagery Using ArcGIS

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 Type Presentation Title Here

Maximum Source Cell Size (MSCS) System default MSCS Set MSCS MSCS 300m 30m 300m 30m MSCS Mosaic Dataset Cache Mosaic Dataset Cache Type Presentation Title Here

Presentation Outline Why we cache imagery? Imagery caching methods Prepare mosaic dataset for caching Pyramids and overviews Make seamless mosaic Techniques to define color for cache Define caching scheme Typical caching workflows Publish cached image service on premise Publish hosted tile service on ArcGIS online Tips Type Presentation Title Here

Prepare Mosaic Dataset Create mosaic dataset Web Mercator Add data Do you build pyramids? Yes Do you build statistics? No for processed data: NAIP, DOQQ, etc Yes for sensor data: Landsat, IKONOS, etc Type Presentation Title Here

Prepare Mosaic Dataset Perform operations to make it look good Clip black corners using Build Footprint tool Resolve the shift using Block Adjustment toolset (new in 10.3) Type Presentation Title Here

Prepare Mosaic Dataset Perform operations to make it look good Color correction using Color Balance Mosaic Dataset tool Generate Seamlines using Build Seamline GP tool Type Presentation Title Here

Prepare Mosaic Dataset Overviews Do I need to build overviews? Image service cache or desktop cache from mosaic dataset No Up level cache can be generated from previous cache level Map service cache or cache generated from .mxd Yes Mosaic dataset has to be visible at all cache levels Type Presentation Title Here

Prepare Mosaic Dataset Design cache display Set a default mosaic method Define 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) Set to image service Service can be accessed as dynamic and cached Type Presentation Title Here

Authoring a Mosaic Dataset Demo Authoring a Mosaic Dataset Caching Imagery Using ArcGIS

Presentation Outline Why we cache imagery? Imagery caching methods Prepare mosaic dataset for caching Define caching scheme Typical caching workflows Publish cached image service on premise Publish hosted tile service on ArcGIS online Tips Type Presentation Title Here

Define Caching Scheme Define levels based on your data 0 (156543) 1 (78272) …. 12 (38.2) 13 (19.1) 14 (9.55) 15 (4.78) 16 (2.39) 17 (1.19) 18 (0.59) 19 (0.29) Scales Define levels based on your data ArcGIS online scheme 20 levels Snap to the closet scale Higher resolution data Modify the scheme file, add 20th (0.145) level (http://esriurl.com/CacheTools) 20 (0.145) Type Presentation Title Here

Design Cache Scheme Format Mixed - compressed and handle transparency Tile format and compression Format Mixed - compressed and handle transparency JPEG – compressed Compression quality Default = 75 Recommended: 80 LERC - compressed and for elevation Compression quality Cache size (mb) Display quality 100 3550 original 90 1090 good 85 941 80 898 75 784 ok 40 398 poor Source image has 4 bands with a size of 3660 MB Type Presentation Title Here

Presentation Outline Why we cache imagery? Imagery caching methods Prepare mosaic dataset for caching Define caching scheme Typical caching workflows Publish cached services from imagery on premise Publish hosted tile service from imagery Tips Type Presentation Title Here

Cache Imagery using ArcGIS Server Cache through image service vs. map service Method Pyramids Overviews Resample from cache Usage Image service optional Not required Max source cell size dynamic and cached Map service yes No Mixed 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 Combine with other layers Can combine cache with feature layer for metadata Type Presentation Title Here

Publish a Cached Image Service Supports both dynamic image analysis and fast cache display Export a function template You have created the mosaic dataset created and a renderer function template 2. Publish the mosaic dataset and set RFT 3. Define tiling scheme Web Mercator, Mixed format, scales Maximum source cell size 4. Generate cache Using Map Cache tools Automatically during publishing Type Presentation Title Here

Publish a Cached Map Service For fast display and metadata information 1. In ArcMap add the following the tile cache created the feature class generated from the mosaic dataset (http://esriurl.com/CacheTools) 2. Publish the map and import same tiling scheme Do not generate cache 3. Import the tile cache Or Copy the tile cache folder to ArcGIS server map cache folder Rename the folder to be “Layers” Type Presentation Title Here

Create an image service cache Demo Create an image service cache Caching Imagery Using ArcGIS

Publish Hosted Tile Service from Imagery Upload data or upload cache? Use map, cache imagery at ArcGIS Online Copy source images and overviews Store source images and cache tiles Simple, useful for image data of small size Cache imagery on desktop and upload the cached tiles You can make sure the cache tiles good before uploading Only store cached tiles online ArcGIS Online Useful for caching sensor data and image of large volume Type Presentation Title Here

Publish Hosted Tile Service from Using Desktop 1. Create tile cache using Desktop’s Tile Cache toolset Tile Cache tools on Desktop Generate tile cache from mosaic dataset, raster dataset, .lyr, .mxd (10.2) Does not need server license Parallel processing Generate using Manage Tile Cache tool Use default ArcGIS Online tilling scheme If different, define using Generate Tile Cache Tiling Scheme tool Type Presentation Title Here

Publish Hosted Tile Service from Using Desktop 2. Create and upload tile package Create a tile package from a tile cache Use Export Tile Cache tool Push the tile package to ArcGIS Online Use Share Package tool Type Presentation Title Here

Publish Hosted Tile Service from Using Desktop Publish the tile package Log on to ArcGIS Online account Publish the item as a tiled map service Optionally, delete the tile package to save space Type Presentation Title Here

Share Imagery to ArcGIS Online Demo Share Imagery to ArcGIS Online Caching Imagery Using ArcGIS

Presentation Outline Why we cache imagery? Imagery caching methods Prepare mosaic dataset for caching Define caching scheme Typical caching workflows Publish cached image service on premise Publish hosted tile service on ArcGIS online Tips Type Presentation Title Here

Tip #1 Update Cache Update existing cache Use Generate Dirty Area tool to produce the AOI polygon from mosaic dataset Generate cache for AOI Desktop: Manage Tile Cache Image service cache/Map cache: Manage Map Service Cache tools Type Presentation Title Here

Tip #2 Update Cache Desktop tile cache Expending cache Desktop tile cache Cache new data and import to existing cache Image service cache Publish the updated mosaic as a new service Copy conf.cdi to your cache Run the Manage Map Server Cache Status tool to update cache status Generate empty tiles or AOI tiles Online: no solution Data expended beyond the cache extent Mosaic dataset boundary updated after adding data How to handle cache expansion? Type Presentation Title Here

Tip #3 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 Type Presentation Title Here

Tip #4: Avoid Creating Tiles 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 Type Presentation Title Here

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 Type Presentation Title Here

Demo of Large AGS Online Service Caching Imagery Using ArcGIS

Summary Author mosaic dataset for caching Generate cache from image service or mosaic dataset is faster Leverage maximum source cell size setting Generate Tile cache on Desktop is recommended way to publish hosted tile service from imagery Additional Help CACHE tools: http://esriurl.com/CacheTools LTS for image caching is at http://esriurl.com/ImageCacheLTS Type Presentation Title Here

Offering ID: 1149 Please fill out the session survey: Thank you… Please fill out the session survey: Offering ID: 1149 Online – www.esri.com/ucsessionsurveys Paper – pick up and put in drop box Type Presentation Title Here

Type Presentation Title Here