Jack
Jack

Reputation: 77

Query by distance in ArcGIS rest service to check if a point is within a buffer of a feature

Let me start out by saying: distance and units are not available fields in this query.

Desired Outcome: I want to return the feature (or a count: 1) when a point is queried within 10 miles (or otherwise any specified distance) of that feature. I want this returned in a JSON to use as an API in JavaScript.

I've tried messing with the "query by distance" field but am not sure if that is correct and I am not getting desired results.

For what I'm doing, I want to check if a point is within a 10 mile radius of a CBRS unit.

Link to the Query in question

As you can see, distance and units are not available fields - so the documentation on this is no help.

Here is the top half of the query with the options I have tried. The coordinates I have selected here are in close proximity, but not within a CBRS unit - so when this works the way I intend, something should appear. When I am getting the result I want I will eventually be checking return count as true: [1]: https://i.sstatic.net/1ZnSt.png

Coordinates I'm using for ease of copy/paste: -86.220824,44.5773

Upvotes: 0

Views: 526

Answers (0)

Related Questions