27#define sq(x) ((double)(x)*(x))
29#define BUFFER_SIZE 1280
31#define debug_tile(x) 0
32#define debug_itembin(x) 0
34#define RELATION_MEMBER_PRINT_FORMAT "%d:"LONGLONG_FMT":%s"
35#define RELATION_MEMBER_PARSE_FORMAT "%d:"LONGLONG_FMT":%n"
115#define NODE_ID_BITS 56
131typedef unsigned long long int osmid;
132#define OSMID_FMT ULONGLONG_FMT
274void cat(FILE *in, FILE *out);
327 FILE *out_coastline,
int final);
443 char s[
sizeof(gpointer)<
sizeof(
osmid)?-1:1];
attr_type
Definition attr_type_def.h:11
static int match(struct country_search *this_, enum attr_type type, const char *name)
Definition country.c:380
#define max(a, b)
Definition garmin.c:691
struct triple lng lat
Definition garmin_img.c:0
char data
Definition garmin_img.c:2
unsigned char info
Definition garmin_img.c:0
char filename[8]
Definition garmin_img.c:1
char type[3]
Definition garmin_img.c:2
int size
Definition garmin_img.c:3
int offset
Definition garmin_img.c:0
static int buffer_size
Definition vehicle_file.c:80
item_type
Definition item_type_def.h:8
GList * maps
Definition map.c:29
static unsigned char limit[]
Definition street.c:364
char name[0]
Definition street.c:3
int len
Definition maptool.h:100
enum attr_type type
Definition maptool.h:102
char * name
Definition maptool.h:393
char * filename
Definition maptool.h:394
int size
Definition maptool.h:395
osmid admin_centre
Definition maptool.h:153
GList * segments
Definition maptool.h:150
GList * children
Definition maptool.h:151
GList * sorted_segments
Definition maptool.h:150
struct item_bin * ib
Definition maptool.h:147
struct rect r
Definition maptool.h:152
struct country_table * country
Definition maptool.h:148
char * iso2
Definition maptool.h:149
unsigned char * base
Definition maptool.h:175
long long size
Definition maptool.h:177
long long malloced
Definition maptool.h:173
int malloced_step
Definition maptool.h:171
FILE * nodes2_out
Definition maptool.h:141
FILE * ways_out
Definition maptool.h:137
FILE * ways_in
Definition maptool.h:136
FILE * nodes_out
Definition maptool.h:139
FILE * nodes_in
Definition maptool.h:138
FILE * nodes2_in
Definition maptool.h:140
void * priv_data[8]
Definition maptool.h:108
int(* func)(struct item_bin_sink_func *func, struct item_bin *ib, struct tile_data *tile_data)
Definition maptool.h:107
void * priv_data[8]
Definition maptool.h:112
GList * sink_funcs
Definition maptool.h:113
int clen
Definition maptool.h:88
enum item_type type
Definition maptool.h:86
int len
Definition maptool.h:84
Definition garmin_img.c:476
char ref_way
Definition maptool.h:120
unsigned long long int nd_id
Definition maptool.h:119
struct coord c
Definition maptool.h:117
Definition osm_relations.c:32
void(* func)(void *func_priv, void *relation_priv, struct item_bin *member, void *member_priv)
Definition osm_relations.c:33
void * func_priv
Definition osm_relations.c:34
Definition osm_relations.c:25
Definition navigation.c:111
struct rect item_bbox
Definition maptool.h:40
int tile_depth
Definition maptool.h:39
struct rect tile_bbox
Definition maptool.h:41
struct tile_head * next
Definition maptool.h:67
char * name
Definition maptool.h:62
char * zip_data
Definition maptool.h:63
int process
Definition maptool.h:66
int total_size_used
Definition maptool.h:64
int zipnum
Definition maptool.h:65
int total_size
Definition maptool.h:61
int num_subtiles
Definition maptool.h:60
GList ** tiles_list
Definition maptool.h:55
int maxlen
Definition maptool.h:53
FILE * tilesdir_out
Definition maptool.h:56
char * suffix
Definition maptool.h:54
int write
Definition maptool.h:52
int min
Definition maptool.h:45
enum attr_type attr_to_copy
Definition maptool.h:48
int overlap
Definition maptool.h:47
int max
Definition maptool.h:46
A map tile, a rectangular region of the world.
Definition binfile.c:64
Definition garmin_img.c:78
FILE * dir
Definition zip.c:39
FILE * index
Definition zip.c:38
void version(void)
Definition main.c:31
unsigned char key
Definition tree.c:0