[R-sig-Geo] Calculate distance along a path

Rafael Wüest rafael.wueest at gmail.com
Tue Jan 28 16:14:33 CET 2014


http://rpubs.com/geospacedman/routing

could be a start...

Hope this helps,
Rafael


On 28.01.14 16:08, Jacqueline Schweizer wrote:
>
>
> Hi everybody,
>
> Eventually I am trying to calculate a grid, that represents the distance from each cell to the nearest bus stop. So for my area of interest, I have a grid showing the amount of meters  to the next stop. But I don't want to have the euclidean distance, I would like to calculate the distance along a path (streets, foot path etc.). I am ignoring elevation, so I will only have the horizontal walking distance. The calculation can be between the grid and the bus stop - points (raster to point) or between grid points and bus stop-points (point to point).
>
> I know that this is doable in ArcGIS, but since I am working in R and don't have the sufficient license in ArcGIS, I am trying to find out, whether it is possible in R. I already have checked out the package gdistance, but that only entails grid-calculations and wont follow along a path.
>
> Has anyone done something similar to this or has an input?
>
> Cheers,
> Jacqueline
>
> Disclaimer\ \ Die in dieser E-Mail enthaltenen Informati...{{dropped:27}}
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

-- 
Rafael Wüest
rafael.wueest at gmail.com
http://www.rowueest.net



More information about the R-sig-Geo mailing list