igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Distance along a road


From: Gábor Csárdi
Subject: Re: [igraph] Distance along a road
Date: Tue, 16 Oct 2012 14:48:57 -0400

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 <address@hidden> 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: address@hidden
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>



-- 
Gabor Csardi <address@hidden>     MTA KFKI RMKI



reply via email to

[Prev in Thread] Current Thread [Next in Thread]