gdlSpatialConvert - geographicdeterminationlibrary - 2024.00

Geographic Determination Library Reference for Windows and z/OS

Product type
Software
Portfolio
Locate
Product family
GeoStan Geocoding Suite
Product
GeoStan Geocoding Suite > Geographic Determination Library
Version
2024.00
Language
English
Product name
GeoStan Geocoding Suite
Title
Geographic Determination Library Reference for Windows and z/OS
Copyright
2024
First publish date
1994
Last updated
2024-05-09
Published on
2024-05-09T00:55:21.277227

Writes a subset of features from a Spatial file to a particular Spatial data format.

Syntax

intl gdlSpatialConvert( gdlHandle hGdl,gdlFileHandle hFile, char* filename, intl filetype, intl featuretype, double minx, double miny, double maxx, double maxy );

Arguments

hGdl

The gdlHandle. Input.

hFile

The gdlFileHandle of the Spatial file to read the subset of features from. Input.

filename

The filename to use to output the file. Input.

filetype

The type of the file to write. Options include: GDL_SHP, GDL_SDF, GDL_GSB, GDL_BNA, and GDL_MIF. Input.

featuretype

The type of features to write. Options include: GDL_POINT, GDL_LINE, and GDL_POLYGON.

minx

The minimum x coordinate in decimal degrees. Input.

miny

The minimum y coordinate in decimal degrees. Input.

maxx

The maximum x coordinate in decimal degrees. Input.

maxy

The maximum y coordinate in decimal degrees. Input.

Return values

GDL_OK

GDL_NOT_LICENSED

GDL_ERROR

Prerequisites

None.

Alternates

None.

Notes

There are no extra licensing requirements for gdlSpatialConvert.

A GSB file must contain only one object type. For example, one GSB file should contain only polygons, another file should contain only lines, still another file should contain only points, etc.