阅读:2133回复:5
spatial index
<P>我把shape 文件添加到arcmap里,在Export to shapefile 后shape文件的 dbf文件比原来大点,浏览此文件速度比原来快。不知道我说明白没有,在mo中是否可以实现文件,mo 中的BuildIndex可以建立索引,速度没有从arcmap中导出的速度快,那位大虾知道</P>
|
|
1楼#
发布于:2005-01-19 23:07
<P>不明白,</P>
|
|
2楼#
发布于:2005-01-20 17:21
<P>mo 在buildindex成功生成空间索引后,会产生.sbn 和.sbx两个文件</P><P>这样当mo放大和漫游的时候就会自动使用SearchShape SearchByDistance 两个方法</P><P>这是mo帮助里的一个建立索引的例子,速度不知道有多大变化,没有测试</P><P>Option Explicit</P><P>Private Sub Command1_Click()
If Not Map1.Layers(0).Indexed Then If Map1.Layers(0).BuildIndex(False) Then MsgBox "Index Built for layer: " ; Map1.Layers(0).name Else MsgBox "No index Built" End If Else MsgBox "Layer " ; Map1.Layers(0).name ; " has an existing index." End If End Sub</P><P>Private Sub Form_Load() Command1.Caption = "Build Index" End Sub</P> |
|
|
3楼#
发布于:2005-01-21 08:15
我的文件是由MO创建的,加到arcmap里后在导出,显示、查询速度比原来快,其中dbf文件大点
mo 中buildindex可以建立索引,多了sbx,sbn两个文件,显示速度,没有导出的快,是不是还有其他的方式建立索引 |
|
4楼#
发布于:2005-01-21 11:43
好象没有了,catalog里导入图层属性的时候可以建立索引
|
|
|
5楼#
发布于:2005-01-21 12:48
thanks
|
|