datacube.utils.geometry.clip_lon180(geom, tol=1e-06)[source]

For every point in the lon=180|-180 band clip to either 180 or -180 180|-180 is decided based on where the majority of other points lie.

NOTE: this will only do “right thing” for chopped geometries,

expectation is that all the points are to one side of lon=180 line, or in the the capture zone of lon=(+/-)180

Return type