Select to view content in your preferred language

how to find nearby hospitals from current location

4316
7
06-27-2016 04:00 AM
tulasamirji1
Deactivated User


help me

0 Kudos
7 Replies
AlexanderNohe1
Honored Contributor

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
Deactivated User

i have data for hopsital.

around 10 hospitals i have to show.

0 Kudos
AlexanderNohe1
Honored Contributor

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
Deactivated User

can u plz send one sample example

0 Kudos
AlexanderNohe1
Honored Contributor

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
Deactivated User

Thanku very much

0 Kudos
AlexanderNohe1
Honored Contributor

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

0 Kudos