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.

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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com