Find the closest intersection from a point
This sample shows how to use ArcObjects to reverse geocode a point given an x,y-value and return the closest intersection to that point.
Language: C#, VB
Subject: Geocoding
Organization: Esri, http://www.esri.com
Date: 10/17/2019
ArcObjects SDK: 10.8
Visual Studio: 2017, 2019
.NET Target Framework: 4.5
Resources
Usage
- Start Visual Studio and open the solution.
- Add the path to your locator to the GetLocatorWorkspaceFromPath() method.
- Add the name of your locator.
- Build the solution.
- Run the ClosestIntersectionFromPoint application.
- Type an x-value at the command prompt.
- Type a y-value at the command prompt.
Licensing
| Development licensing |
Deployment licensing |
| ArcGIS Desktop Basic |
ArcGIS Desktop Basic |
| ArcGIS Desktop Standard |
ArcGIS Desktop Standard |
| ArcGIS Desktop Advanced |
ArcGIS Desktop Advanced |