Skip to contents

get coordinates of each polygon centroid, using INTPTLAT,INTPTLON if those columns already exist

Usage

latlon_from_shapefile_centroids(shapefile)

Arguments

shapefile

spatial data.frame of polygons

Value

data.frame with columns lat,lon