| Maptitude GISDK Help |
Optimizes a standard geographic file for faster display.
OptimizeDatabase(string geofile_name, string temp_path)
| Argument | Contents |
|---|---|
| geofile_name | The name of the geographic file |
| temp_path | An optional path along which a temporary copy of the database can be stored |
OptimizeDatabase() should be used after extensive editing is performed on a standard geographic file.
OptimizeDatabase() requires enough scratch space to store a complete copy of the geographic file in the location of the geographic file or in the temporary directory specified by the temp_path argument.
OptimizeDatabase("c:\\data\\myfiles\\districts.dbd", "d:\\temp")
| Error Type | Meaning |
|---|---|
| Error | The geofile_name is invalid, or there is not enough disk space to create a copy of the database |
| Function | Summary |
|---|---|
| SqueezeDatabase() | Increases the efficiency of a standard geographic area file |
| ©2025 Caliper Corporation | www.caliper.com |