Lock point location

186
15
Tuesday
FrankHerbert
Regular Contributor

Is it possible to lock the collect here location?

We are going to roll out a new survey to contractors but do not want them to be able to move the point where they are collecting data.

0 Kudos
15 Replies
DavidTipping-Jsy
Occasional Contributor

Why not define your points and use a related table for contractor input? Use this excellent set of videos to define your workflow: https://www.youtube.com/watch?v=v0W6X6ovi_Q 

David

0 Kudos
FrankHerbert
Regular Contributor

Not a bad idea but unfortunately won't work for us because the the contractors need to be able drop the point at current location during each survey. We would like to ensure the location can't be modified where the survey is taking place.

0 Kudos
DougBrowning
MVP Esteemed Contributor

Yes check the setting page of the service there is a section to turn off geometry updates and pick which layers.

0 Kudos
FrankHerbert
Regular Contributor

Cheers Doug. Please can you let me know where exactly that is? I've looked on the feature layer settings, Field Maps settings but can't find it. Quite excited to give this a try!

0 Kudos
FrankHerbert
Regular Contributor

I think I found it on the target feature settings page, however, in Field Maps the user is still able to collect at a different location. Perhaps the settings will lock in the location once it's been collected; but it doens't prevent them from collecting at a different location

0 Kudos
DougBrowning
MVP Esteemed Contributor

Well new points no I thought you meant preloaded points.  I would always let the exact be collected.  What if they labeled it wrong? Picked the wrong preload?  What about proof they went out there?  You always want the real location of a new point. 

What I do is have arcade the tells them how far they are away and have them get closer in the popup.  

Current point distance from design meters
var originShift = 2.0 * PI * 6378137.0 / 2.0;
var lon = (Geometry($feature).x / originShift) * 180.0;
var lat = (Geometry($feature).y / originShift) * 180.0;

lat = 180.0 / PI * (2.0 * Atan( Exp( lat * PI / 180.0)) - PI / 2.0);

return Round(Acos(Sin(lat * PI / 180)*Sin($feature.DesignLat * PI / 180) + Cos(lat * PI / 180)*Cos($feature.DesignLat * PI / 180)*Cos(($feature.DesignLong * PI / 180)-(lon * PI / 180))) * 6371000,2)

Hope that helps.  But I do not know a way to force a location of a new point.

0 Kudos
FrankHerbert
Regular Contributor

Apologies I may not have explained the issue very well...

What I'd like to do is ensure the contractor can't move the point to a different location. So the new point where the survey is carried out is unable to be moved elsewhere.

For context, we're designing a trap checking survey. In theory, the contractor may use the project basemap to navigate to each trap, and then completed a trap check survey at each station. I don't need the point location to snap to the target feature, and I don't want the contractor to be able to be able collect data at a separate location.

 

0 Kudos
DougBrowning
MVP Esteemed Contributor

If you mean they can make a new one then not move it after that then no.  It can move or not move is it.  Which makes sense you can either edit geometry or you can't.

0 Kudos
FrankHerbert
Regular Contributor

I just want them to collect a point at their current location. I don't want them to be able to move the point to somewhere else. I've tried experimenting with the settings and getting the feeling it's not possible.

I like how in S123 you can complete the form and the point location is set at the users current location by default, without an immeditate option to move it. The problem with Field Maps is, when the user 'collects here', it is obvious they can also move the point somewhere else. Hope this makes sense!

0 Kudos