4 #define MAX(x,y) (x > y?x:y)
5 #define MIN(x,y) (x < y?x:y)
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 */
28 void exit_nicely(void);
29 void short_usage(char *arg0);