4

I have a Geometric Network of Waste Water and I need to set line digitize direction according to the gravitational flow direction using a DEM.

I'm trying to avoid flipping manually 1000 Km of pipes...

I'm well acquainted with ModelBuilder but a beginner with python so any hint will help!

1 Answer 1

4

I found a procedure to do this described step-by-step at the ArcGIS Discussion Forums.

I recommend that you use that to perform each step manually first, and at the same time use Copy As Python Snippet in the Geoprocessing | Results window to start building the Python script for automation.

I would use Python by preference but it may also be amenable to ModelBuilder.

I have not checked whether all tools mentioned in the procedure are now available in Python but some were originally written in VBA. If not, you may need to spawn an extra question or two to "cross each bridge as you come to it".

If you are successful in developing this I think it would be a great candidate for packaging and posting to the Analysis and Geoprocessing Tool Gallery.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.