コード例 #1
0
        public async Task MakeIndex(bool overwrite = true)
        {
            var indexFileName = IRI.Ket.ShapefileFormat.Shapefile.GetIndexFileName(_shpFileName);

            if (overwrite && System.IO.File.Exists(indexFileName))
            {
                System.IO.File.Delete(indexFileName);
            }

            await Shapefile.CreateIndex(_shpFileName);
        }