Feature services allow you to serve feature data and nonspatial tables over the internet or your intranet. This makes your data available for use in web clients, desktop apps, and field apps.
As the publisher of a feature service, you determine what functionality is available to the people who use the feature service, define the styling used when displaying the features, and define templates for editing data. When people access your feature service, they can view your data and the data associated with it through relationship classes. They can use your feature service in the maps and apps they create, they can run analysis on the layers in the service, and, if you allow it, they can edit the data in the feature service.
Feature services run on ArcGIS GIS Server sites.
For information on what functionality is available in feature services based on your ArcGIS Enterprise license or server role, see the functionality matrix.
How do I create a feature service?
To publish a feature service, you need to prepare your data and publish it. The specific steps you take to do this depend on what functionality you require for your feature service.
|Required functionality||Summary of steps to create||What you get|
If you are using one of the databases listed in User-managed data stores in ArcGIS Enterprise portals, do the following to create a database data store item in a portal and bulk publish ArcGIS Server map and feature services (map services with feature access enabled):
If you want to access the data in your enterprise geodatabase or database as read-only features, you can alternatively publish just a map service.
In addition to the previous requirements, I also want people to edit data through the feature service, and I want to see the changes in the data source when accessed through other clients.
Complete the previous three steps, plus enable editing capabilities on the feature service when you publish.
See Tutorial: Perform web editing using data from an enterprise geodatabase or Tutorial: Perform web editing using data from a database for a detailed walk-through of creating a feature service that references the data in your enterprise geodatabase or database data source.
People need to edit the feature service when disconnected from the network, but I want the edits they make while offline to be synchronized with my system of record.
To complete the workflow, create a web map containing the feature layer and configure styling and other settings. Configure the web map so it has the same sharing settings as the feature layer.
If people will use the web map offline in ArcGIS Collector, you also need to configure the basemap in the web map so it can be taken offline.
I have file data sources—such as CSV, Microsoft Excel spreadsheets, and shapefiles—from which I want to create feature services.
I have data in a geodatabase or database, but I want to create a copy of the data to share with the public for community input.
To complete the workflow, create a web map containing the hosted feature layer and configure styling and other settings. Share the web map with everyone (public). Add the web map to a web app and configure the app with the tools the public will need to provide input. Share the web app with everyone (public).
I have data in a geodatabase or database, but I want to create a copy of the data to share with my organization or a subset of the members of my organization.
I use ArcGIS GeoEvent Server to stream live data, but I want to archive some of that data locally.
My data is stored in an enterprise geodatabase and it is registered for branch versioning.
Feature services created as a result of running a tool or app
You also create hosted feature layers as a result of running certain tools or apps.
- Certain standard feature analysis tools in an Enterprise or ArcGIS Online portal create hosted feature layers as output.
- Some of the GeoAnalytics Tools you run in an Enterprise portal or ArcGIS Pro create hosted feature layers or hosted spatiotemporal feature layers as output.
- The analyses you run in ArcGIS Insights may result in new hosted feature layers.
- When you create an ArcGIS GeoPlanner project, an editable hosted feature layer is created to store project feature data.
- When you create a survey in ArcGIS Survey123, an editable hosted feature layer is created to record survey input.
- When you create an ArcGIS Workforce project, a hosted feature layer is created for data collection.
- ArcGIS Tracker creates a hosted spatiotemporal feature layer to track locations. The portal administrator can create hosted feature layer views from this feature layer.
- ArcGIS Mission Manager creates a hosted spatiotemporal feature layer each time you create a mission. If your Enterprise deployment does not have a spatiotemporal big data store configured, ArcGIS Mission Manager creates a hosted feature layer instead.