public static void BuildIndexFile(string pathFilename)
        {
            //Validators.CheckParameterIsNotNull(pathFilename, "pathFileName");
            //Validators.CheckShapeFileNameIsValid(pathFilename, "pathFileName");

            TobinBasFeatureSource.BuildIndexFile(pathFilename);
        }
Exemplo n.º 2
0
        protected override void BuildIndexCore(FeatureLayer featureLayer)
        {
            TobinBasFeatureSource.BuildingIndex += TobinBasFeatureSource_BuildingIndex;
            var uri = LayerPlugin.GetUri(featureLayer);

            if (uri != null)
            {
                TobinBasFeatureSource.BuildIndexFile(uri.LocalPath, Path.ChangeExtension(uri.LocalPath, ".idx"), null, string.Empty, string.Empty, BuildIndexMode.DoNotRebuild);
            }
        }