Select to view content in your preferred language

Definition of the nearest object

674
3
04-29-2014 05:58 AM
AnatoliiTerentiev
Deactivated User
Dear Guru!
Is there some tool in arcgis API for silverlight for identifying the nearest town (or other object) with the definition of distance and azimuth to it?
0 Kudos
3 Replies
AsserSwelam1
Deactivated User
Hi,

You can use Find Nearest Geoprocessing Task as here http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/help/find_task.htm and after you get your nearest feature you can show its attributes.

Or you can create a buffer with the distance you want for your center feature and using this buffer polygon to get any other feature (town) intersects with this buffer.

Thanks,
Asser
0 Kudos
AnatoliiTerentiev
Deactivated User
I need to solve the problem  programmatically. I use the C#  and arcgis API for silverlight, MSSQL server 2012. To the x,y - event in the x,y-table  is necessary to find the nearest settlement and similar tasks.
0 Kudos