Maptitude GISDK Help |
Creates an empty standard geographic file.
CreateDatabase(string geofile_name, string layer_type, array options)
Argument |
Contents |
geofile_name |
The full path and file name of the geographic file to create |
layer_type |
Point, Line or Area |
Option |
Type |
Contents |
Label |
String |
A descriptive label for the geographic file |
Layer Name |
String |
The name of the layer in the file |
Node Layer Name |
String |
The name of the endpoint layer if layer_type is Line |
// Create an empty area layer for districts
CreateDatabase("c:\\data\\myfiles\\districts.dbd", "Area", {{"Layer Name", "Districts"}})
Error Type |
Meaning |
Error |
The geofile_name is invalid, one of the options is invalid, or a database with the same name is now in use by Maptitude |
Function |
Summary |
Converts a geographic file between standard and compact format, or creates a new geographic file from a selection set |
©2025 Caliper Corporation | www.caliper.com |