| Maptitude GISDK Help |
Creates a line geographic file from a set of line or area features.
ConvertToLineDatabase(string layer_set, string new_db_name, array options)
| Argument | Contents |
|---|---|
| layer_set | The name of the layer or selection set |
| new_db_name | The path and file name of the new geographic file |
| Option | Type | Contents |
|---|---|---|
| Label | String | A descriptive label for the geographic file |
| Layer Name | String | The name of the layer in the geographic file |
| Node Name | String | The name of the endpoint layer in the geographic file |
Any features that intersect are split at the location of the intersection. The resulting pieces are separate entities in the resulting geographic file.
ConvertToLineDatabase() displays a progress bar. To add a Cancel button to the progress bar, precede the function call with an "on escape" clause. For more information, see Error Handling.
ConvertToLineDatabase("Zones|", "boundary.dbd", {
{"Label", "Borderes of Zones"},
{"Layer Name", "Border"}
})
| Error Type | Meaning |
|---|---|
| Error | The layer or set name or one of the options is invalid |
| Escape | The user clicked Cancel |
| Function | Summary |
|---|---|
| ConvertToAreaDatabase() | Creates an area geographic file from a set of line or area features |
| ExportGeography() | 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 |