Select to view content in your preferred language

Is it possible to get name of National Park

02-09-2021 02:32 PM
Labels (2)
New Contributor II

I am new to this site so I apologize if I posted in the wrong spot.

I am working on an IOS app. I want the app to be able to know if I am inside a national park boundary and if so which one.

Is this doable with the API?

0 Kudos
3 Replies
MVP Emeritus

Dr Google is your friend:

That should just about do it....
0 Kudos
New Contributor II

I looked at that but I don't think I can sent it a long/lat and get a response telling me if I am in a park.

0 Kudos
Esri Contributor

I would be interested to learn how to do this as well. Not having tried it before, I think my approach would be:

* Add a feature layer of parks so you can get the polygon boundaries of all the parks:

* get/track/update the GPS location of the device:

* determine at some reasonable interval if a feature matches the current GPS location:

* or determine point is within the polygon boundary of a park you got from the query

* query additional info about the park

that's where I would start, but I would be interested to see if anyone has a better way to go about it.

0 Kudos