changed centroid to lat lon