CREATE SPATIAL INDEX <index_name>
ON <table> (<spatial column>)
USING GEOMETRY_GRID
WITH (
BOUNDING_BOX = minx,miny,maxx,maxy),
GRIDS = (low|medium|high, low|medium|high, low|medium|high, low|medium|high),
CELLS_PER_OBJECT = n,
<other regular btree index options like filegroups, fill factors, etc>
)
下列语法将在地理列中创建空间索引:
CREATE SPATIAL INDEX <index_name>
ON <table> (<spatial column>)
USING GEOGRAPHY_GRID
WITH (
GRIDS = (low|medium|high, low|medium|high, low|medium|high, low|medium|high),
CELLS_PER_OBJECT = n,
<other regular btree index options like filegroups, fill factors, etc>
)
ArcGIS 添加列以存储额外的几何元素
几何类型和地理类型无法存储地理数据库必定支持的所有类型的几何元素。因此,当您创建或注册将几何或地理存储类型与 SQL Server 中的地理数据库配合使用的要素类时,ArcGIS 会向业务表中添加列,以存储这些额外的几何元素。此列名为
gdb_geomattr_data
。其他几何元素如下: