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

Retrieves the data in the GSA attribute file based on the name of the attribute.

Syntax

intl gdlGetAttributeInfoByName ( gdlFileHandle hFile, pstr *fieldName, gdlAttributeInfoStruct*info)

Arguments

hFile

A gdlFileHandle. Input.

*fieldName

The field name in the attribute (GSA) file. Input.

*info

The gdlAttributeInfoStruct containing the information about the attribute. Output.

Return Value

GDL_OK

GDL_ERROR

Prerequisites

gdlOpenSpatialFile

Alternates

None.

Notes

The gdlGetAttributeInfoByName function uses gdlAttributeInfoStruct as a data structure to hold information about the specified attribute.

Example

The gdlAttributeInfoStruct holds the following file information:

Field Description
char name[12] Field name.
char value[256] Field value.
intl length Field length.
intl type Field type: CHARACTER=67, NUMERIC=78.
intl decimals If numeric, are there any decimals?