AnsweredAssumed Answered

How to: Location accuracy circle intersect with feature layer

Question asked by cloftis_RTI_GST on Aug 14, 2018
Latest reply on Aug 15, 2018 by cloftis_RTI_GST

Working with ArcGIS Android's 100.x API, 

I'm a bit of a newbie with ArcGIS so forgive any incorrect use of terminology. 



I am developing an app that must work in a completely offline environment. All maps (in this case they will be mobile map packages) are downloaded to devices before going offline. Each mmpk will have a feature layer containing a closed polygon. I need to be able to determine if my current location is within the polygon feature. That has proven to be easy enough using "GeometryEngine.within()". 



The problem that I'm having is with an additional requirement: I also need to determine if the current location's accuracy circle insects with the polygon's boundary to indicate that the user "may be" within the feature's boundaries - think of it as a stoplight: green==inside, red==outside, yellow==close to the polygon boundary.


I see that the GeometryEngine has methods like crosses, intersects, overlaps, touches, etc., but I don't know how to pass a circle representing the location's accuracy as a geometry. Suggestions?