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 and, if you allow it, they can edit the data in the feature service.
Feature services run on ArcGIS GIS Server sites.
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):
|
|
|
|
|
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. |
|
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. |
|
|
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 in your portal.
- 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.
Using feature services
You can connect to an ArcGIS GIS Server site with a user connection and add feature services to your map in ArcMap. If editing capabilities are enabled on the feature service, you can edit the data in the feature service.
You can connect to an ArcGIS Online or ArcGIS Enterprise portal and add hosted feature layers to your map. However, you cannot edit hosted feature layers in ArcMap.