when I am converting polygon text to sqlGeography object I get error "24201: Latitude values must be between -90 and 90 degrees." Polygon example which throws error:
POLYGON((58.197682 -151.896133,58.26688 -151.839327,58.256878 -151.79607,58.186908 -151.807954,58.165101 -151.863333,58.197682 -151.896133))
There is realated question but no answer for it:
DbGeography's FromText throwing error in c#
I though it can convert fine and "MakeValid()" is fixing it - and in some previous cases it did work. I got "US States" GEOJSON from this page: https://exploratory.io/map
How to fix that conversion to sqlGeography was handled successfully?