comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Least Cost Path using Dijkstra's Algorithm
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Least Cost Path using Dijkstra's Algorithm [message #72978] Thu, 21 October 2010 06:03 Go to previous message
Bill[1] is currently offline  Bill[1]
Messages: 2
Registered: October 2010
Junior Member
I would like to take a raster, which represents the "cost" of moving
through that pixel, and find the shortest path (i.e. least cost path)
through that raster. For example, using geospatial analysis and
several layers of data, this can often be used to model cross country
mobility with each raster cell represent the ease or difficulty of
moving through that cell.

Has any written an IDL program that does a least cost path from a
starting cell to an ending cell using Dijkstra's Algorithm?
http://en.wikipedia.org/wiki/Dijkstra's_algorithm

It's a simple concept but can be very memory intensive depending on
the size of your raster, in my case could easily be 20,000 samples by
20,000 lines.

Thanks for your help. I am new to IDL so was looking for a jump start.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Machine Specific Code
Next Topic: Re: Machine Specific Code

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:31:22 PDT 2025

Total time taken to generate the page: 0.00497 seconds