Select to view content in your preferred language

Is there any way to replace geopoint coordinates so the geopoint falls within a mapped area?

359
2
09-05-2023 02:28 PM
JanelJohnson
New Contributor II

I have a survey that pulls the user's current location to customize subsequent questions. The problem I'm running into is that sometimes, the mapped point, line, or polygon (created with the sketch tool) for a record is not near the user when they are entering the data. When I use this data in a dashboard, it zooms the map to the user's location, not the mapped location. There is no option in the Dashboard Actions that will zoom to the mapped location instead of the geopoint for the base record.

Is there any way to override the original geopoint and automatically create a geopoint at the mapped location? It would be ok if this has to be done later during QC in the dashboards instead of during data collection.

Thanks!

2 Replies
ZacharySutherby
Esri Regular Contributor

Hello @JanelJohnson

This can be done using the pulldata() function. Please check out the Calculate Location from CSV sample available in Survey123 Connect. 

Thank you,
Zach
0 Kudos
JanelJohnson
New Contributor II

Could you elaborate for those of us who are not Survey123 experts? How does a static CSV file overwrite the geopoint with a point that is within a newly mapped area?

0 Kudos