SqueezeDatabase()
Summary
Increases the efficiency of a standard geographic area file.
Syntax
SqueezeDatabase(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 |
Notes
-
SqueezeDatabase() reduces storage requirements and increases the speed of display for a standard geographic area database by merging together boundary edges that separate the same two areas.
-
SqueezeDatabase() has absolutely no effect on the geographic accuracy of the data.
-
SqueezeDatabase() 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.
Example
SqueezeDatabase("c:\\data\\myfiles\\districts.dbd", "d:\\temp")
Error Codes
| Error Type | Meaning |
|---|---|
| Error | The geofile_name is invalid, or there is not enough disk space to create a complete copy of the database |
See Also
| Function | Summary |
|---|---|
| OptimizeDatabase() | Optimizes a standard geographic file for faster display |