Tag Info

New answers tagged

1

I faced the same problem just recently. And I've found a way of getting a better path. In my case, I was trying to visualise the effect of having the Panama and Suez canals. My suggestion isn't going to help you find the exact distance, however - but it will trace a more realistic minimum cost path which should be closer in length to the real optimum. ...


0

How I solved my little problem: 1. Firstly, vectors of required 'cost areas' were created (was trying to do it in GRASS but it's too painful - ended up in QGIS). 2. Then I set appropriate cost values for each of such 'cost area' vectors (by this point I was already working in GRASS; we set cost values by adding new column in the attribute table of each ...


0

I know this is an old question, but here's a crack at the answer. My approach seems a little convoluted to me, but it's the best I could think of. I used GRASS 6.4. g.region s=0 w=0 e=100 n=100 res=1 # set up some polygons echo "B 4 10 10 10 20 20 10 10 10" | v.in.ascii -n input=- output=polygonA format=standard echo "B 4 90 90 90 80 80 90 90 90" | ...



Top 50 recent answers are included