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

SqlGeography.STBuffer() bug

$
0
0
declare @g geography = geography::STGeomFromText('LINESTRING (45.000514 53.163967, 45.000086 53.164266, 45.000044 53.164336)', 4326)
select @g.STBuffer(13.0).ToString()

Result in SQL Server 2012 compatibility mode database:

FULLGLOBE

Result in SQL Server 2008 database:

NULL

It works with size=12.959 (returns valid POLYGON) and does not with size=12.960. It works again with size=14.0 or greater.


Viewing all articles
Browse latest Browse all 364

Trending Articles