pipImportOpenTab - spatial_geostan - 2024.00

Spatial+ Reference for Windows, UNIX/Linux, z/OS

Product type
Software
Portfolio
Locate
Product family
GeoStan Geocoding Suite
Product
GeoStan Geocoding Suite > Spatial+
Version
2024.00
Language
English
Product name
Spatial+
Title
Spatial+ Reference for Windows, UNIX/Linux, z/OS
Copyright
2024
First publish date
1994
Last updated
2024-05-07
Published on
2024-05-07T22:16:04.316305

Opens a set of Tab files for importing (MapInfo file format).

Syntax

intl pipImportOpenTab ( pipImporter imp_h, pstr fileName, pstr _id, pstr

_name2 );

Arguments

imp_h The handle returned by pipImportInit for the current import process. Input.

fileName The name of one the Tab files. The TAB, DAT or DBF, MAP, ID, and IND files must all have the same base filename. This parameter may either be the complete path, filename, and extension of one of the Tab files, or the path and base filename of all the Tab files. In either case, all associated Tab files will be opened. Input.

_id Name of ID to use. If _id is NULL, contains an empty string, or contains an ID that does not match a column in the DBF file, the first column provides the ID. Input.

_name2 Secondary name. If NULL, there is no secondary name. Input.

Return Value

PIP_OK PIP_ERROR

Prerequisites

pipImportInit.

Alternates

pipImportOpenBNA, pipImportOpenMIF2 or pipImportOpenShape.

Notes

This function opens a set of MapInfo files for importing. Tab files include TAB, DAT or DBF, MAP, ID, and IND files. TAB files are the control files. DAT and DBF files contain attributes and names of polygons. MAP files include graphic data. ID and IND files contain indexes to the graphic and attribute data.

The _id parameter specifies the ID to use. If you specify an invalid ID, pipImportOpenTab defaults to the first column and generates an explanatory message. Precisely recommends calling pipErrorGet immediately after pipImportOpenTab to retrieve these messages.

Example

See pipImportInit.