-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata.h
More file actions
39 lines (33 loc) · 663 Bytes
/
data.h
File metadata and controls
39 lines (33 loc) · 663 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef _DATA_H_
#define _DATA_H_
#include "stdio.h"
// constant defnitions
#define MAX_STRING_LEN 128
#define MAX_LINE_LEN 512
// data definitions
struct footpath {
int footpath_id;
char *address;
char *clue_sa;
char *asset_type;
double deltaz;
double distance;
double grade1in;
int mcc_id;
int mccid_int;
double rlmax;
double rlmin;
char *segside;
int statusid;
int streetid;
int street_group;
double start_lat;
double start_lon;
double end_lat;
double end_lon;
};
typedef struct footpath footpath_t;
// function definitions
void SkipHeaderLine(FILE *f);
footpath_t *read_data(FILE *f);
#endif