Maptitude GISDK Help

CreateStreetCDF()

Summary

Creates a compact format address matchable street file.

 

Syntax

CreateStreetCDF(string lyr_set_name, string db_name, array options)

 

Argument Contents
lyr_set_name The name of the layer or selection set to export
db_name The name of the new geographic file

 

Option Type Contents
Label String Descriptive label for the new geographic file
Layer Name String The name of the new line layer
Node Name String The name of the new endpoint layer

 

Notes

Example

// Create an address matchable CDF file of all streets within 10 miles of coord x

SetLayer("Caliper Streets")

SelectByCircle("Selection", "Several", Circle(x, 10.0))

CreateStreetCDF("Caliper Streets|Selection", "c:\\strtfile.cdf", {

     {"Label", "Small Street File"},

     {"Layer Name", "Local Streets"},

     {"Node Name", "Endpoints"}

     })

 

Error Codes

Error Type Meaning
Error An error occurred while creating the geographic file (e.g., out of disk space)
NotFound The specified layer or set name does not exist, or one of the required fields is missing

 

See Also

Function Summary
ExportGeography() Converts a geographic file between standard and compact format, or creates a new geographic file from a selection set.
CopyDatabase() Copies either a standard- or compact-format geographic file

 

 

©2025 Caliper Corporation www.caliper.com