I have already created a spatial index on table FOO, which is working properly, and now I'm trying to create an identical spatial index on table BAR.
Table BAR:
id int pk autoincrement,
geo geography,
lat float,
lon float,
someOtherValue int
The table contains values that look like this:
1 0xE6100000010CD8614CFA7BAF45400AA2EE0390F153C0 43.370971 -79.774415 123456
The TesselationScheme
in the spatial index on FOO.geo is Geography grid
. Cells per object is 64. The granularity is set to High for each of the four Grid levels. Trying to do the exact same thing with table BAR. Getting this error:
Either the object or one of its properties is not supported on the target server version.
But that page at microsoft.com has no info.