VECReadGeoInfo()

  VECWriteGeoInfo() and VECReadGeoInfo

Description

VECReadGeoInfo() is used to retrieve the georeferencing/projection information for a vector layer.

Call Signature

void VECReadGeoInfo ( int/string filespec, int segment_num, GeoInfo ptr geo_info )

Return Value

void

This has no return value.

Arguments

int/string filespec:

This can either be the handle returned by DBOpen(), or the name of an open file.

int segment_num:

The vector layer (segment) number being accessed.

GeoInfo ptr geo_info:

A structure of type GeoInfo into which the georeferencing (projection) information should be placed.

Remarks

The georeferencing is returned as a GeoInfo structure and can be used to reproject points with the Reproject() intrinsic. The ULX, ULY, LRX and LRY values are not set to a meaningful value in the returned GeoInfo structure for vector layers.

See also

GDB file functions

GDB vector file functions

VECWriteGeoInfo()

GeoInfo

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.