[GRASS-user] calculating road density

Dylan Beaudette dylan.beaudette at gmail.com
Wed May 26 11:18:03 EDT 2010


Hi,

A couple options:

1. convert lines to points and use v.kernel or v.neighbors

2. import lines into R, and use the density function from the spatstat package.

Then, sample the density rasters within your polygon of interest with
v.rast.stats, etc.

Cheers,
Dylan

On Wed, May 26, 2010 at 1:30 AM, maning sambale
<emmanuel.sambale at gmail.com> wrote:
> Hi,
>
> I have two vectors in GRASS:
> road network - line
> grid - polygon
>
> I want to compute road density and append the attributes to the grid poly.
> In QGIS I tried using the vector tools (sum line length) with
> shapefiles and it works for small areas bu not for my full region.
> Any ideas?
>
> --
> cheers,
> maning
> ------------------------------------------------------
> "Freedom is still the most radical idea of all" -N.Branden
> wiki: http://esambale.wikispaces.com/
> blog: http://epsg4253.wordpress.com/
> ------------------------------------------------------
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>


More information about the grass-user mailing list