Ets_Shapeset_From_MIF_Data_Create()
Note: Requires OPNET Development Kit
Abstract
Creates a shapeset model based on MapInfo data files.
Syntax
Ets_Shapeset_From_MIF_Data_Create (mif_model_name, shapeset_mdl_hndl_ptr, import_error_strings_lpptr)
| Argument | Type | Description |
|---|---|---|
mif_model_name |
const char * |
The name of the MIF model to convert into a shapeset. |
shapeset_mdl_hndl_ptr |
EtsT_Model_Handle * |
Pointer to the new shapeset model. |
import_error_strings_lpptr |
PrgT_List ** |
Pointer to a list pointer of import log errors (optional). |
Return Type
EtsT_Compcode
EtsC_Compcode_Success or EtsC_Compcode_Failure.
Header
ets_api_shapeset.h
Details
MapInfo .mif and .mid files with the specified name must be located in a directory included in the mod_dirs preference
This function may create a text list containing error messages related to the MIF data import and return a reference to it in import_error_strings_lpptr. If the list was created, you must deallocate the list content.