Select to view content in your preferred language

Using pull data to looking up closest point

5510
14
Jump to solution
05-25-2017 07:47 AM
StuartMoore
Occasional Contributor III

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

1 Solution

Accepted Solutions
JamesTedrick
Esri Esteemed Contributor

Hi Stuart,

The pulldata function is an attribute only function.  We have a set of enhancements we are considering to perform spatial-type searches; I'll add the 'nearest point' case to it (it's mostly been proposed as point in poly).

View solution in original post

14 Replies
JamesTedrick
Esri Esteemed Contributor

Hi Stuart,

The pulldata function is an attribute only function.  We have a set of enhancements we are considering to perform spatial-type searches; I'll add the 'nearest point' case to it (it's mostly been proposed as point in poly).

Erwinvan_Veen1
New Contributor III

Since 2017, have there been any updates on this feature?

Pulldata not sufficient
Currently, we are getting suboptimal results using de pulldata() function, because it returns the first found feature rather than the closest feature. This compromises our data quality.

In this instance I am using pulldata() in a Survey 123 application in which residents can report an issue to us. I (need to) use an Arcade expression in Field Maps for the people who work on the issue. Field Maps produces a different (in this case: more accurate) result. Hence, the streetname we use differs for the same location.

Javascript is not an option, Arcade is?
Sadly, Javascript is not an option in our case because we apply this functionality in publicly shared surveys. Using ArcGIS Arcade there are some great examples out there to actually find the closest feature. For example: From the Smart Editor to Smart Forms (esri.com). It would be great if there are enhancements through which we can use Arcade in publicly shared surveys.

Lastly, it would be great if different Esri products would work closer together.

Any updates would be much appreciated.

AlisonFischer
New Contributor II

Hi,

Adding the nearest point function would be useful for my workflow too.  Any idea as to when this might be available, even in the beta version?

Thanks!

0 Kudos
JamesTedrick
Esri Esteemed Contributor

Hi Alison,

A form of this is available now using the in-beta custom JavaScript functions.  Please check the Early Adopter Community for more information.

0 Kudos
JulienCHARBONNAUD
New Contributor III
Hello James Have you made progress with regard to this subject to find in a list the GPS position closest to the measurement point? Thank you A + J
chaims
by
New Contributor II

Hello @JamesTedrick , is there an example for a "closest point" (or line)? I've seen only examples of an intersecting polygon and was trying to figure it out for points and lines as well. Thank you...

YuliaMamonova
Occasional Contributor III

Hi, have you figured this out? Please let me know, I'm struggling with the same thing

0 Kudos
PeterMacKenzie2
Occasional Contributor II

Yes, a nearest feature example using a Javascript pulldata function would be awesome to see.