20#ifndef __NAVIT_MAPTOOL_H_
21#define __NAVIT_MAPTOOL_H_
33#define sq(x) ((double)(x) * (x))
35#define BUFFER_SIZE 1280
37#define debug_tile(x) 0
38#define debug_itembin(x) 0
40#define RELATION_MEMBER_PRINT_FORMAT "%d:" LONGLONG_FMT ":%s"
41#define RELATION_MEMBER_PARSE_FORMAT "%d:" LONGLONG_FMT ":%n"
119#define NODE_ID_BITS 56
133typedef unsigned long long int osmid;
134#define OSMID_FMT ULONGLONG_FMT
274void cat(FILE *in, FILE *out);
326 FILE *out_coastline,
int final);
441 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:376
#define max(a, b)
Definition garmin.c:682
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:87
item_type
Definition item_type_def.h:8
GList * maps
Definition map.c:28
static unsigned char limit[]
Definition street.c:364
char name[0]
Definition street.c:3
int len
Definition maptool.h:105
enum attr_type type
Definition maptool.h:107
char * name
Definition maptool.h:391
char * filename
Definition maptool.h:392
int size
Definition maptool.h:393
osmid admin_centre
Definition maptool.h:155
GList * segments
Definition maptool.h:152
GList * children
Definition maptool.h:153
GList * sorted_segments
Definition maptool.h:152
struct item_bin * ib
Definition maptool.h:149
struct rect r
Definition maptool.h:154
struct country_table * country
Definition maptool.h:150
char * iso2
Definition maptool.h:151
unsigned char * base
Definition maptool.h:177
long long size
Definition maptool.h:179
long long malloced
Definition maptool.h:175
int malloced_step
Definition maptool.h:173
FILE * nodes2_out
Definition maptool.h:143
FILE * ways_out
Definition maptool.h:139
FILE * ways_in
Definition maptool.h:138
FILE * nodes_out
Definition maptool.h:141
FILE * nodes_in
Definition maptool.h:140
FILE * nodes2_in
Definition maptool.h:142
void * priv_data[8]
Definition maptool.h:112
int(* func)(struct item_bin_sink_func *func, struct item_bin *ib, struct tile_data *tile_data)
Definition maptool.h:111
void * priv_data[8]
Definition maptool.h:116
GList * sink_funcs
Definition maptool.h:117
int clen
Definition maptool.h:93
enum item_type type
Definition maptool.h:91
int len
Definition maptool.h:89
Definition garmin_img.c:471
char ref_way
Definition maptool.h:123
unsigned long long int nd_id
Definition maptool.h:122
struct coord c
Definition maptool.h:121
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:120
struct rect item_bbox
Definition maptool.h:46
int tile_depth
Definition maptool.h:45
struct rect tile_bbox
Definition maptool.h:47
struct tile_head * next
Definition maptool.h:73
char * name
Definition maptool.h:68
char * zip_data
Definition maptool.h:69
int process
Definition maptool.h:72
int total_size_used
Definition maptool.h:70
int zipnum
Definition maptool.h:71
int total_size
Definition maptool.h:67
int num_subtiles
Definition maptool.h:66
GList ** tiles_list
Definition maptool.h:61
int maxlen
Definition maptool.h:59
FILE * tilesdir_out
Definition maptool.h:62
char * suffix
Definition maptool.h:60
int write
Definition maptool.h:58
int min
Definition maptool.h:51
enum attr_type attr_to_copy
Definition maptool.h:54
int overlap
Definition maptool.h:53
int max
Definition maptool.h:52
A map tile, a rectangular region of the world.
Definition binfile.c:63
Definition garmin_img.c:73
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