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
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
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
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.
Daniel Dery
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!
Not sure if you're still looking for a solution, but I got it working on Survey123Connect 3.18 with a few tweaks.
I attached my modification of the script below, but I did shrink the script down to a single function so it will look different, but it's doing the same thing. No guarantee it will work, but I also ran into a few issues, but this solution is possible with a little tweaking and experimentation with the script.
WOW, and thank you @DanielDery that looks sexy.