HOW TO

Edit feature services from ArcGIS Server 10.5.x that have m-values in Collector for ArcGIS

Last Published: September 11, 2023

Summary

M-values are a geometry property of spatial data that are used to store route data. Certain clients block editing features that have m-values so that the existing m-values do not get lost when editing the geometry of these features. This presents a challenge in using Collector for ArcGIS, as it is not possible to edit these features.

Note:
Please note that there is an existing enhancement request marked as "In Product Plan" for this functionality.

ArcGIS Enterprise 10.5.x introduced an additional property that affects editing feature services that have m-values. This setting is 'Allow geometry updates without m-value'. This property can be used on layers in the feature service that have been enabled to store m-values, but the m-values are not being used when editing in Collector for ArcGIS. When feature geometries are edited through the feature service, NaN m-values are inserted if the client does not provide them. Therefore, this new setting allows for editing features services in Collector that have m-values coming from ArcGIS Server 10.5.1.

Procedure

Before beginning

  1. Check whether the ArcGIS Server feature service has m-values:
    1. Go to the REST endpoint of the feature service.
      Example:
      http://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer
    2. Click a specific layer in the feature service.
      Example:
      http://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer/4
    3. Look for the HasM property. If this is true, the feature service has m-values. If this is false, then the feature service does not have m-values.
      Example:
      HasM
  2. Check whether the data has m-values by using the following method:
    1. Browse to the location of the feature class in ArcCatalog.
    2. Right-click the feature class, and click Properties.
    3. On the General tab, the Geometry Properties section lists whether the features have M- or Z-values
      Example:
      FeatureClass

The following documentation explains the workflows for using the Allow geometry updates without m-value property:
Configure editable feature services that contain m-enabled layers
 

There are two workflows described below, depending on whether this property is enabled while publishing the feature service, or after the feature service is already published.

Enabling the property while publishing

  1. Click File > Share As > Service. Continue through the prompts until the Service Editor window opens.
  2. Select Feature Access on the service.
  3. In the Feature Access details pane, check the box next to Allow geometry updates without m-value.
Example:
AllowGeometry

Enabling the property on an existing ArcGIS Enterprise 10.5.1 feature service

  1. Open ArcGIS Server Manager and log in as the owner of the feature service or as the ArcGIS Server administrator.
  2. Click Services > Manage Services.
  3. In the Services module, click the name of the feature service to insert NaN m-values when the client doesn't supply one.
  4. In the Edit module, click Capabilities.
  5. Click the Feature Access option (the name, not the check box) under the Select and configure capabilities window. This displays the feature service properties.
  6. Check the Allow geometry updates without m-value check box.
Example:
ServerManager
  1. Click Save and Restart to apply the changes to the service.
Note:
To remove m-values entirely, this can be achieved with the following workflow: How To: Remove Z- and/or M-values from a feature class

Article ID:000016652

Software:
  • ArcGIS Server

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic