antimeridian
antimeridian copied to clipboard
antimeridian.bbox possibly returning wrong result
I have a set of features in the attached file which are on both sides the antimeridian, but do not span it. However, antimeridian.bbox
appears to be returning their values in the wrong order. Or, is the the desired behavior, as none of the features cross the antimeridian itself?
import antimeridian
import geopands
antimeridian.bbox(antimeridian.fix_multi_polygon(geopandas.read_file('tricky.zip').geometry.loc[0]))
produces:
[-179.92643501801794, -19.044135782844712, 179.97098076944076, -18.555752850452095]