/*
 * geounits.h -- Schema for the GEO_UNITS class used by Sequoia.
 *
 *	There's a tuple in GEO_UNITS for every georeferenced coordinate
 *	system (that is, projection) that we use.  We can express
 *	geo-referenced coordinates in any of these projections, and the
 *	code will keep the different projections straight and guarantee
 *	commensurability.
 *
 *	$Header: /home/postgres/mao/sequoia/retreat/RCS/geounits.h,v 1.1 1993/01/06 06:44:27 mao Exp $
 */

typedef struct _form_geo_units_data {
	char		gu_name[8];		/* char8 */
	RegProcedure	gu_inproc;		/* regproc */
	RegProcedure	gu_outproc;		/* regproc */
	RegProcedure	gu_fulloutproc;		/* regproc */
	RegProcedure	gu_fromstdproc;		/* regproc */
	RegProcedure	gu_tostdproc;		/* regproc */
} Form_geo_units_data;

typedef	Form_geo_units_data	*Form_geo_units;

#define	Name_geo_units			"GEO_UNITS"
#define Natts_geo_units			6
#define	Anum_geo_units_name		1
#define	Anum_geo_units_inproc		2
#define	Anum_geo_units_outproc		3
#define	Anum_geo_units_fulloutproc	4
#define	Anum_geo_units_fromstdproc	5
#define	Anum_geo_units_tostdproc	6
