Image tile service
An image tile service is a type of data service that stores and provides access to image tiles. An image tile service can also package image tiles for offline use as image tile packages. Image tile services are created and managed using data management tools and are accessed with a REST API.
Mapping applications typically use client APIs and image tile services to access and display image tiles in a map or scene.
Key features
- Securely store image tiles in the ArcGIS Platform.
- Efficiently display large amounts of pre-rendered geographic data.
- Create image tile services from feature layers.
- Access and view image tiles while offline.
How to use an image tile service
You typically use an image tile service by:
- Creating an image tile service using data managament tools.
- Displaying image tiles from the image tile service in a map or scene.
How an image tile service works
An image tile service is accessed using the base service URL and consists of properties describing the service. Some key properties are:
- Name
- Default geographic extent for viewing tiles
- Bounding geographic extent for all tiles
- Supported image formats
- Tiling information
An image tile service also provides:
- A REST API for programmatic access.
- A web page for exploring and interacting with the image tile service.
- Operations for working offline with image tiles stored in the image tile service.
Image tile service URL
To access an image tile service, use the host, unique service ID, and service name.
For example:
Parameters
f
The format (f
) parameter defines how data is returned.
- To get JSON for parsing in an application, use
json
. - To get formatted JSON, use
pjson
Formatted JSON includes additional whitespace which can add to the size of the JSON that is returned, though this is often insignificant as responses are gzip compressed. . - To access the web interface, use
html
or omit thef
parameter.
Image tile URL
To get an image tile from an image tile service, use the host, unique service ID, and service name, and path to tiles in {z}/{y}/{x}
format.
Example:
Examples
Get tile format information from an image tile service
Get the image tile service description properties for this service as formatted JSON.
The service is shared with everyone, so no token
is required.
The properties show that the image tiles in the image tile service are created in Web Mercator projection (this is a common projection for web basemaps, and has a WKID or 3857
). Each tile is a JPEG
image of 256
x256
pixels at 96
pixels per inch.
Tiles are available for zoom levels (also known as LODs, or Levels of Detail) 0 through 23.
Authentication
This service requires authentication using either:
- API key: Allows access to location services using a permanent token that can be restricted to specific services and included in public applications.
- ArcGIS Identity (OAuth 2.0): Uses OAuth 2.0 protocol to authenticate app users with their ArcGIS Online or Enterprise Identity. The resulting token is used to access the service.
Tutorials
To learn how to work with image tile services that are hosted in the ArcGIS Platform, try the following tutorial.