[R-sig-Geo] adjacent polygons

Facundo Muñoz famuvie at alumni.uv.es
Tue Oct 11 15:12:34 CEST 2011


That (vect2neigh) worked beautifully.
Thanks a lot!

         ƒacu.-

PD: Lengths seem to be divided by 1000... curious...

El 10/10/11 16:08, Roger Bivand escribió:
> 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
>>
>



More information about the R-sig-Geo mailing list