20#ifndef __NAVIT_MAPTOOL_H_
21#define __NAVIT_MAPTOOL_H_
35#define sq(x) ((double)(x) * (x))
37#define BUFFER_SIZE 1280
39#define debug_tile(x) 0
40#define debug_itembin(x) 0
42#define RELATION_MEMBER_PRINT_FORMAT "%d:" LONGLONG_FMT ":%s"
43#define RELATION_MEMBER_PARSE_FORMAT "%d:" LONGLONG_FMT ":%n"
121#define NODE_ID_BITS 56
135typedef unsigned long long int osmid;
136#define OSMID_FMT ULONGLONG_FMT
276void cat(FILE *in, FILE *out);
328 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:107
enum attr_type type
Definition maptool.h:109
char * name
Definition maptool.h:393
char * filename
Definition maptool.h:394
int size
Definition maptool.h:395
osmid admin_centre
Definition maptool.h:157
GList * segments
Definition maptool.h:154
GList * children
Definition maptool.h:155
GList * sorted_segments
Definition maptool.h:154
struct item_bin * ib
Definition maptool.h:151
struct rect r
Definition maptool.h:156
struct country_table * country
Definition maptool.h:152
char * iso2
Definition maptool.h:153
unsigned char * base
Definition maptool.h:179
long long size
Definition maptool.h:181
long long malloced
Definition maptool.h:177
int malloced_step
Definition maptool.h:175
FILE * nodes2_out
Definition maptool.h:145
FILE * ways_out
Definition maptool.h:141
FILE * ways_in
Definition maptool.h:140
FILE * nodes_out
Definition maptool.h:143
FILE * nodes_in
Definition maptool.h:142
FILE * nodes2_in
Definition maptool.h:144
void * priv_data[8]
Definition maptool.h:114
int(* func)(struct item_bin_sink_func *func, struct item_bin *ib, struct tile_data *tile_data)
Definition maptool.h:113
void * priv_data[8]
Definition maptool.h:118
GList * sink_funcs
Definition maptool.h:119
int clen
Definition maptool.h:95
enum item_type type
Definition maptool.h:93
int len
Definition maptool.h:91
Definition garmin_img.c:476
char ref_way
Definition maptool.h:125
unsigned long long int nd_id
Definition maptool.h:124
struct coord c
Definition maptool.h:123
Definition osm_relations.c:35
void(* func)(void *func_priv, void *relation_priv, struct item_bin *member, void *member_priv)
Definition osm_relations.c:36
void * func_priv
Definition osm_relations.c:37
Definition osm_relations.c:28
Definition navigation.c:111
struct rect item_bbox
Definition maptool.h:48
int tile_depth
Definition maptool.h:47
struct rect tile_bbox
Definition maptool.h:49
struct tile_head * next
Definition maptool.h:75
char * name
Definition maptool.h:70
char * zip_data
Definition maptool.h:71
int process
Definition maptool.h:74
int total_size_used
Definition maptool.h:72
int zipnum
Definition maptool.h:73
int total_size
Definition maptool.h:69
int num_subtiles
Definition maptool.h:68
GList ** tiles_list
Definition maptool.h:63
int maxlen
Definition maptool.h:61
FILE * tilesdir_out
Definition maptool.h:64
char * suffix
Definition maptool.h:62
int write
Definition maptool.h:60
int min
Definition maptool.h:53
enum attr_type attr_to_copy
Definition maptool.h:56
int overlap
Definition maptool.h:55
int max
Definition maptool.h:54
A map tile, a rectangular region of the world.
Definition binfile.c:64
Definition garmin_img.c:78
FILE * dir
Definition zip.c:43
FILE * index
Definition zip.c:42
void version(void)
Definition main.c:31
unsigned char key
Definition tree.c:0