Creating a DbGeography from text using DbGeography.FromText(polygonAsText, 4326);
generates the quoted exception. The box dimensions have been provided by a Google geocoding result as a suggested viewport dimension. Are the coordinates dud? Are the order used in the construction of the polygon wrong?
The latitude/longitude ordering has provided accurate results with other coordinates, except this one.
North East Longitude: 180.0 North East Latitude: 90.0
South West Longitude: -180.0 South West Latitude: -90.0
POLYGON((180 90, -180 90, -180 -90, 180 -90, 180 90))
The exception:
24206: The specified input cannot be accepted because it contains an edge with antipodal points.
Why don't these coordinates result in a valid polygon?