Buffer tool for Survey123 Map

929
5
11-03-2017 03:46 AM
MicheleDe_Santis
New Contributor

Hi to all,

is it possible to add a buffer tool on a Suvey123 Map? I would like to draw a buffer (radius 100m) on my position when the user click on a button. The buffer should be stay fixed on map and erased when the user click on another button. How Can I implement this function?

Thanks to all

0 Kudos
5 Replies
JohnathanHasthorpe
Esri Regular Contributor

Hi Michelle

Currently we don't support this functionality. I could get this added as an enhancement request - but in order to do so, could you provide more details of your workflow and what you are trying to acheive.

Thanks

John

0 Kudos
MicheleDe_Santis
New Contributor

Hi John,


in our application surveyors go into field to sample trees and plants. They wants create a buffer on the map because they wants move inside it. The law imposes samples along 100m from sick plant. Inside our organization does we can modify the source code for this need?

Thanks

Michele

0 Kudos
DanielDery
New Contributor II

I developed some Javascript functions to create a buffer around a point/current position. This script uses the UTM coordinates from the point, calculates the UTM coordinates of 360 points around it, converts them all to Lat/Lon and creates a text string to be used in the geoshape Calculate column. You will need to save the .txt file as .js because javascript attachments are surprisingly not supported here.

Please note that this script is not perfect and can be improved. It can also be used in a Repeat to create multiple buffers around the center point. 

DanielDery_0-1708980590702.png

Daniel Dery

Tags (3)
MonmouthNJGIS
New Contributor II

Good Morning Daniel! We love this approach and gave it a try in one of our org's surveys, but we can't get the desired results. We tried on a blank survey as well using the files provided and could not replicate that either. If you're able to take a look at our survey file, do you see any glaring issues? 

Thanks in advance for any advice! 

0 Kudos
MichelleWilliamsERM
Occasional Contributor III

WOW, and thank you @DanielDery that looks sexy.

 

0 Kudos