Select to view content in your preferred language

Capturing User’s Location at Related Table Record Creation in ArcGIS Field Maps

2604
15
05-01-2024 03:51 AM
DhowalDalal_EsriUK
Occasional Contributor

In ArcGIS Field Maps, is there a way to log the current location of a mobile device when a record is added to a related inspection table ? The goal is not to track the asset’s current geometry, but rather to verify the user’s location at the time of record creation. This would serve as proof that the user was indeed at the specified location.

15 Replies
KevinKamau
New Contributor

Thanks for the suggestion, this seems to be the best approach for my implementation needs for now, and it works.

KerriRasmussen
Esri Contributor

Hi @ShaunGibbins . Yes, the settings are available in Enterprise at 11.2. So in that case, you may need to use Arcade for now. 

ShaunGibbins
Occasional Contributor

Thanks @KerriRasmussen 
We are on an upgrade path to 11.x but have been delayed due to the corrupt security patch, we are in the process of attempting the repair this weekend. 

For now though I still don't quite understand how I use arcade to grab gps coordinates, I can only find a function that pulls the x or y from a feature.  The feature can be manually located so I am after the GPS location of the mobile device at the time the record is created as opposed to a location the user can manipulate. 

 

0 Kudos
KerriRasmussen
Esri Contributor

@ShaunGibbins The only other way to collect lat/long coordinate that can't be changed by the user would be to use location tracking. Otherwise, yes the user can change the location of the feature which would change the x/y values. 

ShaunGibbins
Occasional Contributor

Thanks for your help with this @KerriRasmussen 

One last question related to your previous comment pasted below, can you block manual location by layer?
I would still need the asset layer to be accurately positioned against our detailed 'ordnance survey MasterMap Topography' basemap I would just want to restrict the related inspection layer from manual location.  

 

"In Field Maps Designer, if you go into the  app settings for your form, select Collection and scroll down to Manual location. There is an option to block manual location"

0 Kudos
KerriRasmussen
Esri Contributor

@ShaunGibbins When blocking the manual location entry, it's done at the map level in Field Maps Designer. Since you have another layer that needs the ability to be moved manually, you may want to look into location sharing to capture actual locations of the device while giving users the ability to manually move points.