Geofencing on ArcGIS Runtime SDK for Qt

599
2
09-12-2018 02:07 PM
PaulMitchell3
New Contributor

Hello,

I am a fairly new programmer and I am working on a project for my company.

Is it possible to do Geofencing using the ArcGIS runtime SDK for QT?

I'm having a hard time finding documentation or finding any type of tutorials. I may be looking in the wrong places so I am asking for help.

Thank you very much,

Armando

Tags (2)
0 Kudos
2 Replies
LucasDanzinger
Esri Frequent Contributor

I wrote up an example of this a while back - arcgis-runtime-qt-projects-100/GeoFence at master · ldanzinger/arcgis-runtime-qt-projects-100 · GitH... 

The basic premise is to:

- use the LocationDisplay class to display your location and get your current location

- get the location Point from the LocationDisplay 

- create a polygon for your target area

- use GeometryEngine::intersect to check if the Point intersects the Polygon target area

PaulMitchell3
New Contributor

Lucas,

Thank you very much for your reply!

Cheers,

Armando!

0 Kudos