[R-sig-Geo] Calculating area of polygons

Alexandre Villers villers.alexandre at gmail.com
Tue Feb 15 12:57:26 CET 2011


Good afternoon,

I guess it will be the unit of your original SpatialPolygons object. If 
you use a projected coordinate system, the unit should be in meters, 
otherwise, I'm not sure of this, but it should be in squared degrees.

HTH

Alex

Le 15/02/2011 10:31, Wincent a écrit :
> 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
>
>



More information about the R-sig-Geo mailing list