|
ArcObjects using Visual Basic
Project Details: To create an application that tests at a
set distance interval along a polyline for an intersection with
a polygon within a set distance. The ArcObjects HitTest function
was used to find the intersecting object and return the nearest
intersecting node. The results were then posted to an ArcObjects
MapControl. The MapControl is a mapping window similar to the data
frame within ArcGIS. Other functionality was built into the application
to do basic mapping functions like zooming in and out, view extents,
pan, measure and an info button.
The spatial layers were read in from a spatial geodatabase either
within Access or Sql Server with ArcSDE. The results were saved
as tabular data into an Access or Sql Server database using an ADO
connection.
The image below shows the interface while still in testing mode.
It has a toolbar and several buttons to test functionality. The
map window displays the result of a hit test. The red lines were
misses, green lines were hits and the blue lines were the associated
locations of the hits against the intersecting buffered polygon.

|