ArcGIS Runtime SDK for Android development Note-data Creation: Compact slicing (server cache tiles)

Source: Internet
Author: User
Tags compact
<span id="Label3"></p><span style="background-color: #ffffff;"><span style="background-color: #ffffff;">1. Preface</span></span><p><p>A new tile cache file format has emerged in ArcGIS 10: compact Storage. Compared with previous loose storage (exploded), It has many advantages such as easy migration, faster creation, reduced storage space, and has become the default format for creating tile caches NOW.</p></p><p><p>The two most important files for compact tile storage are bundle and BUNDLX files, where bundle files are used to store tile data, and BUNDLX is the index file for the slice data in the bundle File.</p></p><p><p>You can store up to 128x128 (16384) slices in a bundle file, but creating a tile cache is not a single slice, but rather a 4096-pixel (no Antialiasing) or 2048-pixel (anti-aliasing) edge-length rendering. If the slice edge we select is 256 pixels long and anti-aliasing is turned on, each time the ARCSOC process creates a large image that is stitched into 8x8 (64) slices and then cut back into the bundle file.</p></p><p><p>, the blue border represents the bundle file, the black lattice is the tile when creating a large image, each slice in the black lattice, the figure is not shown.</p></p><p><p></p></p><p><p>Principle here do not do too much explanation, the concrete can refer to the article at the end of the reference link description!</p></p><p><p>Environment Readiness: ArcGIS for Desktop + ArcGIS for Server (see Help documentation for minimum supported VERSIONS)</p></p><p><p>Reprint Please specify source: http://www.cnblogs.com/gis-luq/p/4950157.html</p></p><p><p></p></p>2, Make step 1), Select File > Share as > Service in ArcMap<p><p></p></p>2), Select Public A service in the pop-up window, click Next<p><p></p></p>3), Select the ArcGIS Server you want to publish to, and set the service name<p><p></p></p>4), set which folder the service needs to publish to<p><p></p></p>5), set the relevant parameters of service publishing <ul> <ul> <li>Set use tiles from a cache</li> <li>Set tiling scheme tileing scheme</li> <li>Set the slice level (be careful not to set it too large, otherwise the volume is large release Slow)</li> </ul> </ul><p><p></p></p><p><p>Note: when publishing a service, you need to set the relevant parameters for the service, which requires special attention to the caching option, select using tiles from cache (pre-build cache). and select the tiling scheme for the service, which defaults to the tiling scheme used by ArcGIS online, which is the WGS84 Web Mercator projection, which, regardless of the Map's original spatial reference and projection, will be projected into this scheme (spatial reference:102100 ( 3857))</p></p><p><p>For a custom spatial reference and tiling scheme, you can first create a tiling scheme and then use a titing scheme file to Import.</p></p>6) Click Analyze to publish the service without errors<p><p></p></p>7) after the release, you can find the tiles in the service directory and copy the layers Folder.<p><p></p></p><p><p>Note: use is necessary to use the Layers folder as a whole, folder name can be modified, but the content can not be missing.</p></p>3. Loading layers in a mobile device<p><p>Adding layers to a mobile device is a simple process of copying a compact slice onto a mobile device and using Arcgislocaltiledlayer to instantiate the Load:</p></p><pre><pre><span style="color: #008000;">Add offline Basemap layers-compact cache tiles</span><br><span style="color: #0000ff;">New</span> <span style="color: #000000;">Arcgislocaltiledlayer (path); <span style="color: #008000;">//path for compact sectioning in SD card absolute path</span> mmapview.addlayer (localtiledlayer);</span></pre></pre>4. References<p><p>Http://www.cnblogs.com/yuantf/p/3320876.html</p></p><p><p>http://blog.csdn.net/warrenwyf/article/details/6069711</p></p><p><p></p></p><p><p>ArcGIS Runtime SDK for Android development Note-data Creation: Compact slicing (server cache tiles)</p></p></span>

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.