Introduction to CacheWorx Lucian Plesea - Esri Robert Jensen - Esri.

Slides:



Advertisements
Similar presentations
Practical Caches COMP25212 cache 3. Learning Objectives To understand: –Additional Control Bits in Cache Lines –Cache Line Size Tradeoffs –Separate I&D.
Advertisements

Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Designing and Using.
Why python? Automate processes Batch programming Faster Open source Easy recognition of errors Good for data management What is python? Scripting programming.
Computer Organization and Architecture
Esri UC 2014 | Technical Workshop | Automating Cache Workflows and Tile Usage Heat Maps Eric J. Rodenberg.
CMPT 300: Operating Systems I Dr. Mohamed Hefeeda
ArcGIS Data Reviewer: An Introduction
1 Foundations of Software Design Fall 2002 Marti Hearst Lecture 4: Operating Systems.
1 School of Computing Science Simon Fraser University CMPT 300: Operating Systems I Dr. Mohamed Hefeeda.
19 th Advanced Summer School in Regional Science An introduction to GIS using ArcGIS.
Adobe Photoshop 6 Advanced Level Course. Easy Fixes Photoshop is the best tool to fix old, torn and faded photographs, and can fix almost all flaws in.
What Geoprocessing? Geoprocessing is the processing of geographic information. Commonly used to describe a process when geographic objects are manipulated.
Chris Cummings.  Traffic cameras recording targets and retrieving them  Cameras track targets and the data needs to be recorded, but how are you supposed.
Data starts with width and height of image Then an array of pixel values (colors) The number of elements in this array is width times height Colors can.
Take An Internal Look at Hadoop Hairong Kuang Grid Team, Yahoo! Inc
Sharing imagery and raster data in ArcGIS
Technical Workshops | Esri International User Conference San Diego, California ArcMap: Tips and Tricks Miriam Schmidts Jorge Ruiz-Valdepena July 23 – 27,
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
Troubleshooting SQL Server Enterprise Geodatabase Performance Issues
Introduction to InVEST ArcGIS Tool Nasser Olwero GMP, Bangkok April
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 10 Database Performance Tuning and Query Optimization.
ZTF Server Architecture Roger Smith Caltech
Introduction to Spatial Analysis and Spatial Modeling
ArcGIS Network Analyst: Network Analysis with ArcGIS Online
Building Offline Apps With the ArcGIS Runtime SDKs
GIS On The Web: An Overview of ArcIMS. *The easy flow of geographic data can offer real-life solutions in many societal sectors, including municipal government,
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Caching Imagery Using.
Publishing to ArcGIS for Server
Data Interoperability Basics Bruce Harold & Dale Lutz.
Best Practices for Managing Historical Imagery Cody Benkelman Kumar Dhruv.
Index Building Overview Database tables Building flow (logical) Sequential Drawbacks Parallel processing Recovery Helpful rules.
Best Practices for Managing Scanned Imagery Peter Becker.
Chapter 8 – Main Memory (Pgs ). Overview  Everything to do with memory is complicated by the fact that more than 1 program can be in memory.
ArcGIS Data Reviewer: An Introduction
Preparing and Deploying Data to ArcPad Juan Luera.
2010 Indiana GIS Conference ESRI Technical Session 2010 Indiana GIS Conference ESRI Technical Session February 24, 2010 ArcGIS Server Performance Tuning.
Technical Workshops | Esri International User Conference San Diego, California Creating Geoprocessing Services Kevin Hibma, Scott Murray July 25, 2012.
Introduction to ArcGIS
Raster Concepts.
The Design and Implementation of Log-Structure File System M. Rosenblum and J. Ousterhout.
Esri UC 2014 | Technical Workshop | Designing and Using Cached Map Services Tom Brenneman & Eric Rodenberg.
ArcGIS Server. What’s Interesting? Cartography Caching Geoprocessing Security Future ArcGIS Explorer (a side note)
2007 Sept. 14SYSC 2001* - Fall SYSC2001-Ch4.ppt1 Chapter 4 Cache Memory 4.1 Memory system 4.2 Cache principles 4.3 Cache design 4.4 Examples.
Caching Imagery Using ArcGIS
By Teacher Asma Aleisa Year 1433 H.   Goals of memory management  To provide a convenient abstraction for programming.  To allocate scarce memory.
Esri UC 2014 | Technical Workshop | Developing Offline Apps with ArcGIS Runtime SDKs Euan Cameron Justin Colville Will Crick.
Going Google… Drive Eric Yamoah and Haris Azmi August 14, 2015.
Things to Remember When working with digital images.
GIS in the cloud: implementing a Web Map Service on Google App Engine Jon Blower Reading e-Science Centre University of Reading United Kingdom
Chapter 12 Web Publishing. Goals Become an image optimization master Get a handle on Web file formats, including SVG and SWF Learn about Web image color.
File Systems cs550 Operating Systems David Monismith.
Publishing GIS Services to ArcGIS Server
-gSSURGO- Using the Soil Data Management Toolbox Steve Peaslee USDA-NRCS National Soil Survey Center Lincoln, Nebraska March.
Geospatial Data Abstraction Library(GDAL) Sabya Sachi.
Sharing Maps and Layers to Portal for ArcGIS Melanie Summers, Tom Shippee, Ty Fitzpatrick.
Introduction to InVEST ArcGIS Tool
Memory Management.
Virtual Memory - Part II
Network Analysis with ArcGIS Online
2D Drawing Basics 1.
Introduction to Computers
Chapter 8: Main Memory.
What's New in eCognition 9
CSE451 Virtual Memory Paging Autumn 2002
Network Analysis using Python
Publishing image services in ArcGIS
What's New in eCognition 9
What's New in eCognition 9
Designing and Using Cached Map Services
ArcGIS Pro: An Introduction Overview
Presentation transcript:

Introduction to CacheWorx Lucian Plesea - Esri Robert Jensen - Esri

What is CacheWorx? Content Assessment Error Detection Optimization Opportunities Resource Allocation ArcMap Toolbox - Freeware: Apache 2.0 License - Download(s) from ArcGIS Online Cache content analysis toolset

Compact Cache 101 Compact cache format stores multiple adjacent tiles in a single bundle - 128x128 tiles per bundle, 2 files per bundle - Fast access, efficient storage utilization, easy to handle Compact Cache V2 - Bundle format change, in ArcGIS Reorganize bundle content - Combined index and data into a single file - Even faster access When dealing with cache, each level has to be treated separately CacheWorx

Types of problems CacheWorx helps solve Coverage: - Are there Bundles/Tiles at a specific location? Geolocation: - Where does this file go? Disk Usage: - What areas take most storage space? Quality Control: - Is the cache readable? - Do tile features match expectations? CacheWorx

Five Tools Coverage Update, Coverage To Feature and Coverage Selection - Coverage file holds bundle presence information - Inventory and visualize bundle extents Bundle Size - Generates rasters where each pixel value is equal to a bundle file size Tile Synopsis - Builds rasters where each value represents a tile characteristic: - Size, Average, Quality, Bands CacheWorx

Coverage and Bundle Size Demo CacheWorx

Bundle Size CacheWorx

Bundle Size Values are equal to bundle size in KB Very fast Zero means No Bundle File names: BundleSize_LXX.tif CacheWorx

Coverage Tools Coverage Update - Inventories existing bundles - Run every time something changes - Controls what bundles are seen by the rest of CacheWorx Coverage To Feature - Each bundle in the coverage file generates a feature - Draw – controls if the output feature class is loaded in current map - Output saved in a geodatabase Coverage Selection - Internal use, selects bundles from a coverage based on area of interest CacheWorx

Tile Synopsis Analysis at the tile level - Minimum unit is still a bundle Single tool, four different modes Size - Average - Quality - Bands May use an area of interest - If a bundle intersects the AOI, the whole bundle is done - Buffering is in tiles, works across levels Output and execution time can be large - Size is fast and limited by IOPS, the others are mostly IO bandwidth limited - Average uses all available CPUs - Output can be split in chunks CacheWorx

Tile Synopsis Demo CacheWorx

Tile Size Pixel value is tile size Fast, only reads the index Position and values can be inaccurate - Accurate for V2 bundles - Accurate for full, unmodified bundles Zero usually means No Tile Negative values flag incorrect content File names: Size_LXX.tif CacheWorx

Tile Average Pixel is tile average, per band - Verifies that tiles are readable Output is always RGBA Slow, read and checks everything - JPEG avoids full decompression, much faster - Uses all cores Zero Alpha means no data - Except for fully transparent PNG Purple flags corrupt values (255;0;255;255) File names: Average_LXX.tif CacheWorx

Tile Quality Pixel value equal to: - JPEG: Q setting - PNG8: Number of colors used - PNG24/32, grayscale PNG: Not valid Slow, does read the data Zero means No Tile or not valid File names: Quality_LXX.tif CacheWorx

Tile Bands Pixel value is number of channels: 1 – Grayscale JPEG/PNG or Palette PNG 2 – Gray + Alpha PNG; Not generated by ArcGIS 3 – RGB 4 – RGBA 128 – Format Error for JPEG Slow, reads all data Zero means No Tile! Acurately! File names: Bands_LXX.tif CacheWorx

Tile Synopsis: Summary - Each mode has a role: - Size mode is the fastest, has lots of useful information, may be misleading for non-V2 bundles - Average mode reads and decompresses every tile, flags errors, most complete check. Needs lots of CPUs for PNG. Valid PNGs may be fully transparent - Quality mode shows the standard JPEG quality or the number of colors used in a PNG8 tile. Does not work for PNG24/32 - Bands mode works for both PNG and JPEG, appositionally accurate. Flags corrupt JPEG - Output files are TIF files with fixed names, stored in an output folder - Allows all levels and multiple modes to be run in one execution - Have to be explicitly loaded - Use area of interest to restrict what bundles it runs on - Pad is a buffer in tile units, can be positive or negative - Chunk size is in bundles, used to limit the size of the output files CacheWorx

Info: CacheWorx V2 - Compact Cache V2 support - LERC (elevation, no average) toolbox - Bug fixes, speed and stability improvements CacheWorx - Previous Version, 10.2 toolbox, 32 bit CacheID - Similar to Coverage to Feature, rich set of attributes, Python only On ArgGIS Online - Search for CacheWorx in Tools, show ArcGIS Desktop content - Search Google for “Esri CacheWorx” CacheWorx

Thank You! Questions?