Smrender
 All Data Structures Files Functions Variables Macros
smloadosm.h
1 #ifndef SMLOADOSM_H
2 #define SMLOADOSM_H
3 
4 #include "libhpxml.h"
5 //#include "rdata.h"
6 
7 struct filter
8 {
9  // c1 = left upper corner, c2 = right lower corner of bounding box
10  struct coord c1, c2;
11  // set use_bbox to 1 if bbox should be honored
12  int use_bbox;
13  // pointer to rules tree (or NULL if it should be ignored)
14  bx_node_t *rules;
15 };
16 
17 
18 void osm_read_exit(void);
19 int read_osm_obj(hpx_ctrl_t *, hpx_tree_t **, osm_obj_t **);
20 int read_osm_file(hpx_ctrl_t*, bx_node_t**, const struct filter*, struct dstats*);
21 hpx_ctrl_t *open_osm_source(const char*, int);
22 
23 #endif
24 
Definition: osm_inplace.h:48
Definition: bxtree.h:28
Definition: rdata.h:72
Definition: smloadosm.h:7
Definition: smrender.h:60
Definition: libhpxml.h:87
Definition: libhpxml.h:43