Quantcast
Channel: SQL Server Spatial forum
Viewing all articles
Browse latest Browse all 364

Latitude values must be between -90 and 90 degrees.

$
0
0

Hi All:

I was using GEOGRAPHY::STPointFromText and ran into the following problem:

A .NET Framework error occurred during execution of user-defined routine or aggregate "geography": 
System.FormatException: 24201: Latitude values must be between -90 and 90 degrees.

The solution was to use:

GEOGRAPHY::Point(46.3491096496582, -92.198318481445312, 4326)
Hope this helps.

Phil


P.Huhn


Viewing all articles
Browse latest Browse all 364

Trending Articles