Writes the shape to the filesystem in a well known spatial data format.
Syntax
intl gdlWriteShape( gdlHandle hGdl, gdlShape shape, char* filename, intl type );
Arguments
hGdl
The gdlHandle initialized by gdlInitialize. Input.
shape
The actual shape to be written out. Input.
filename
The name of the file to write. Input.
type
The type of format to write to the file system. Input.
Data formats | Description |
---|---|
GDL_SHP | ESRI's Shape file format |
GDL_GSB | Precisely Spatialâ„¢ GSB format |
GDL_SDF | Autodesk SDF format |
GDL_MIF | MapInfo® MIF/MID formats |
GDL_BNA | ESRI's BNA format |
Return values
GDL_ERROR
GDL_NOT_LICENSED
GDL_OK
Prerequisites
None.
Alternates
None.
Notes
Provides a graphical depiction of the error buffer with a wide variety of mapping tools. Precisely GSB, ESRI's BNA and SHAPE, and MapInfo's MIF/MID formats are supported.