[R-sig-Geo] Calculating area of polygons

Wincent ronggui.huang at gmail.com
Tue Feb 15 09:31:37 CET 2011


The previous email was rejected, so I re-send it. Sorry for disturbing.

Regards

On 15 February 2011 16:23, Wincent <ronggui.huang at gmail.com> wrote:
> Dear all,
>
> According to https://stat.ethz.ch/pipermail/r-sig-geo/2009-May/005741.html,
> the area of polygon can be accessed by
>> areas <- sapply(slot(scot_BNG, "polygons"), function(x) sapply(slot(x, "Polygons"), slot, "area"))
>
> My question is what is the unit of the area? Is it sq km?
> Thank you very much in advance.
>
> Regards



-- 
Wincent Ronggui HUANG (PhD)
Department of Sociology
Fudan University
http://asrr.r-forge.r-project.org/rghuang.html



More information about the R-sig-Geo mailing list