Record Structure and Definitions

typedef struct
{
  double east, north;
  double *dim;
  int dim_alloc;
  RASTER_MAP_TYPE cattype;
  CELL ccat;
  FCELL fcat;
  DCELL dcat;
  int str_alloc;
  char **str_att;
  int dbl_alloc;
  double *dbl_att;
} Site;
#define MAX_SITE_STRING 1024
The maximum length of a string attribute.
#define MAX_SITE_LEN 4096
The maximum length of a site record (i.e., the maximum number of characters per line). This is the same value used in GRASS 4.1.
typedef struct
{
  char *name, *desc, *form, *labels, *stime;
  struct TimeStamp *time;
} Site_head;


Darrell McCauley and Bill Brown
Last modified on