Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

In ArcGIS, I have only a point layer relating to a hydrography network's pour points. Now I want to write code in VBA that selects a point from this layer, then highlight the closest points to this point. One of this points must be downstream of the desired point and another point must be upstream. In this work ,I must measure the distance between two points on the network, not a direct distance between two points.Also both points are related to a layer. Also The program must be able to determine one of points in downstream and another points in uostream. I don't know How do I determine the closest points on the network? please help me again.

share|improve this question
1  
VBA will soon be deprecated. I recommend using .NET instead. –  Kirk Kuykendall Aug 31 '10 at 13:25
    
Thank, makes more sense now. –  Mapperz Aug 31 '10 at 15:23
    
Tanks,But I need to work in VBA,because it is part of my thesis. –  Nima Sep 1 '10 at 5:21

1 Answer 1

Take a look at the VB6 custom Trace Upstream Task and also the TraceDownStream task.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.