Yes, it's kind of a two-step process right now.
You can either do it with two related point features, or a single point feature. Either way the feature class that represents your collection point need to have an M-Value field as a Double in the attributes. If you are using the two related points you should have it in both.
Your point classes have to be M enabled.
Assuming you have a line layer that has been calibrated with your M values
For a single point process you will use a calc expression that inserts the M value in to the attribute field on creation only, then calls back to the original feature upon edit.
if ($editcontext.editType == "INSERT") {
return Geometry($feature).M
} else {
return $originalFeature.M_Val
}
The collection process then is
- tap the M-route,
- Choose "Find Measure"
- accept the measure popup.
- Field maps drops a pin on the route (this will ferry the M value to your feature)
- Use the "Collect Here" option, collecting your point.
- Important: do not update the point during this first stage, or you will lose the M value.
- Submit your point
- Tap the submitted point and select 'edit' in the popup.
- Tap your locator arrowhead (top right) in order to center on your position.
- Click "Update Point" to move the point.
- Submit the point again.
The expression will only populate the M value when you create it on the line the first time. After that you can move the point because it will call back to it's previous version for the M-value.
The second option is to have two related point classes. One point acts as your centerline reference point an the other is your feature point class
The expression in your feature point M value field would be something like
var refPoint
refPoint = First(FeatureSetByRelationshipName($feature,"Demo_Centerline_Points"))
return Geometry(refPoint).M
The collection process would be
- Tap the m-route
- Tap "Find Measure"
- Accept the Pop-up with the distance
- Tap "Collect Here"
- Choose a Centerline Point
- Submit the Point
- Click the link button in the centerline Point to create a related feature
- Click "Add"
- Choose subclass if applicable.
- Submit the point.
The expression will grab the M value from the centerline point and populate it to the feature point's attributes.
So the process is a little fussy but it works.