Data services, also referred to as hosted data services, are services you can create in ArcGIS to securely store, manage, and access your geographic data for your applications. Data services are different from ready-to-use services because you create and publish them dynamically with data management tools or scripting APIs.
When you use ArcGIS to host your data as services, each service is assigned a unique URL by the system, and each service supports a well-defined ArcGIS REST API endpoint. As a developer, you can access the service's REST API and build applications by using ArcGIS Maps SDKs, open source libraries, and scripting languages.
The main types of data services covered in this section are feature services, vector tile services, and map tile services. These are all supported by ArcGIS Platform, ArcGIS Online, and ArcGIS Enterprise.
Data services allow you to store, manage, and access all of the geographic data you need for applications in one location - ArcGIS. You can publish your data as different types of services such as feature services, vector tile services, and/or map tile services. The services have well-defined REST APIs that you can access with many different types of ArcGIS Maps SDKs, open source libraries, and applications. ArcGIS Maps SDKs and ArcGIS applications are designed to work optimally to provide high-performance geographic data access. All data storage and usage can be easily managed and monitored with different data management tools.
Below is a list of the key features that data services offer:
- Store large spatial and non-spatial datasets using ArcGIS Platform, ArcGIS Online, or ArcGIS Enterprise
- Secure data with ArcGIS security and authentication
- Leverage spatial indexes and caching
- Scale storage services if required
- Premium and local storage options are also available to achieve maximum performance
- Use web browser and desktop data management tools to manage data in a portal
- Import your data and create services dynamically
- Create new types of data services from existing services
- Update or replace your data
- Set sharing and security properties
- Control service capabilities available to clients
- Create and update spatial indexes
- Create and update tile caches
- Monitor all service usage
- Use ArcGIS API for Python or ArcGIS REST JS to automate management tasks
- Store your data securely as a feature service, vector tile service, or map tile service
- All services provide well-defined ArcGIS REST APIs
- Use built-in security, authentication, and sharing
- Optimize access with caching and indexing
- Perform SQL and spatial queries
- Edit, update, and append feature data dynamically
- Create and manage versions of data
- Support advanced data visualization
- Calculate statistics
- Export data
- Provide offline data support
- Build applications with ArcGIS Maps SDKs (optimized to interact with data services)
- Access with open source libraries such as Esri Leaflet, MapLibre GL JS, OpenLayers, and CesiumJS
- Use scripting languages such as ArcGIS API for Python and ArcGIS REST JS
- Interact with services through well-defined ArcGIS REST APIs
You can import and host many different types of geographic data as data services. The main requirement is that the incoming data has geometry coordinates and/or attributes (fields). The main storage formats are features, vector tiles, and map tiles.
Some examples of data you can host include the following:
- Points of interest, addresses, and attributes
- Trails, contours, lakes, and natural features
- Stores and business locations and attributes
- City, county, state, and country boundaries
- Land parcels and agriculture information
- Transportation and road networks
- Telecommunication infrastructure
- Gas, electric, water, and other utilities
- Health data
- Energy utilities
The steps to create data services for your applications include the following:
- Create services with data management tools
- Manage and configure services
- Access services with an API
Import data to create a feature layer
Use data management tools to import files and create a feature layer in a feature service.
Define a new feature layer
Use data management tools to define and create a new empty feature layer in a feature service.
Manage a feature layer
Use a hosted feature layer item to set the properties and settings of a feature layer in a feature service.
Create a vector tile service
Use data management tools to create a new vector tile service from a feature service.
Create a map tile service
Use ArcGIS Online or scripting APIs to publish a map tile service.
Add a feature layer
Access and display point, line, and polygon features from a feature service.
Add a vector tile layer
Access and display a vector tile layer in a map.
Add a map tile layer
Access and display a map tile layer in a map.
Style a feature layer
Use symbols and renderers to style feature layers.
Query a feature layer (spatial)
Execute a spatial query to get features from a feature layer.
Query a feature layer (SQL)
Execute a SQL query to access polygon features from a feature layer.
Edit feature data
Add, update, and delete features in a feature service.
Display a popup
Format a popup to show attributes in a feature layer.
Create a feature service for an app
Learn how to import parcel data, create and style a feature layer, and then access the features in an app.
Create a feature layer view for an editor app
Learn how to import parcel data, create and style a feature layer view, and then access the features in an editing app.
Create a vector tile service for an app
Learn how to import parcel data, style a feature layer, and then create a vector tile service for an app.
Create a map tile service for an app
Learn how to import contour data, style a feature layer, and create a map tile service for an app.
Add, update, delete, and query feature data.
Vector tile service
Store and access vector tile data.
Map tile service
Store and access map tile data.
Use Client APIs to create, manage, and access data services. The table below outlines the level of support for each API.
- 1. Use portal class and direct REST API requests
- 2. Access via ArcGIS REST JS
- 3. Requires manually setting styles for renderers
Manage API keys, service usage, and data with the ArcGIS Developers website.
Create, manage, and share content and data with GIS tools.
Create, manage, analyze, and share data, maps, and applications in your organization.
Create, explore, and share web maps for 2D applications.
Create, explore, and share web scenes for 3D applications.