Geographic Information Systems Asked on January 16, 2021
In Google Earth Engine, I let the user define a polygon to give the geometry that the routine is applied to. As part of that, I would like to determine a "center" of the polygon. How does one extract a center of an irregular polygon?
You can use to following:
// Compute the centroid of the polygon.
var centroid = polygon.centroid();
Correct answer by MarcM on January 16, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP