[R-sig-Geo] adjacent polygons

Roger Bivand Roger.Bivand at nhh.no
Mon Oct 10 22:08:05 CEST 2011


On Mon, 10 Oct 2011, Facundo Muñoz wrote:

>
> Hi people,
>
> I have a shapefile of polygons (buildings), and I would like to calculate, 
> for each one, the length of the shared border with some other building.
> Or, conversely, how much of its border is 'exterior'.
> I can't figure out how to extract that info.

Without a topological GIS you cannot. Try vect2neigh() in spgrass6 using 
GRASS to do this. It can, I believe, also be done using vector coverages 
in ArcGIS.

Hope this helps,

Roger

>
> Any idea?
>
> Thanks.
> ƒacu.-
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

-- 
Roger Bivand
Department of Economics, NHH Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no


More information about the R-sig-Geo mailing list