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

Writes an object from a GSB file to a BNA, MIF/MID, SHP, or TAB file.

Syntax

intl pipExportWrite ( pipExporter exp_h, pstr name, intl nameSize, intl *percent, intl *numObjectsRead );

Arguments

exp_h

The handle returned by pipExportInitBNA , pipExportInitMIF , pipExportInitShape , or pipExportInitTab for the current export process. Input.

name

The ID of the object being written (obtained from the GSB object file). Output.

nameSize

The maximum size of an object name to be saved in the name buffer. Input.

*percent

The percent of the object GSB file read so far. Output.

*numObjectsRead

The number of objects read from the current GSB file so far. Output.

Return Value

PIP_OK

PIP_ERROR

Prerequisites

pipExportOpen

Alternates

pipImportRead

Notes

This function reads an object from a GSB file and writes it to a BNA, MIF, SHP, or TAB file. The object to be written is identified by its ID.

A GSB file contains Spatial+ objects. The supported structure of an ESRI BNA file is detailed in ESRI BNA Format, and the MapInfo MIF/MID format is discussed in MapInfo® MIF/MID Format.

Warning: Be sure to use the pipExporter handle and not the Spatial+ pipHandle type.

The name, percent, and numObjectsRead parameters are provided to facilitate building a "percent complete" meter or to provide meaningful diagnostic messages.

Example

See pipExportInitMIF