Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Geography maximum limit reached
Message
From
12/11/2013 08:19:51
 
 
To
12/11/2013 08:14:23
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01587737
Message ID:
01587828
Views:
43
>From BOL:
>
>STBuffer (geography Data Type)
>
>distance
> Is a value of type float (double in the .NET Framework) specifying the distance from the geography instance around
>which to calculate the buffer.
>
> The maximum distance of the buffer cannot exceed 0.999 * π * minorAxis * minorAxis / majorAxis (~0.999 * 1/2 Earth’s
>circumference) or the full globe.
>
>
>So, maybe 9931*1000 exceed max distance, becuase
>
>DECLARE @GeographyCoordinate Geography
>DECLARE @Area Geography
>
>SET @GeographyCoordinate=Geography::Point(47.79208,-65.71996,4326)
>SET @Area=@GeographyCoordinate.STBuffer(9931*1000)
>
>SELECT @Area
>
>shows NULL as a result.

Thanks, the fact that it varies explains it. For some values, I can get it at 9930 to result like this. Some others, are ok up to 9931.

I have applied a maximum of 5000 kilometers for the proximity search which should be more than enough for our needs.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform