how to find nearby hospitals from current location

3738
7
06-27-2016 04:00 AM
tulasamirji1
New Contributor II


help me

0 Kudos
7 Replies
AlexanderNohe1
Regular Contributor II

Do you have the data for hospitals?

How many hospitals do you want to find?

How large of a search area do you want to have from your current location?

0 Kudos
tulasamirji1
New Contributor II

i have data for hopsital.

around 10 hospitals i have to show.

0 Kudos
AlexanderNohe1
Regular Contributor II

You could use the Find Nearest GP tool and the Geoprocessor class in Android:

Find Nearest—ArcGIS REST API: Spatial Analysis Service | ArcGIS for Developers

Geoprocessor | ArcGIS Android 10.2.8 API 

0 Kudos
tulasamirji1
New Contributor II

can u plz send one sample example

0 Kudos
AlexanderNohe1
Regular Contributor II

It really depends on how you want to find the hospitals as well...

You can do it based off of network analysis:

Closest Facilities | ArcGIS for Developers

Or use a query task and pass the envelope.

Query Task | ArcGIS for Developers

0 Kudos
tulasamirji1
New Contributor II

Thanku very much

0 Kudos
AlexanderNohe1
Regular Contributor II

Would you please mark my answer as correct if it helped you?

0 Kudos