FUNCTION c_wdbseq(fp_seq, ranks, crossflg, minlat, minlon, maxlat, maxlon, total_pts, fp_rel)
FILE *fp_seq; long ranks[]; long crossflg; float *minlat; float *minlon; float *maxlat; float *maxlon; long *total_pts; FILE *fp_rel;
File pointer to the WDBII sequential file.
= TRUE WDBII ranking set = FALSE WDBII ranking not set
= TRUE (1) Crosses International Date Line = FALSE (0) Doesn't cross International Date Line
The minimum latitude of the area of interest.
The minimum longitude of the area of interest.
The maximum latitude of the area of interest.
The maximum longitude of the area of interest.
The total number of points in the line segment.
The file pointer to the WDBII relative file.
Given an area of interest and desired features, c_wdbseq() finds the next WDBII segment meeting these criteria, sets the relative file pointer to the segment, and returns the number of points in that segment. The segment may be read by calling c_wdbrel().
c_wdbseq() returns
E_SUCC --> Successful completion other --> Operation failed