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.

Is there a way that you want to connect two different points of altitude with a constant slope of 7% or another, to draw a line in the 3D model?

share|improve this question
    
What software are you using? –  Nathan W Jul 5 '12 at 9:13
1  
Yes, it is possible - there is even an infinite number of such lines. Could you tell a bit more on the purpose of doing that? Are there some constraints on the length and shape of the line? Do you use a specific software? –  julien Jul 5 '12 at 9:14
    
I use QGIS, arcGIS .. I have a point A and point B different altitude. It is necessary to merge them with a 7% incline for example to draw that line automatically. –  user8665 Jul 5 '12 at 11:19
    
Do you have a Spatial Analyst license? AFAIK, the only code in ArcGIS that can solve this problem is PathDistance –  whuber Jul 5 '12 at 13:30
    
I have a licence for this tool, but I do not need distance between points, I need client software to draw a curve with a constant slope between points. When I make overlay with a map to see how it looks, that way. Which tool is needed to do to? –  user8665 Jul 5 '12 at 16:37
show 1 more comment

1 Answer

As @whuber says in his comments you should be able to use PathDistance to do this.

"PathDistance computes routes that meet requirements based on location and direction. Set it up so that any route steeper than 7% has a huge cost and anything 7% or less has (almost) no cost. PathDistance should find short routes meeting these criteria. As @julien notes, though, there usually are still infinitely many solutions. (Note that if you try to make the slope a constant 7% then in many cases there will be no solutions.)"

share|improve this answer
add comment

Your Answer

 
discard

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

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