2015-05-25から1日間の記事一覧

メモ:centroidを求めるときはrgeos::gCentroid()

R GIS

軽くググった感じ、sp::coordinates()を使ったやり方がでてくるけど、そんなのドキュメントのどこにも書いてないからrgeos::gCentroid()を使いなさい、とある。 How to calculate polygon centroids in R (for non-contiguous shapes)gis.stackexchange.com