[-h] {import,freeze,replication,special-phrases,add-data,index,refresh,admin,export,serve,search,reverse,lookup,details,status,transition} ...
.SH DESCRIPTION
Command\-line tools for importing, updating, administrating and
+.br
querying the Nominatim database.
+.br
.SH OPTIONS
Update the database using an online replication service.
.TP
\fBnominatim\fR \fI\,special-phrases\/\fR
- Maintain special phrases.
+ Import special phrases.
.TP
\fBnominatim\fR \fI\,add-data\/\fR
Add additional data from a file or an online source.
[--index-noanalyse]
Create a new Nominatim database from an OSM file.
+.br
.TP
\fB\-\-no\-partitions\fR
-Do not partition search indices
- (speeds up import of single country extracts)
+Do not partition search indices (speeds up import of single country extracts)
.TP
\fB\-\-no\-updates\fR
-Do not keep tables that are only needed for
- updating the database later
+Do not keep tables that are only needed for updating the database later
.TP
\fB\-\-ignore\-errors\fR
usage: nominatim freeze [-h] [-q] [-v] [--project-dir DIR] [-j NUM]
Make database read\-only.
+.br
+.br
About half of data in the Nominatim database is kept only to be able to
+.br
keep the data up\-to\-date with new changes made in OpenStreetMap. This
+.br
command drops all this data and only keeps the part needed for geocoding
+.br
itself.
+.br
+.br
This command has the same effect as the `\-\-no\-updates` option for imports.
+.br
[--socket-timeout SOCKET_TIMEOUT]
Update the database using an online replication service.
+.br
.TP
\fB\-\-no\-update\-functions\fR
-Do not update the trigger function to
- support differential updates.
+Do not update the trigger function to support differential updates.
.TP
\fB\-\-check\-for\-updates\fR
.TP
\fB\-\-once\fR
-Download and apply updates only once. When
- not set, updates are continuously applied
+Download and apply updates only once. When not set, updates are continuously applied
.TP
\fB\-\-no\-index\fR
-Do not index the new data. Only applicable
- together with \-\-once
+Do not index the new data. Only applicable together with \-\-once
.TP
\fB\-\-osm2pgsql\-cache\fR SIZE
.SH OPTIONS 'nominatim special-phrases'
usage: nominatim special-phrases [-h] [-q] [-v] [--project-dir DIR] [-j NUM]
- [--from-wiki] [-o OUTPUT]
+ [--import-from-wiki]
- Maintain special phrases.
+ Import special phrases.
+.br
Number of parallel threads to use
.TP
-\fB\-\-from\-wiki\fR
-Pull special phrases from the OSM wiki.
-
-.TP
-\fB\-o\fR \fI\,OUTPUT\/\fR, \fB\-\-output\fR \fI\,OUTPUT\/\fR
-File to write the preprocessed phrases to.
- If omitted, it will be written to stdout.
+\fB\-\-import\-from\-wiki\fR
+Import special phrases from the OSM wiki to the database.
.SH OPTIONS 'nominatim add-data'
usage: nominatim add-data [-h] [-q] [-v] [--project-dir DIR] [-j NUM]
[--use-main-api]
Add additional data from a file or an online source.
+.br
- Data is only imported, not indexed. You need to call `nominatim\-update index`
+.br
+ Data is only imported, not indexed. You need to call `nominatim index`
+.br
to complete the process.
+.br
[--maxrank RANK]
Reindex all new and modified data.
+.br
[--enable-debug-statements]
Recompute auxiliary data used by the indexing process.
+.br
+.br
These functions must not be run in parallel with other update commands.
+.br
[--osm-id OSM_ID | --place-id PLACE_ID]
Analyse and maintain the database.
+.br
[--restrict-to-osm-relation ID]
Export addresses as CSV file from the database.
+.br
.TP
\fB\-\-output\-format\fR \fI\,OUTPUT_FORMAT\/\fR
-Semicolon\-separated list of address types
- (see \-\-output\-type). Multiple ranks can be
- merged into one column by simply using a
- comma\-separated list.
+Semicolon\-separated list of address types (see \-\-output\-type). Multiple ranks can be merged into one column by simply using a comma\-separated list.
.TP
\fB\-\-output\-all\-postcodes\fR
-List all postcodes for address instead of
- just the most likely one
+List all postcodes for address instead of just the most likely one
.TP
\fB\-\-language\fR \fI\,LANGUAGE\/\fR
-Preferred language for output
- (use local name, if omitted)
+Preferred language for output (use local name, if omitted)
.TP
\fB\-\-restrict\-to\-country\fR COUNTRY_CODE
[--server SERVER]
Start a simple web server for serving the API.
+.br
+.br
This command starts the built\-in PHP webserver to serve the website
+.br
from the current project directory. This webserver is only suitable
+.br
for testing and develop. Do not use it in production setups!
+.br
+.br
By the default, the webserver can be accessed at: http://127.0.0.1:8088
+.br
[--viewbox X1,Y1,X2,Y2] [--bounded] [--no-dedupe]
Execute API search query.
+.br
.TP
\fB\-\-extratags\fR
-Include additional information if available
- (e.g. wikipedia link, opening hours).
+Include additional information if available (e.g. wikipedia link, opening hours).
.TP
\fB\-\-namedetails\fR
.TP
\fB\-\-polygon\-threshold\fR TOLERANCE
-Simplify output geometry.
- Parameter is difference tolerance in degrees.
+Simplify output geometry.Parameter is difference tolerance in degrees.
.TP
\fB\-\-countrycodes\fR CC,..
[--polygon-threshold TOLERANCE]
Execute API reverse query.
+.br
.TP
\fB\-\-extratags\fR
-Include additional information if available
- (e.g. wikipedia link, opening hours).
+Include additional information if available (e.g. wikipedia link, opening hours).
.TP
\fB\-\-namedetails\fR
.TP
\fB\-\-polygon\-threshold\fR TOLERANCE
-Simplify output geometry.
- Parameter is difference tolerance in degrees.
+Simplify output geometry.Parameter is difference tolerance in degrees.
.SH OPTIONS 'nominatim lookup'
usage: nominatim lookup [-h] [-q] [-v] [--project-dir DIR] [-j NUM] --id OSMID
[--polygon-threshold TOLERANCE]
Execute API lookup query.
+.br
.TP
\fB\-\-extratags\fR
-Include additional information if available
- (e.g. wikipedia link, opening hours).
+Include additional information if available (e.g. wikipedia link, opening hours).
.TP
\fB\-\-namedetails\fR
.TP
\fB\-\-polygon\-threshold\fR TOLERANCE
-Simplify output geometry.
- Parameter is difference tolerance in degrees.
+Simplify output geometry.Parameter is difference tolerance in degrees.
.SH OPTIONS 'nominatim details'
usage: nominatim details [-h] [-q] [-v] [--project-dir DIR] [-j NUM]
[--lang LANGS]
Execute API details query.
+.br
.TP
\fB\-\-class\fR \fI\,OBJECT_CLASS\/\fR
-Class type to disambiguated multiple entries
- of the same object.
+Class type to disambiguated multiple entries of the same object.
.TP
\fB\-\-addressdetails\fR
[--format {text,json}]
Execute API status query.
+.br
[--tiger-data FILE]
Internal functions for code transition. Do not use.
+.br
\fB\-\-tiger\-data\fR FILE
File to import
-.SH AUTHORS
-.B <<UNSET \-\-project\-name OPTION>>
-was written by <<UNSET \-\-author OPTION>> <<<UNSET \-\-author_email OPTION>>>.
.SH DISTRIBUTION
-The latest version of <<UNSET \-\-project\-name OPTION>> may be downloaded from
-.UR <<UNSET \-\-url OPTION>>
+The latest version of Nominatim may be downloaded from
+.UR https://nominatim.org
.UE