pipExportInitTab - 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

Creates and opens a set of Tab files for writing; initializes the export subsystem.

Syntax

intl pipExportInitTab ( pipHandle h, pstr outputFileName, pipExporter *exp_h, int _type);

Arguments

h

The handle returned by pipInit for the current instance of Spatial+. Input.

outputFileName

The name of one of the Tab files. 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 appropriate Tab files will be generated. Input.

*exp_h

The export handle returned by the function. This handle should be used by all other pipExport_ functions. Output.

_type

The type of object to write to the file. Only one object type may be written to a file (the enums may not be ORed together). Input.

Valid enums are:

  • PIP_POINT
  • PIP_LINE
  • PIP_REGION

Return Value

PIP_OK

PIP_ERROR

Prerequisites

pipInit

Alternates

pipExportInitBNA, pipExportInitMIF, or pipExportInitShape

Notes

You must call pipExportInitTab before pipExportInsert or pipExportOpen.

This function creates and opens the appropriate set of Tab files (TAB, DAT or DBF, MAP, ID, and IND), which hold exported standalone objects or exported objects from GSB (Spatial+ object) files.

This function returns a pipExporter handle via a pointer. This handle should be used instead of pipHandle as input for the other pipExport_ functions (pipExportInitBNA, pipExportInitMIF, and pipExportInitShape excepted).

Example

See pipExportInitMIF