split_antimeridian#

split_antimeridian(trixels, drop=False)#

Splits trixels at the antimeridian

This works on trixels that cross the meridian and whose longitudes have not been wrapped around the antimeridian. I.e. when creating the trixels use sdf.make_trixels(wrap_lon=False)

Parameters:
trixels: A polygon, multipolygon, collection of polygons, or a geometry series

A collection of trixels.

drop: bool

If drop is True, we drop the trixels that cross the antimeridian