Hi Ashly,

if you can convert your data to an igraph graph, then the
get.shortest.paths() function will calculate the shortest way to get
from one node (city) to another.

I am not familiar with shapefiles, though, so I don't know how to
convert them to igraph.

Gabor

On Tue, Oct 16, 2012 at 2:12 PM, Ashly Townsen <[email protected]> wrote:
> Hi all,
>
> I am new to the group but familiar with R and the spatstat and maptools
> packages.  I want to calculate the exact distance along highways or roads
> between cities, I have the street shapefile, anyone know of some application
> to do it.
>
> Thanks
>
> Ashly
>
>
>
> --
> --
> Ashly Adam Townsen
> University of Illinois
> Department of Political Science
> Editorial Assistant, International Interactions
> Office: David Kinley Hall RM:323
> Email: [email protected]
>
> _______________________________________________
> igraph-help mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>



-- 
Gabor Csardi <[email protected]>     MTA KFKI RMKI

_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to