Has anyone tried using the pull data to identify the closest point of another dataset to the geopoint and retrieve a value something like the near toolbox function in arcmap.
It's a bit like using the pulldata function and a calculation in one go that takes the current location of the geopoint and calculates the distance to a list of points within a csv file and then returns their site name
thanks
Stu
Solved! Go to Solution.
This looks really great, if I ever have the need again and implement it I promise to post. Thank you for sharing the example!!
Hello @IsmaelChivite ,
After using your script and mimicking the fields in your screenshot, the 'city_json' field returns the feature layer feature service link, and the 'closest_city' field respectively returns a blank. Any idea why this might be happening?
Thanks
@IsmaelChivite Is this still the best way to accomplish the closest feature search? Are there any options for a public survey like the "?distance=" search? Not sure in what order those records are returned or if they could be sorted by distance.
Is this still the best solution to get a nearest record?
Trying to get the nearest polyline from a geopoint question.
Thanks!