In SQL Server, I want to find if geography intersects/crosses the international dateline and equator.
I thought of the below logic but am not sure if it is the right way of doing this.
Geography crossing international date line: if the coordinates of the international date line fall within the given coordinates then it seems to cross the dateline
Geography crossing the equator: if any of latitude from the given coordinate is <= 0 then it seems to cross the equator
Any help is highly appreciated.