Nominatim/nominatim/nominatim.h

32 lines
1.3 KiB
C
Raw Normal View History

2010-10-24 03:12:37 +04:00
#ifndef NOMINATIM_H
#define NOMINATIM_H
#define MAX(x,y) (x > y?x:y)
#define MIN(x,y) (x < y?x:y)
2010-12-10 19:13:07 +03:00
struct output_options
{
const char *conninfo; /* Connection info string */
const char *prefix; /* prefix for table names */
int scale; /* scale for converting coordinates to fixed point */
int projection; /* SRS of projection */
int append; /* Append to existing data */
int slim; /* In slim mode */
int cache; /* Memory usable for cache in MB */
struct middle_t *mid; /* Mid storage to use */
const char *tblsindex; /* Pg Tablespace to store indexes */
const char *style; /* style file to use */
int expire_tiles_zoom; /* Zoom level for tile expiry list */
int expire_tiles_zoom_min; /* Minimum zoom level for tile expiry list */
const char *expire_tiles_filename; /* File name to output expired tiles list to */
int enable_hstore; /* add an additional hstore column with objects key/value pairs */
2017-03-08 18:06:50 +03:00
int enable_multi; /* Output multi-geometries instead of several simple geometries */
2010-12-10 19:13:07 +03:00
char** hstore_columns; /* list of columns that should be written into their own hstore column */
int n_hstore_columns; /* number of hstore columns */
2010-10-24 03:12:37 +04:00
};
void exit_nicely(void);
void short_usage(char *arg0);
#endif