- URL:
- https://<root>/<serviceName>/FeatureServer
- Methods:
GET- Operations:
- Append, Apply Edits, Create Replica, Extract Changes, Get Estimates, Query, Query Domains, Relationships, Synchronize Replica, Unregister Replica
- Child Resources:
- Layer
- Version Introduced:
- 10.0
Description
A feature service can contain datasets (for example, tables and views) with or without a spatial column. Datasets with a spatial column are considered layers; those without a spatial column are considered tables. A feature service allows clients to query and edit feature geometry and attributes.
This resource provides basic information about the feature service, including the feature layers and tables that it contains, the service description, and so on.
The capabilities property returns Create, Delete, Extract, Query, Update, Sync, Uploads, and Shared (added at ArcGIS Enterprise 11.4) capabilities. The Uploads capability is included if Create, Delete, or Update is enabled for a feature service. The Editing capability is included if Create, Delete, and Update is enabled and allow is true. The Sync capability allows editors to make local edits and periodically sync with the feature service. The Extract capability allows editors to create a local copy of data without the ability to sync with the feature service. The Shared capability allows users to add shared templates as well as update and delete the shared template they have created.
The max property returns the maximum number of records that will be returned at once for a query. The Feature Service resource has an input parameters option and out to support viewing of a feature service footprint.
The following properties describe features that have been added to Feature Service through the releases. If the property does not exist, it's equivalent to having a value of false or is not set:
haswill beVersioned Data trueif the data is versioned.supportedreturns the formats in which query results can be returned.Query Formats allowreturnsGeometry Updates trueif the geometry of the features in the layer can be edited.zandDefault enableare returned for a service configured with default z-values.Z Defaults supportswill beDisconnected Editing trueto indicate the support for disconnected editing.syncwill beEnabled trueto indicate the support for sync.supportswill beRegister Existing Data trueif the service supports registration of existing data forcreate. Only present ifReplica syncisEnabled true.supportswill beSync Direction Control trueif the service will allow control of data sync direction. Only present ifsyncisEnabled true.supportswill bePer Layer Sync trueif the layers can be synchronized independently, and the service will accept a value ofperfor the sync model during theLayer createoperation. IfReplica supportsisPer Layer Sync false, the only sync model supported isper. Only present ifReplica syncisEnabled true.supportswill bePer Replica Sync trueif the layers can be synchronized together, and the service will accept a value ofperfor the sync model during theReplica createoperation. IfReplica supportsisPer Replica Sync false, the only sync model supported isper. Only present ifLayer syncisEnabled true.supportswill beSync Model None trueif the service supports extracting data without the creation of a replica. Iftrue, the service will accept settingsyncfor the sync model during theModel=none createoperation.Replica supportswill beAttachments Sync Direction trueif the service supports options to define how attachments will be synced. Iftrue, the service will accept setting theattachmentsparameter during theSync Direction createoperation.Replica supportswill beRollback On Failure trueif therollbackparameter can be set toOn Failure trueorfalsewhen running the synchronizeReplica operation.supportswill beRollback On Failure falseif thesynchronizeoperation does not support the parameter.Replica supportswill beAsync trueif the service can execute sync operations asynchronously. Only present ifsyncisEnabled true.supportsin the root resource will beApply Edits With Global Ids trueif all layers in the service havesupportsasApply Edits With Global Ids true. See Feature Service Layer Properties for more details.- A feature service that supports the
appendAPI exposes thesupportsmetadata property. When theAppend supportsproperty is absent or isAppend false, the owner of the feature service cannot use theappendAPI. Also the Append capability cannot be added to a feature service if thesupportsisAppend true. See Append (Feature Service) or Append (Feature Service/Layer) for more details. - Introduced with the April 2021 ArcGIS Online release, the
supportedproperty, when present, describes the formats supported when exporting content from a feature layer item in a portal. The associated feature layer item can be found using the feature serviceExport Formats serviceproperty. The export operation is called through the Portal Directory (Sharing API) and is not a feature service operation, thus this property only applies to services that are federated with a portal.Item Id
New at 11.5
-
The
Synccapability is now supported with the following field types:esriField Type Time Only esriField Type Date Only esriField Type Timestamp Offset esriField Type Big Integer esriwith length 8 (64 bit)Field Type OID
-
Additional server logs have been added with usage information.
-
ArcGIS Enterprise on Kubernetes supports spatiotemporal-based hosted feature services.
-
Reference feature services now support the service-level and layer-level Append operations. Support for the Append operation is indicated on a service-level when the
supportsproperty set asAppend true. The layer resource will also advertise supported formats with thesupportedproperty.Append Formats -
Two additional properties have been added to the service resource:
supports: Will be true for services that are capable of supporting shared templates.Shared Templates supported: Lists the types of true curves that the service supports.Curve Types
New at 11.4
- The service-level Apply Edits operation now supports
pbfas an upload format. - The service's
fullproperty, and theExtent extentproperty returned by the service-level Get Estimates operation, will include z and m values (when applicable). - An option has been added to include applicable attribute rules in the mobile geodatabase generated by the Create Replica operation. For more information, see Using syncDataOptions
- A new service-level operation, Get Estimates, has been added. This new operation can be called on multiple layers at once, as compared to the layer-level Get Estimates operation that can only be performed on one layer at a time. The operation is supported when the
infoproperty is present on the service resource, which indicates what estimates are returned when the operation is called (e.g.In Estimates extent,count, etc.).
New at 11.3
-
The
esri,Field Type Time Only esri,Field Type Date Only esri, andField Type Timestamp Offset esrifield types have exited beta and are now supported.Field Type Big Integer -
Feature services can now be published from a Snowflake data source with Geography type using ArcGIS Pro 3.3 or later.
-
Feature services now support one-way feature service-to-feature service synchronization.
-
Support has been added for sync on services with 64 bit objectID fields and Utility Network data. The sync capability is not supported on services without Utility Network layers when 64 bit objectID fields are present.
-
Service webhooks are now supported with branch versioned data. See the Create webhooks documentation for more details.
-
The
hasproperty will beShared Templates trueif the service supports shared templates. To support shared templates, the service needs to be running on a geodatabase that has been created or upgraded using ArcGIS Pro 3.3 or later.
New at 11.2
General updates
The updates below have been added, in general, for hosted feature services and non-hosted feature services (referencing enterprise geodatabases) publish from ArcGIS Pro:
-
Oriented imagery data can now be published as feature service layers. These layers will be of the type Oriented Imagery Layers and will list information specific to oriented imagery under the
orientedlayer-level property. See the Oriented Imagery topic for more information.Imagery Info -
Feature services now support WKT2. Service-level operations that allow for spatial reference information as input for specific parameters will now accept a WKT2 value and generate an appropriate response. For more information on WKT2 examples, reference the following JSON example. For WKT2 values, see the Using spatial references documentation.
-
Four new field types have been added as beta features:
esri,Field Type Time Only esri,Field Type Date Only esriandField Type Timestamp Offset esri. The beta only applies to feature services that include these fields. The sync capability is not supported when these fields are present. TheField Type Big Integer esri,Field Type Time Only esriandField Type Date Only esrifields return ISO8601 values and require values in ISO8601 when applying edits.Field Type Timestamp Offset -
Support has been added for
esrifields that contain high precision values. These fields can contain up to millisecond precision, although some clients may not use the full precision for querying or editing. Both hosted feature services and non-hosted feature services referencing geodatabase datasets that include high precision date fields support these new field types. Support is indicated when aField Type Date esrifield has aField Type Date precisionproperty set as 1.
Hosted feature services
Feature services on relational data store in ArcGIS Enterprise now support contingent attribute values. Support for this is indicated when the service-level supports property is set as true .
Cloud Data Warehouse (CDW) feature services
Starting at ArcGIS Enterprise 11.2, feature services can now be published from an Amazon Redshift data source using ArcGIS Pro 3.2 or later.
New at 11.1
General updates
The updates below have been added, in general, for hosted feature services and non-hosted feature services (referencing enterprise geodatabases) publish from ArcGIS Pro:
- Starting at ArcGIS Enterprise 11.1, feature services can now be published from a Snowflake data source using ArcGIS Pro 3.1 or later.
- The service- and layer-level
supportedproperties have been expanded to includeExport Formats csvandgeojsonas supported formats for exported data. - Starting at ArcGIS Enterprise 11.1, the Create Replica operation will not require the
geometryparameter when itssyncparameter is set asModel none. This will cause all records to be included for the feature layer unless other filters are set. However, thegeometryparameter is required ifsyncvalues other than none are used.Model - Both the service- and layer-level
applyoperations now include theEdits editsparameter. This parameter references an upload ID from an uploaded file containing service edits, providing the option to pre-upload edits to the ArcGIS Server and reference them rather than provide edits in-line with the edits parameter. Support for the new parameter is indicated when the service- and layer-levelUpload Id supportsproperties, underApply Editsby Upload ID advanced, are set toEditing Capabilities true.
Enterprise geodatabase
The update below has been added for non-hosted feature services that reference enterprise geodatabase data and are published from ArcGIS Pro:
- Starting at ArcGIS Enterprise 11.1, the Extract Changes operation includes support for the
returnparameter. This parameter allows you to specify whether the full information for a deleted feature is returned, or just the feature's identifier.Deleted Features
Hosted feature services
The updates below have been added for hosted feature services from a relational data store:
-
Both the service- and layer-level
appendoperations feature the following enhancements: -
The Append capability can now be set for qualifying hosted feature services to allow non-service owners and non-organization administrators with access to the feature service to run the
appendoperations. In prior releases, the Append capability could not be set for hosted feature services, limiting the scope of those who could use theappendoperations on a given hosted feature service. -
The
esrifield type is now supported.Field Type Blob -
The Relationships resource is now supported for qualifying hosted feature services. Support for this is indicated when the service-level
supportsproperty isRelationships Resource true.
New at 11.0
General updates
The updates below have been added, in general, for hosted feature services and non-hosted feature services (referencing enterprise geodatabases) published from ArcGIS Pro.
- The feature service resource for hosted and non-hosted feature services published for ArcGIS Indoors include an
isproperty, set asIndoors Service true, on their service resource. Editable feature services with theisproperty asIndoors Service truecan be edited by viewer users if the organization has a valid Indoors license. - At this release, feature services can be published from a Google BigQuery data source using ArcGIS Pro 3.0 or later.
- The service-level
supportedproperty has been expanded to includeExport Formats shapefileas a supported value. - At this release, a file geodatabase extracted from a feature service using the
createoperation now includes aReplica GDBtable. This table contains the feature service and feature service layer resource JSON information of the service the table was extracted from. For more information, see the Create Replica topic._Service Items
Non-hosted feature services
The following updates apply to non-hosted feature services (referencing enterprise geodatabase data) published from ArcGIS Pro.
-
The
createoperation'sReplica replicaparameter has expanded itsOptions Syncaccepted property values, as indicated by the feature service'sData Options supportedservice-level property. For more information, see the Create Replica topic.Sync Data Options -
The
synchronizeoperation includes a new parameter,Replica reconcile, that can be applied to replicas created from branch versioned data where the feature service has theBranch Version versionsetting. For more information on the new parameter, see the Synchronize Replica topic.Per Downloaded Map -
The
extractoperation has been expanded to support the following changes, support for which depend on properties underChanges extracton the service-level resource:Changes Capabilities - A new parameter,
fields. Support for this is indicated when theTo Compare supportsproperty, underFields To Compare extract, is set asChanges Capabilities true. - The ability to return features rather than IDs only. Support for this is indicated when the
supportsproperty, underFeature Return extract, is set asChanges Capabilities true. - A new parameter,
server. Support for this is indicated when theGens supportsproperty, underServer Gens extract, is set asChanges Capabilities true. - The ability to return attachment differences. Support for this is indicated when the
supportsproperty, underReturn Attachments extract, is set asChanges Capabilities true
For more information on these changes, see the Extract Changes topic.
- A new parameter,
Hosted feature services
The following changes apply for hosted feature services:
- The service-level
applyoperation now supports anEdits asyncparameter. Support for this parameter is indicated when the service-levelsupportsproperty, underAsync Apply Edits advanced, isEditing Capabilities true. For more information on this new parameter, see the Apply Edits topic. - The service-level
applyoperation includes a new parameter,Edits return. Support for this new parameter is indicated by a feature service having the service-levelEdit Results supportsproperty, underReturn Edit Results advanced, set asEditing Capabilities true. To learn more about the new parameter, see the service-level Apply Edits topic.
The following updates apply to hosted feature services running on a relational data store:
-
The
Changecapability can now be enabled on a feature service resource using theTracking updateoperation. AddingDefinition Changeexposes theTracking extractoptions and adds theChanges extractproperty to the feature service resource. This property describes theChanges Capabilities extractoperation that are supported for that feature service.Changes
New at 10.9.1
- The feature service resource includes a
supportedproperty that describes the formats supported when exporting data. Data can be exported when the extract or sync capability is enabled and theExport Formats createoperation is called with theReplica syncoption.Model=none - The service level
applyoperation for hosted feature services in ArcGIS Online, and nonhosted feature services in ArcGIS Enterprise, includes an option to process requests asynchronously. This option is ideal for longer running edit operations that may otherwise time out. The async parameter can be used if the service resource has theEdits supportsproperty asAsync Apply Edits trueunderadvanced.Editing Capabilities
New at 10.9
- The feature service resource's
syncobject now supports aCapabilities supportsproperty. Hosted feature services, feature services running on branch versioned data or feature services running on nonversioned with archiving data can support bidirectional syncing. Currently bidirectional sync workflows require the target to be a hosted feature service running on either ArcGIS Online or ArcGIS Enterprise 10.9. Bidirectional syncing with another service requires replica tracking to be enabled on the data. For hosted feature services, replica tracking is automatically enabled when sync is enabled, starting at 10.9. For more information, see Share content with collaboration groups,Bi Directional Sync For Server create, andReplica synchronize.Replica - The
extractoperation includes a new parameter that, whenChanges true, returns whether geometry updates have been made to a layer in the feature service. The new parameter is supported when the service'sextractproperty includesChanges Capabilities supportsasReturn Has Geometry Updates true. - The
createoperation'sReplica syncparameter has been expanded to add full annotation and an option to include a subset of Utility Network system information when taking data offline. The servicesData Options supportedproperty indicates which of theSync Data Options syncare available for a service. See theData Options createoperation for more information on these values.Replica
New at 10.8.1
- Feature services now support topology layers. Topology layers are composite layers that reference
suband do not have anyLayers capabilities. Thesubreferences describe the layer's error features and dirty areas. In clients such as ArcGIS Pro 2.6, topology layers are used in conjunction with the validation service to support topology validation and error feature correction.Layer - When a topology layer is included, the
controllerarray property adds a reference to it in theDataset Layers topologyproperty. To see an example of topology layers being included in a feature service, see the topology example in the Example Usage section below.Layer Ids - New
advancedproperties in theReplica Resources Capabilities syncobject are provided for sync-enabled feature services published from ArcGIS Pro that reference enterprise geodatabase data. These describe new parameters that can be passed to the replicas resource. See Replicas for more details.Capabilities - Hosted and nonhosted feature services running on a federated server include a
serviceproperty at 10.8.1. This describes the ID of the associated feature layer item in the home app. Hosted feature services in ArcGIS Enterprise have supported this property since 10.7.Item Id - If the connected user has the Version Management privilege assigned to them through either being assigned the default administrator or a custom role, they can perform additional operations on branch versioned data (
isasData Branch Versioned true). This includes editing protected and private branch versions owned by others, as long as the service allows editing. This also includes being able to access and unregister replicas owned by others for services based on branch versioned data. A user with the Version Management privilege can sync to a protected default version on editable services based on branch versioned data.
New at 10.8
- The feature service resource now returns the
supportsproperty. This property is returned asDatum Transformation trueif the service supports the addition of datum transformations. Iftrue, Create Replica, the layer-level Query, Query Related, and service and layer-level Apply Edits operations will allow datum transformations. - The appropriate user type extension is required when editing feature services that contain Utility Network or Parcel Fabric layers. The user type extensions are not required to query Utility Network or Parcel Fabric layers through the feature service. The
userproperty of the Layer resource indicates whether the layer is part of aType Extensions parcelorFabric utility.Network - The
supportsproperty inReturn Service Edits In Source SR advancedindicates whether the option toEditing Capabilities supportsis available on the service's Apply Edits operation.Return Service Edits In Source SR - The
datumproperty indicates the default datum transformations applied with operations on the service.Transformations - The
referenceproperty represents the scale at which a participating layer's symbol size and text are fixed.Scale
Request parameters
| Parameter | Details |
|---|---|
| If Value: |
| The spatial reference of the geometry returned in footprints. This parameter is supported only when |
| Used to specify whether |
| The response format. The default response format is Values: |
Example usage
The following is a sample request URL for a feature service:
https://organization.example.com/<context>/rest/services/USA/FeatureServer?f=pjsonJSON Response syntax
{
"currentVersion": <currentVersion>,
"serviceDescription": "<serviceDescription>",
"hasVersionedData": <true | false>,
"supportsDisconnectedEditing": <true | false>,
"supportsDatumTransformation": <true | false>, //Added at 10.8
"supportsReturnDeleteResults": <true | false>,
"hasStaticData" : <true | false>,
"maxRecordCount" : "<maxRecordCount>",
"supportedQueryFormats": "<supportedQueryFormats>",
"supportsRelationshipsResource": <true | false>,
"supportsAppend": <true | false>,
"supportedAppendFormats": "<supportedAppendFormats>",
"supportsTrueCurve": <true | false>,
"supportedCurveTypes": [<Curve Types>] //Added at 11.5
"capabilities": "<capabilities>",
"description": "<description>",
"copyrightText": "<copyrightText>",
"userTypeExtensions": [<Extension Types>], //Added at 10.8
"advancedEditingCapabilities": {<advancedEditingCapabilities>},
"spatialReference": {<spatialReference>},
"initialExtent": {<envelope>},
"fullExtent": {<envelope>},
"allowGeometryUpdates": <true | false>,
"units": "<units>",
"syncEnabled" : <true | false>,
"supportedExportFormats": "<supported formats>", //Added at 10.9.1
"returnServiceEditsHaveSR": <true | false>, //Added at 10.7.1
//Added at 10.7
"validationSystemLayers": {
"validationPointErrorlayerId": <validationPointErrorlayerId>,
"validationLineErrorlayerId": <validationLineErrorlayerId>,
"validationPolygonErrorlayerId": <validationPolygonErrorlayerId>,
"validationObjectErrortableId": <validationObjectErrortableId>
},
//Added at 10.6.1
"extractChangesCapabilities": {
"supportsReturnIdsOnly": <true | false>,
"supportsReturnExtentOnly": <true | false>,
"supportsReturnAttachments": <true | false>,
"supportsLayerQueries": <true | false>,
"supportsSpatialFilter": <true | false>,
"supportsReturnFeature": <true | false>,
},
"syncCapabilities": {
"supportsASync": <true | false>,
"supportsRegisteringExistingData": <true | false>,
"supportsSyncDirectionControl": <true | false>,
"supportsPerLayerSync": <true | false>,
"supportsPerReplicaSync": <true | false>,
"supportsRollbackOnFailure": <true | false>,
"supportedSyncDataOptions": <supportedSyncDataOptions>,
"supportsQueryWithDatumTransformatiom": <true | false>, //Added at 10.8
},
"editorTrackingInfo": {
"enableEditorTracking": <true | false>,
"enableOwnershipAccessControl": <true | false>,
"allowOthersToUpdate": <true | false>,
"allowOthersToDelete": <true | false>
},
"documentInfo": {
"<key1>": "<value1>",
"<key2>": "<value2>"
},
//the feature layers published by this service
"layers": [
{ "id": <layerId1>, "name": "<layerName1>" },
{ "id": <layerId2>, "name": "<layerName2>" }
],
//the non-spatial tables published by this service
"tables": [
{ "id": <tableId1>, "name": "<tableName1>" },
{ "id": <tableId2>, "name": "<tableName2>" }
],
"relationships": [
{ "id": <relationshipId1>, "name": "<relationshipName1>" },
{ "id": <relationshipId2>, "name": "<relationshipName2>" }
],
"datumTransformations": [<datumTransformations>] //Added at 10.7.1
"enableZDefaults": <true | false>,
"isLocationTrackingService": <true | false>,
"isLocationTrackingView": <true | false>,
"isIndoorsService": <true | false>,
"zDefault": <zDefaultValue>
}JSON Response example
The following is an example of a feature service resource's JSON response:
{
"currentVersion": 11.1,
"serviceDescription": "Birds",
"hasVersionedData": false,
"supportsDisconnectedEditing: false,
"supportsDatumTransformation": true,
"supportsReturnDeleteResults": true,
"supportsRelationshipsResource": true,
"supportsAppend": true,
"supportedAppendFormats": "FILEGDB,PBF",
"supportsTrueCurve": true,
"supportedCurveTypes": [
"esriGeometryCircularArc",
"esriGeometryEllipticArc",
"esriGeometryBezier3Curve"
],
"syncEnabled": false,
"supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
"hasStaticData": false,
"maxRecordCount": 1000,
"supportedQueryFormats": "JSON",
"capabilities": "Query,Create,Delete,Update,Uploads,Editing,Extract,ChangeTracking,Sync",
"description": "",
"copyrightText": "",
"userTypeExtensions: [
"utilityNetwork"
],
"advancedEditingCapabilities": {
"supportsSplit": true,
"supportsReturnServiceEditsInSourceSR": true
},
"spatialReference": {
"wkid": 4326,
"latestWkid": 4326
},
"initialExtent": {
"xmin": -118.016756138237,
"ymin": 32.8933824408207,
"xmax": -116.532738278622,
"ymax": 34.3261469363675,
"spatialReference": {
"wkid": 4326,
"latestWkid": 4326
}
},
"fullExtent": {
"xmin": -117.855689264791,
"ymin": 32.5702577626442,
"xmax": -116.87086222794,
"ymax": 34.1460567673275,
"zmin": 0,
"zmax": 300,
"mmin": 3,
"mmax": 9,
"spatialReference": {
"wkid": 4326,
"latestWkid": 4326
}
},
"allowGeometryUpdates": true,
"units": "esriDecimalDegrees",
"syncEnabled": true,
"validationSystemLayers": {
"validationPointErrorlayerId": 1,
"validationLineErrorlayerId": 2,
"validationPolygonErrorlayerId": 3,
"validationObjectErrortableId": 5
},
"extractChangesCapabilities": {
"supportsReturnIdsOnly": true,
"supportsReturnExtentOnly": false,
"supportsReturnAttachments": false,
"supportsLayerQueries": false,
"supportsSpatialFilter": false,
"supportsReturnFeature": false,
"supportsReturnHasGeometryUpdates": true
},
"syncCapabilities": {
"supportsASync": true,
"supportsRegisteringExistingData": true,
"supportsSyncDirectionControl": true,
"supportsPerLayerSync": true,
"supportsPerReplicaSync": false,
"supportsRollbackOnFailure": false,
"supportedSyncDataOptions": 3
"supportsQueryWithDatumTransformation": true,
},
"editorTrackingInfo": {
"enableEditorTracking": false,
"enableOwnershipAccessControl": false,
"allowOthersToUpdate": true,
"allowOthersToDelete": false
},
"layers": [
{
"id": 0,
"name": "Sitings",
"parentLayerId": -1,
"defaultVisibility": true,
"subLayerIds": null,
"minScale": 0,
"maxScale": 0,
"geometryType": "esriGeometryPoint"
},
{
"id": 1,
"name": "NestingGrounds",
"parentLayerId": -1,
"defaultVisibility": true,
"subLayerIds": null,
"minScale": 0,
"maxScale": 0,
"geometryType": "esriGeometryPolygon"
},
{
"id": 2,
"name": "LandCover",
"parentLayerId": -1,
"defaultVisibility": true,
"subLayerIds": null,
"minScale": 0,
"maxScale": 0,
"geometryType": "esriGeometryPolygon"
}
],
"tables": [],
"relationships": [
{
"id": 0,
"name": "relationship_1"
}
],
"datumTransformations": [
{
"geoTransforms": [
{
"wkid": 15931,
"latestWkid": 15931,
"transformForward": false,
"name": NAD_1983_NSRS2007_To_WGS_1984_1"
}
]
},
{
"geoTransforms": [
{
"wkid": 15931,
"latestWkid": 15931,
"transformForward": true,
"name": NAD_1983_NSRS2007_to_WGS_1984_1"
}
]
}
],
"isIndoorsService": true,
"isLocationTrackingService": true,
"isLocationTrackingView": true
}The following is a portion of a JSON response example for a spatial reference, VCS, tolerance, resolution properties, and high model info:
...
"spatialReference": {
"wkid": 102100,
"latestWkid": 3857,
"vcsWkid": 115700,
"latestVcsWkid": 115700,
"xyTolerance": 0.001,
"zTolerance": 0.001,
"mTolerance": 0.001,
"falseX": -20037700,
"falseY": -30241100,
"xyUnits": 1.4892314192838538E8,
"falseZ": -100000,
"zUnits": 10000,
"falseM": -100000,
"mUnits": 10000
},
"heightModelInfo": {
"heightModel": "ellipsoidal",
"vertCRS": "WGS_1984",
"heightUnit": "meter"
},
...The following is an example of a feature service that includes topology layers:
{
...
"layers": [
{
"id": 0,
"name": "topo_1081.GDB.topo_2",
"parentLayerId": -1,
"defaultVisibility": true,
"subLayerIds": [
1,
2,
3,
4
],
"minScale": 0,
"maxScale": 0,
"type": "Topology Layer"
},
{
"id": 1,
"name": "Dirty Areas",
"parentLayerId": 0,
"defaultVisibility": false,
"subLayerIds": null,
"minScale": 0,
"maxScale": 0,
"type": "Feature Layer",
"geometryType": "esriGeometryPolygon"
},
{
"id": 2,
"name": "Point Errors",
"parentLayerId": 0,
"defaultVisibility": true,
"subLayerIds": null,
"minScale": 0,
"maxScale": 0,
"type": "Feature Layer",
"geometryType": "esriGeometryPoint"
},
{
"id": 3,
"name": "Line Errors",
"parentLayerId": 0,
"defaultVisibility": true,
"subLayerIds": null,
"minScale": 0,
"maxScale": 0,
"type": "Feature Layer",
"geometryType": "esriGeometryPolyline"
},
{
"id": 4,
"name": "Polygon Errors",
"parentLayerId": 0,
"defaultVisibility": true,
"subLayerIds": null,
"minScale": 0,
"maxScale": 0,
"type": "Feature Layer",
"geometryType": "esriGeometryPolygon"
},
{
"id": 5,
"name": "topo_1081.GDB.us_caps_test_2",
"parentLayerId": -1,
"defaultVisibility": true,
"subLayerIds": null,
"minScale": 0,
"maxScale": 0,
"type": "Feature Layer",
"geometryType": "esriGeometryPoint"
},
{
"id": 6,
"name": "topo_1081.GDB.us_caps_buff_2",
"parentLayerId": -1,
"defaultVisibility": true,
"subLayerIds": null,
"minScale": 0,
"maxScale": 0,
"type": "Feature Layer",
"geometryType": "esriGeometryPolyline"
},
{
"id": 7,
"name": "topo_1081.GDB.us_states_test_2",
"parentLayerId": -1,
"defaultVisibility": true,
"subLayerIds": null,
"minScale": 0,
"maxScale": 0,
"type": "Feature Layer",
"geometryType": "esriGeometryPolygon"
}
],
"tables": [],
"relationships": [],
"controllerDatasetLayers": {
"topologyLayerIds": [
0
]
},
"supportsDynamicLayers": true,
"enableZDefaults": false,
"allowUpdateWithoutMValues": false,
"supportsVCSProjection": true,
"referenceScale": 0,
"serviceItemId": "64bbff5e478f41cf8ddc6d7792b3d2eb"
},
...