[-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
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
.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
[--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
[--polygon-threshold TOLERANCE]
Execute API reverse query.
+.br
[--polygon-threshold TOLERANCE]
Execute API lookup query.
+.br
[--lang LANGS]
Execute API details query.
+.br
[--format {text,json}]
Execute API status query.
+.br
[--tiger-data FILE]
Internal functions for code transition. Do not use.
+.br