]> git.openstreetmap.org Git - nominatim.git/blob - nominatim/nominatim.h
move checkModilePresence to class, delete own debug echo
[nominatim.git] / nominatim / nominatim.h
1 #ifndef NOMINATIM_H
2 #define NOMINATIM_H
3
4 #define MAX(x,y) (x > y?x:y)
5 #define MIN(x,y) (x < y?x:y)
6
7 struct output_options
8 {
9     const char *conninfo;  /* Connection info string */
10     const char *prefix;    /* prefix for table names */
11     int scale;       /* scale for converting coordinates to fixed point */
12     int projection;  /* SRS of projection */
13     int append;      /* Append to existing data */
14     int slim;        /* In slim mode */
15     int cache;       /* Memory usable for cache in MB */
16     struct middle_t *mid;  /* Mid storage to use */
17     const char *tblsindex;     /* Pg Tablespace to store indexes */
18     const char *style;     /* style file to use */
19     int expire_tiles_zoom;        /* Zoom level for tile expiry list */
20     int expire_tiles_zoom_min;    /* Minimum zoom level for tile expiry list */
21     const char *expire_tiles_filename;    /* File name to output expired tiles list to */
22     int enable_hstore; /* add an additional hstore column with objects key/value pairs */
23     int enable_multi; /* Output multi-geometries instead of several simple geometries */
24     char** hstore_columns; /* list of columns that should be written into their own hstore column */
25     int n_hstore_columns; /* number of hstore columns */
26 };
27
28 void exit_nicely(void);
29 void short_usage(char *arg0);
30
31 #endif