ArcGIS Create TPK Tile cache

Source: Internet
Author: User

I. Background knowledge 1. What is TPK?

A tile package (. TPK) is a set of slices (images) that can be published as Web slices or web elevation layers in a map or raster dataset. In addition, a tile package can be used as a basemap in an ArcGIS application.

Slices are encapsulated in a single file (. tpk file), and you can share the file like any other file. You can email this file, copy it to a network area, or upload it to ArcGIS online or Portal for ArcGIS.

TPK the internal structure of the file?

2. Why do I create a map cache slice?

Map Cache Tiles Geowebcache (GWC)

TPK is a new data file type for ArcGIS 10.1 (as of today's ArcGIS version has been updated to ArcGIS 10.4), which is used to package a slice file in a trip offline map package, TPK can be at an ArcGIS runtime or ArcGIS for The Android/ios is loaded as a tile basemap.

For example, you are doing an ArcGIS for Android/ios application, taking into account the mobile phone charges and loading speed, want to package the map locally, that is, from the mobile client to load the map package locally. These packaged slice data are TPK files.

Because the ArcGIS API does not support the loading of MXD, since it is a standalone version, it does not have access to external arcserver or other map services. This requires the TPK file, the Basemap data in advance into the cache, put under the running program, you can. In this way, the system is not only small, but ArcGIS is used for free.

3. What are the methods for creating tile caches in ArcGIS, and what are the respective ones?

Two. Details how to create a tile cache in ArcGIS

There are four ways to create a tile cache in ArcGIS 10.x (Tools):

1. Create the TPK tile cache in ArcMap

1) Open ArcMap and import the layer to open the. Mxd document;

2) Create an XML tiling scheme file;

You can generate an XML tiling scheme file that defines the scale level, the tile size, and other properties that the map service caches. This tool is useful if you want to create a tiling scheme that you can use in multiple caches. The tiling scheme file can be loaded when the cache is created in ArcGIS for Desktop or in ArcGIS Server Manager, or you can run the create Map server cache to pass the tiling scheme file directly as a parameter.

A tiling scheme is a mapping between a source map document spatial reference and a tile grid that explains how the client should reference the tiles in the cache. The slice grid uses the detail hierarchy (scale), row, and column reference scheme. The scheme also defines the scale levels (level of detail), tile size (in pixels), and the screen resolution most commonly used to display slices in the cache. To generate a map cache, you need to define a tiling scheme.

3) Enable "Shared slices" feature

Note that to enable this feature, you need to check the Enable ArcGIS Runtime tool checkbox in the ArcMap Options dialog box, the Shared tab page.

4) Share as Slice

This step requires importing the. xml file in step 2nd.

"File", "Share as", "Tile Package", go to the "tile package" parameter setting interface, set "Tile Package" (. tpk file storage path), "Slice format" (Set tile format, grading method and cut level), "Project description" ("Summary" and "label" is a two required option).

After the tile package is successfully created, the following prompt box appears:

ArcGIS Create TPK Tile cache

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.