1 .TH nominatim "1" Manual
 
   6 [-h] {import,freeze,replication,special-phrases,add-data,index,refresh,admin,export,serve,search,reverse,lookup,details,status} ...
 
   8     Command\-line tools for importing, updating, administrating and
 
  10     querying the Nominatim database.
 
  19 \fBnominatim\fR \fI\,import\/\fR
 
  20     Create a new Nominatim database from an OSM file.
 
  22 \fBnominatim\fR \fI\,freeze\/\fR
 
  23     Make database read-only.
 
  25 \fBnominatim\fR \fI\,replication\/\fR
 
  26     Update the database using an online replication service.
 
  28 \fBnominatim\fR \fI\,special-phrases\/\fR
 
  29     Import special phrases.
 
  31 \fBnominatim\fR \fI\,add-data\/\fR
 
  32     Add additional data from a file or an online source.
 
  34 \fBnominatim\fR \fI\,index\/\fR
 
  35     Reindex all new and modified data.
 
  37 \fBnominatim\fR \fI\,refresh\/\fR
 
  38     Recompute auxiliary data used by the indexing process.
 
  40 \fBnominatim\fR \fI\,admin\/\fR
 
  41     Analyse and maintain the database.
 
  43 \fBnominatim\fR \fI\,export\/\fR
 
  44     Export addresses as CSV file from the database.
 
  46 \fBnominatim\fR \fI\,serve\/\fR
 
  47     Start a simple web server for serving the API.
 
  49 \fBnominatim\fR \fI\,search\/\fR
 
  50     Execute a search query.
 
  52 \fBnominatim\fR \fI\,reverse\/\fR
 
  53     Execute API reverse query.
 
  55 \fBnominatim\fR \fI\,lookup\/\fR
 
  56     Execute API lookup query.
 
  58 \fBnominatim\fR \fI\,details\/\fR
 
  59     Execute API details query.
 
  61 \fBnominatim\fR \fI\,status\/\fR
 
  62     Execute API status query.
 
  63 .SH OPTIONS 'nominatim import'
 
  64 usage: nominatim import [-h] [-q] [-v] [--project-dir DIR] [-j NUM]
 
  65                         (--osm-file FILE | --continue {load-data,indexing,db-postprocess})
 
  66                         [--osm2pgsql-cache SIZE] [--reverse-only]
 
  67                         [--no-partitions] [--no-updates] [--ignore-errors]
 
  70     Create a new Nominatim database from an OSM file.
 
  74     This sub\-command sets up a new Nominatim database from scratch starting
 
  76     with creating a new database in Postgresql. The user running this command
 
  78     needs superuser rights on the database.
 
  85 \fB\-q\fR, \fB\-\-quiet\fR
 
  86 Print only error messages
 
  89 \fB\-v\fR, \fB\-\-verbose\fR
 
  90 Increase verboseness of output
 
  93 \fB\-\-project\-dir\fR DIR
 
  94 Base directory of the Nominatim installation (default:.)
 
  97 \fB\-j\fR NUM, \fB\-\-threads\fR NUM
 
  98 Number of parallel threads to use
 
 101 \fB\-\-osm\-file\fR FILE
 
 102 OSM file to be imported (repeat for importing multiple files)
 
 105 \fB\-\-continue\fR {load\-data,indexing,db\-postprocess}
 
 106 Continue an import that was interrupted
 
 109 \fB\-\-osm2pgsql\-cache\fR SIZE
 
 110 Size of cache to be used by osm2pgsql (in MB)
 
 113 \fB\-\-reverse\-only\fR
 
 114 Do not create tables and indexes for searching
 
 117 \fB\-\-no\-partitions\fR
 
 118 Do not partition search indices (speeds up import of single country extracts)
 
 121 \fB\-\-no\-updates\fR
 
 122 Do not keep tables that are only needed for updating the database later
 
 125 \fB\-\-ignore\-errors\fR
 
 126 Continue import even when errors in SQL are present
 
 129 \fB\-\-index\-noanalyse\fR
 
 130 Do not perform analyse operations during index (expert only)
 
 132 .SH OPTIONS 'nominatim freeze'
 
 133 usage: nominatim freeze [-h] [-q] [-v] [--project-dir DIR] [-j NUM]
 
 135     Make database read\-only.
 
 139     About half of data in the Nominatim database is kept only to be able to
 
 141     keep the data up\-to\-date with new changes made in OpenStreetMap. This
 
 143     command drops all this data and only keeps the part needed for geocoding
 
 149     This command has the same effect as the `\-\-no\-updates` option for imports.
 
 156 \fB\-q\fR, \fB\-\-quiet\fR
 
 157 Print only error messages
 
 160 \fB\-v\fR, \fB\-\-verbose\fR
 
 161 Increase verboseness of output
 
 164 \fB\-\-project\-dir\fR DIR
 
 165 Base directory of the Nominatim installation (default:.)
 
 168 \fB\-j\fR NUM, \fB\-\-threads\fR NUM
 
 169 Number of parallel threads to use
 
 171 .SH OPTIONS 'nominatim replication'
 
 172 usage: nominatim replication [-h] [-q] [-v] [--project-dir DIR] [-j NUM]
 
 173                              [--init] [--no-update-functions]
 
 174                              [--check-for-updates] [--once] [--no-index]
 
 175                              [--osm2pgsql-cache SIZE]
 
 176                              [--socket-timeout SOCKET_TIMEOUT]
 
 178     Update the database using an online replication service.
 
 182     An OSM replication service is an online service that provides regular
 
 184     updates (OSM diff files) for the planet or update they provide. The OSMF
 
 186     provides the primary replication service for the full planet at
 
 188     https://planet.osm.org/replication/ but there are other providers of
 
 190     extracts of OSM data who provide such a service as well.
 
 194     This sub\-command allows to set up such a replication service and download
 
 196     and import updates at regular intervals. You need to call '\-\-init' once to
 
 198     set up the process or whenever you change the replication configuration
 
 200     parameters. Without any arguments, the sub\-command will go into a loop and
 
 202     continuously apply updates as they become available. Giving `\-\-once` just
 
 204     downloads and imports the next batch of updates.
 
 211 \fB\-q\fR, \fB\-\-quiet\fR
 
 212 Print only error messages
 
 215 \fB\-v\fR, \fB\-\-verbose\fR
 
 216 Increase verboseness of output
 
 219 \fB\-\-project\-dir\fR DIR
 
 220 Base directory of the Nominatim installation (default:.)
 
 223 \fB\-j\fR NUM, \fB\-\-threads\fR NUM
 
 224 Number of parallel threads to use
 
 228 Initialise the update process
 
 231 \fB\-\-no\-update\-functions\fR
 
 232 Do not update the trigger function to support differential updates.
 
 235 \fB\-\-check\-for\-updates\fR
 
 236 Check if new updates are available and exit
 
 240 Download and apply updates only once. When not set, updates are continuously applied
 
 244 Do not index the new data. Only usable together with \-\-once
 
 247 \fB\-\-osm2pgsql\-cache\fR SIZE
 
 248 Size of cache to be used by osm2pgsql (in MB)
 
 251 \fB\-\-socket\-timeout\fR \fI\,SOCKET_TIMEOUT\/\fR
 
 252 Set timeout for file downloads
 
 254 .SH OPTIONS 'nominatim special-phrases'
 
 255 usage: nominatim special-phrases [-h] [-q] [-v] [--project-dir DIR] [-j NUM]
 
 256                                  [--import-from-wiki] [--import-from-csv FILE]
 
 259     Import special phrases.
 
 263     Special phrases are search terms that narrow down the type of object
 
 265     that should be searched. For example, you might want to search for
 
 267     'Hotels in Barcelona'. The OSM wiki has a selection of special phrases
 
 269     in many languages, which can be imported with this command.
 
 273     You can also provide your own phrases in a CSV file. The file needs to have
 
 275     the following five columns:
 
 277      * phrase \- the term expected for searching
 
 279      * class \- the OSM tag key of the object type
 
 281      * type \- the OSM tag value of the object type
 
 283      * operator \- the kind of search to be done (one of: in, near, name, \-)
 
 285      * plural \- whether the term is a plural or not (Y/N)
 
 289     An example file can be found in the Nominatim sources at
 
 291     'test/testdb/full_en_phrases_test.csv'.
 
 298 \fB\-q\fR, \fB\-\-quiet\fR
 
 299 Print only error messages
 
 302 \fB\-v\fR, \fB\-\-verbose\fR
 
 303 Increase verboseness of output
 
 306 \fB\-\-project\-dir\fR DIR
 
 307 Base directory of the Nominatim installation (default:.)
 
 310 \fB\-j\fR NUM, \fB\-\-threads\fR NUM
 
 311 Number of parallel threads to use
 
 314 \fB\-\-import\-from\-wiki\fR
 
 315 Import special phrases from the OSM wiki to the database
 
 318 \fB\-\-import\-from\-csv\fR FILE
 
 319 Import special phrases from a CSV file
 
 322 \fB\-\-no\-replace\fR
 
 323 Keep the old phrases and only add the new ones
 
 325 .SH OPTIONS 'nominatim add-data'
 
 326 usage: nominatim add-data [-h] [-q] [-v] [--project-dir DIR] [-j NUM]
 
 327                           (--file FILE | --diff FILE | --node ID | --way ID | --relation ID | --tiger-data DIR)
 
 328                           [--use-main-api] [--osm2pgsql-cache SIZE]
 
 329                           [--socket-timeout SOCKET_TIMEOUT]
 
 331     Add additional data from a file or an online source.
 
 335     This command allows to add or update the search data in the database.
 
 337     The data can come either from an OSM file or single OSM objects can
 
 339     directly be downloaded from the OSM API. This function only loads the
 
 341     data into the database. Afterwards it still needs to be integrated
 
 343     in the search index. Use the `nominatim index` command for that.
 
 347     The command can also be used to add external non\-OSM data to the
 
 349     database. At the moment the only supported format is TIGER housenumber
 
 351     data. See the online documentation at
 
 353     https://nominatim.org/release\-docs/latest/admin/Import/#installing\-tiger\-housenumber\-data\-for\-the\-us
 
 355     for more information.
 
 362 \fB\-q\fR, \fB\-\-quiet\fR
 
 363 Print only error messages
 
 366 \fB\-v\fR, \fB\-\-verbose\fR
 
 367 Increase verboseness of output
 
 370 \fB\-\-project\-dir\fR DIR
 
 371 Base directory of the Nominatim installation (default:.)
 
 374 \fB\-j\fR NUM, \fB\-\-threads\fR NUM
 
 375 Number of parallel threads to use
 
 379 Import data from an OSM file or diff file
 
 383 Import data from an OSM diff file (deprecated: use \-\-file)
 
 387 Import a single node from the API
 
 391 Import a single way from the API
 
 394 \fB\-\-relation\fR ID
 
 395 Import a single relation from the API
 
 398 \fB\-\-tiger\-data\fR DIR
 
 399 Add housenumbers from the US TIGER census database
 
 402 \fB\-\-use\-main\-api\fR
 
 403 Use OSM API instead of Overpass to download objects
 
 406 \fB\-\-osm2pgsql\-cache\fR SIZE
 
 407 Size of cache to be used by osm2pgsql (in MB)
 
 410 \fB\-\-socket\-timeout\fR \fI\,SOCKET_TIMEOUT\/\fR
 
 411 Set timeout for file downloads
 
 413 .SH OPTIONS 'nominatim index'
 
 414 usage: nominatim index [-h] [-q] [-v] [--project-dir DIR] [-j NUM]
 
 415                        [--boundaries-only] [--no-boundaries] [--minrank RANK]
 
 418     Reindex all new and modified data.
 
 422     Indexing is the process of computing the address and search terms for
 
 424     the places in the database. Every time data is added or changed, indexing
 
 426     needs to be run. Imports and replication updates automatically take care
 
 428     of indexing. For other cases, this function allows to run indexing manually.
 
 435 \fB\-q\fR, \fB\-\-quiet\fR
 
 436 Print only error messages
 
 439 \fB\-v\fR, \fB\-\-verbose\fR
 
 440 Increase verboseness of output
 
 443 \fB\-\-project\-dir\fR DIR
 
 444 Base directory of the Nominatim installation (default:.)
 
 447 \fB\-j\fR NUM, \fB\-\-threads\fR NUM
 
 448 Number of parallel threads to use
 
 451 \fB\-\-boundaries\-only\fR
 
 452 Index only administrative boundaries.
 
 455 \fB\-\-no\-boundaries\fR
 
 456 Index everything except administrative boundaries.
 
 459 \fB\-\-minrank\fR RANK, \fB\-r\fR RANK
 
 460 Minimum/starting rank
 
 463 \fB\-\-maxrank\fR RANK, \fB\-R\fR RANK
 
 464 Maximum/finishing rank
 
 466 .SH OPTIONS 'nominatim refresh'
 
 467 usage: nominatim refresh [-h] [-q] [-v] [--project-dir DIR] [-j NUM]
 
 468                          [--postcodes] [--word-counts] [--address-levels]
 
 469                          [--functions] [--wiki-data] [--importance]
 
 470                          [--website] [--no-diff-updates]
 
 471                          [--enable-debug-statements]
 
 473     Recompute auxiliary data used by the indexing process.
 
 477     This sub\-commands updates various static data and functions in the database.
 
 479     It usually needs to be run after changing various aspects of the
 
 481     configuration. The configuration documentation will mention the exact
 
 483     command to use in such case.
 
 487     Warning: the 'update' command must not be run in parallel with other update
 
 489              commands like 'replication' or 'add\-data'.
 
 496 \fB\-q\fR, \fB\-\-quiet\fR
 
 497 Print only error messages
 
 500 \fB\-v\fR, \fB\-\-verbose\fR
 
 501 Increase verboseness of output
 
 504 \fB\-\-project\-dir\fR DIR
 
 505 Base directory of the Nominatim installation (default:.)
 
 508 \fB\-j\fR NUM, \fB\-\-threads\fR NUM
 
 509 Number of parallel threads to use
 
 513 Update postcode centroid table
 
 516 \fB\-\-word\-counts\fR
 
 517 Compute frequency of full\-word search terms
 
 520 \fB\-\-address\-levels\fR
 
 521 Reimport address level configuration
 
 525 Update the PL/pgSQL functions in the database
 
 529 Update Wikipedia/data importance numbers
 
 533 Recompute place importances (expensive!)
 
 537 Refresh the directory that serves the scripts for the web API
 
 540 \fB\-\-no\-diff\-updates\fR
 
 541 Do not enable code for propagating updates
 
 544 \fB\-\-enable\-debug\-statements\fR
 
 545 Enable debug warning statements in functions
 
 547 .SH OPTIONS 'nominatim admin'
 
 548 usage: nominatim admin [-h] [-q] [-v] [--project-dir DIR] [-j NUM]
 
 549                        (--warm | --check-database | --migrate | --analyse-indexing)
 
 550                        [--search-only] [--reverse-only]
 
 551                        [--osm-id OSM_ID | --place-id PLACE_ID]
 
 553     Analyse and maintain the database.
 
 560 \fB\-q\fR, \fB\-\-quiet\fR
 
 561 Print only error messages
 
 564 \fB\-v\fR, \fB\-\-verbose\fR
 
 565 Increase verboseness of output
 
 568 \fB\-\-project\-dir\fR DIR
 
 569 Base directory of the Nominatim installation (default:.)
 
 572 \fB\-j\fR NUM, \fB\-\-threads\fR NUM
 
 573 Number of parallel threads to use
 
 577 Warm database caches for search and reverse queries
 
 580 \fB\-\-check\-database\fR
 
 581 Check that the database is complete and operational
 
 585 Migrate the database to a new software version
 
 588 \fB\-\-analyse\-indexing\fR
 
 589 Print performance analysis of the indexing process
 
 592 \fB\-\-search\-only\fR
 
 593 Only pre\-warm tables for search queries
 
 596 \fB\-\-reverse\-only\fR
 
 597 Only pre\-warm tables for reverse queries
 
 600 \fB\-\-osm\-id\fR \fI\,OSM_ID\/\fR
 
 601 Analyse indexing of the given OSM object
 
 604 \fB\-\-place\-id\fR \fI\,PLACE_ID\/\fR
 
 605 Analyse indexing of the given Nominatim object
 
 607 .SH OPTIONS 'nominatim export'
 
 608 usage: nominatim export [-h] [-q] [-v] [--project-dir DIR] [-j NUM]
 
 609                         [--output-type {continent,country,state,county,city,suburb,street,path}]
 
 610                         [--output-format OUTPUT_FORMAT]
 
 611                         [--output-all-postcodes] [--language LANGUAGE]
 
 612                         [--restrict-to-country COUNTRY_CODE]
 
 613                         [--restrict-to-osm-node ID] [--restrict-to-osm-way ID]
 
 614                         [--restrict-to-osm-relation ID]
 
 616     Export addresses as CSV file from the database.
 
 623 \fB\-q\fR, \fB\-\-quiet\fR
 
 624 Print only error messages
 
 627 \fB\-v\fR, \fB\-\-verbose\fR
 
 628 Increase verboseness of output
 
 631 \fB\-\-project\-dir\fR DIR
 
 632 Base directory of the Nominatim installation (default:.)
 
 635 \fB\-j\fR NUM, \fB\-\-threads\fR NUM
 
 636 Number of parallel threads to use
 
 639 \fB\-\-output\-type\fR {continent,country,state,county,city,suburb,street,path}
 
 640 Type of places to output (default: street)
 
 643 \fB\-\-output\-format\fR \fI\,OUTPUT_FORMAT\/\fR
 
 644 Semicolon\-separated list of address types (see \-\-output\-type). Multiple ranks can be merged into one column by simply using a comma\-separated list.
 
 647 \fB\-\-output\-all\-postcodes\fR
 
 648 List all postcodes for address instead of just the most likely one
 
 651 \fB\-\-language\fR \fI\,LANGUAGE\/\fR
 
 652 Preferred language for output (use local name, if omitted)
 
 655 \fB\-\-restrict\-to\-country\fR COUNTRY_CODE
 
 656 Export only objects within country
 
 659 \fB\-\-restrict\-to\-osm\-node\fR ID
 
 660 Export only children of this OSM node
 
 663 \fB\-\-restrict\-to\-osm\-way\fR ID
 
 664 Export only children of this OSM way
 
 667 \fB\-\-restrict\-to\-osm\-relation\fR ID
 
 668 Export only children of this OSM relation
 
 670 .SH OPTIONS 'nominatim serve'
 
 671 usage: nominatim serve [-h] [-q] [-v] [--project-dir DIR] [-j NUM]
 
 674     Start a simple web server for serving the API.
 
 678     This command starts the built\-in PHP webserver to serve the website
 
 680     from the current project directory. This webserver is only suitable
 
 682     for testing and development. Do not use it in production setups!
 
 686     By the default, the webserver can be accessed at: http://127.0.0.1:8088
 
 693 \fB\-q\fR, \fB\-\-quiet\fR
 
 694 Print only error messages
 
 697 \fB\-v\fR, \fB\-\-verbose\fR
 
 698 Increase verboseness of output
 
 701 \fB\-\-project\-dir\fR DIR
 
 702 Base directory of the Nominatim installation (default:.)
 
 705 \fB\-j\fR NUM, \fB\-\-threads\fR NUM
 
 706 Number of parallel threads to use
 
 709 \fB\-\-server\fR \fI\,SERVER\/\fR
 
 710 The address the server will listen to.
 
 712 .SH OPTIONS 'nominatim search'
 
 713 usage: nominatim search [-h] [-q] [-v] [--project-dir DIR] [-j NUM]
 
 714                         [--query QUERY] [--street STREET] [--city CITY]
 
 715                         [--county COUNTY] [--state STATE] [--country COUNTRY]
 
 716                         [--postalcode POSTALCODE]
 
 717                         [--format {xml,json,jsonv2,geojson,geocodejson}]
 
 718                         [--addressdetails] [--extratags] [--namedetails]
 
 720                         [--polygon-output {geojson,kml,svg,text}]
 
 721                         [--polygon-threshold TOLERANCE] [--countrycodes CC,..]
 
 722                         [--exclude_place_ids ID,..] [--limit LIMIT]
 
 723                         [--viewbox X1,Y1,X2,Y2] [--bounded] [--no-dedupe]
 
 725     Execute a search query.
 
 729     This command works exactly the same as if calling the /search endpoint on
 
 731     the web API. See the online documentation for more details on the
 
 735     https://nominatim.org/release\-docs/latest/api/Search/
 
 742 \fB\-q\fR, \fB\-\-quiet\fR
 
 743 Print only error messages
 
 746 \fB\-v\fR, \fB\-\-verbose\fR
 
 747 Increase verboseness of output
 
 750 \fB\-\-project\-dir\fR DIR
 
 751 Base directory of the Nominatim installation (default:.)
 
 754 \fB\-j\fR NUM, \fB\-\-threads\fR NUM
 
 755 Number of parallel threads to use
 
 758 \fB\-\-query\fR \fI\,QUERY\/\fR
 
 759 Free\-form query string
 
 762 \fB\-\-street\fR \fI\,STREET\/\fR
 
 763 Structured query: housenumber and street
 
 766 \fB\-\-city\fR \fI\,CITY\/\fR
 
 767 Structured query: city, town or village
 
 770 \fB\-\-county\fR \fI\,COUNTY\/\fR
 
 771 Structured query: county
 
 774 \fB\-\-state\fR \fI\,STATE\/\fR
 
 775 Structured query: state
 
 778 \fB\-\-country\fR \fI\,COUNTRY\/\fR
 
 779 Structured query: country
 
 782 \fB\-\-postalcode\fR \fI\,POSTALCODE\/\fR
 
 783 Structured query: postcode
 
 786 \fB\-\-format\fR {xml,json,jsonv2,geojson,geocodejson}
 
 790 \fB\-\-addressdetails\fR
 
 791 Include a breakdown of the address into elements
 
 795 Include additional information if available (e.g. wikipedia link, opening hours)
 
 798 \fB\-\-namedetails\fR
 
 799 Include a list of alternative names
 
 802 \fB\-\-lang\fR LANGS, \fB\-\-accept\-language\fR LANGS
 
 803 Preferred language order for presenting search results
 
 806 \fB\-\-polygon\-output\fR {geojson,kml,svg,text}
 
 807 Output geometry of results as a GeoJSON, KML, SVG or WKT
 
 810 \fB\-\-polygon\-threshold\fR TOLERANCE
 
 811 Simplify output geometry.Parameter is difference tolerance in degrees.
 
 814 \fB\-\-countrycodes\fR CC,..
 
 815 Limit search results to one or more countries
 
 818 \fB\-\-exclude_place_ids\fR ID,..
 
 819 List of search object to be excluded
 
 822 \fB\-\-limit\fR \fI\,LIMIT\/\fR
 
 823 Limit the number of returned results
 
 826 \fB\-\-viewbox\fR X1,Y1,X2,Y2
 
 827 Preferred area to find search results
 
 831 Strictly restrict results to viewbox area
 
 835 Do not remove duplicates from the result list
 
 837 .SH OPTIONS 'nominatim reverse'
 
 838 usage: nominatim reverse [-h] [-q] [-v] [--project-dir DIR] [-j NUM] --lat LAT
 
 839                          --lon LON [--zoom ZOOM]
 
 840                          [--format {xml,json,jsonv2,geojson,geocodejson}]
 
 841                          [--addressdetails] [--extratags] [--namedetails]
 
 843                          [--polygon-output {geojson,kml,svg,text}]
 
 844                          [--polygon-threshold TOLERANCE]
 
 846     Execute API reverse query.
 
 850     This command works exactly the same as if calling the /reverse endpoint on
 
 852     the web API. See the online documentation for more details on the
 
 856     https://nominatim.org/release\-docs/latest/api/Reverse/
 
 863 \fB\-q\fR, \fB\-\-quiet\fR
 
 864 Print only error messages
 
 867 \fB\-v\fR, \fB\-\-verbose\fR
 
 868 Increase verboseness of output
 
 871 \fB\-\-project\-dir\fR DIR
 
 872 Base directory of the Nominatim installation (default:.)
 
 875 \fB\-j\fR NUM, \fB\-\-threads\fR NUM
 
 876 Number of parallel threads to use
 
 879 \fB\-\-lat\fR \fI\,LAT\/\fR
 
 880 Latitude of coordinate to look up (in WGS84)
 
 883 \fB\-\-lon\fR \fI\,LON\/\fR
 
 884 Longitude of coordinate to look up (in WGS84)
 
 887 \fB\-\-zoom\fR \fI\,ZOOM\/\fR
 
 888 Level of detail required for the address
 
 891 \fB\-\-format\fR {xml,json,jsonv2,geojson,geocodejson}
 
 895 \fB\-\-addressdetails\fR
 
 896 Include a breakdown of the address into elements
 
 900 Include additional information if available (e.g. wikipedia link, opening hours)
 
 903 \fB\-\-namedetails\fR
 
 904 Include a list of alternative names
 
 907 \fB\-\-lang\fR LANGS, \fB\-\-accept\-language\fR LANGS
 
 908 Preferred language order for presenting search results
 
 911 \fB\-\-polygon\-output\fR {geojson,kml,svg,text}
 
 912 Output geometry of results as a GeoJSON, KML, SVG or WKT
 
 915 \fB\-\-polygon\-threshold\fR TOLERANCE
 
 916 Simplify output geometry.Parameter is difference tolerance in degrees.
 
 918 .SH OPTIONS 'nominatim lookup'
 
 919 usage: nominatim lookup [-h] [-q] [-v] [--project-dir DIR] [-j NUM] --id OSMID
 
 920                         [--format {xml,json,jsonv2,geojson,geocodejson}]
 
 921                         [--addressdetails] [--extratags] [--namedetails]
 
 923                         [--polygon-output {geojson,kml,svg,text}]
 
 924                         [--polygon-threshold TOLERANCE]
 
 926     Execute API lookup query.
 
 930     This command works exactly the same as if calling the /lookup endpoint on
 
 932     the web API. See the online documentation for more details on the
 
 936     https://nominatim.org/release\-docs/latest/api/Lookup/
 
 943 \fB\-q\fR, \fB\-\-quiet\fR
 
 944 Print only error messages
 
 947 \fB\-v\fR, \fB\-\-verbose\fR
 
 948 Increase verboseness of output
 
 951 \fB\-\-project\-dir\fR DIR
 
 952 Base directory of the Nominatim installation (default:.)
 
 955 \fB\-j\fR NUM, \fB\-\-threads\fR NUM
 
 956 Number of parallel threads to use
 
 960 OSM id to lookup in format <NRW><id> (may be repeated)
 
 963 \fB\-\-format\fR {xml,json,jsonv2,geojson,geocodejson}
 
 967 \fB\-\-addressdetails\fR
 
 968 Include a breakdown of the address into elements
 
 972 Include additional information if available (e.g. wikipedia link, opening hours)
 
 975 \fB\-\-namedetails\fR
 
 976 Include a list of alternative names
 
 979 \fB\-\-lang\fR LANGS, \fB\-\-accept\-language\fR LANGS
 
 980 Preferred language order for presenting search results
 
 983 \fB\-\-polygon\-output\fR {geojson,kml,svg,text}
 
 984 Output geometry of results as a GeoJSON, KML, SVG or WKT
 
 987 \fB\-\-polygon\-threshold\fR TOLERANCE
 
 988 Simplify output geometry.Parameter is difference tolerance in degrees.
 
 990 .SH OPTIONS 'nominatim details'
 
 991 usage: nominatim details [-h] [-q] [-v] [--project-dir DIR] [-j NUM]
 
 992                          (--node NODE | --way WAY | --relation RELATION | --place_id PLACE_ID)
 
 993                          [--class OBJECT_CLASS] [--addressdetails]
 
 994                          [--keywords] [--linkedplaces] [--hierarchy]
 
 995                          [--group_hierarchy] [--polygon_geojson]
 
 998     Execute API details query.
 
1002     This command works exactly the same as if calling the /details endpoint on
 
1004     the web API. See the online documentation for more details on the
 
1008     https://nominatim.org/release\-docs/latest/api/Details/
 
1015 \fB\-q\fR, \fB\-\-quiet\fR
 
1016 Print only error messages
 
1019 \fB\-v\fR, \fB\-\-verbose\fR
 
1020 Increase verboseness of output
 
1023 \fB\-\-project\-dir\fR DIR
 
1024 Base directory of the Nominatim installation (default:.)
 
1027 \fB\-j\fR NUM, \fB\-\-threads\fR NUM
 
1028 Number of parallel threads to use
 
1031 \fB\-\-node\fR \fI\,NODE\/\fR, \fB\-n\fR \fI\,NODE\/\fR
 
1032 Look up the OSM node with the given ID.
 
1035 \fB\-\-way\fR \fI\,WAY\/\fR, \fB\-w\fR \fI\,WAY\/\fR
 
1036 Look up the OSM way with the given ID.
 
1039 \fB\-\-relation\fR \fI\,RELATION\/\fR, \fB\-r\fR \fI\,RELATION\/\fR
 
1040 Look up the OSM relation with the given ID.
 
1043 \fB\-\-place_id\fR \fI\,PLACE_ID\/\fR, \fB\-p\fR \fI\,PLACE_ID\/\fR
 
1044 Database internal identifier of the OSM object to look up
 
1047 \fB\-\-class\fR \fI\,OBJECT_CLASS\/\fR
 
1048 Class type to disambiguated multiple entries of the same object.
 
1051 \fB\-\-addressdetails\fR
 
1052 Include a breakdown of the address into elements
 
1056 Include a list of name keywords and address keywords
 
1059 \fB\-\-linkedplaces\fR
 
1060 Include a details of places that are linked with this one
 
1064 Include details of places lower in the address hierarchy
 
1067 \fB\-\-group_hierarchy\fR
 
1068 Group the places by type
 
1071 \fB\-\-polygon_geojson\fR
 
1072 Include geometry of result
 
1075 \fB\-\-lang\fR LANGS, \fB\-\-accept\-language\fR LANGS
 
1076 Preferred language order for presenting search results
 
1078 .SH OPTIONS 'nominatim status'
 
1079 usage: nominatim status [-h] [-q] [-v] [--project-dir DIR] [-j NUM]
 
1080                         [--format {text,json}]
 
1082     Execute API status query.
 
1086     This command works exactly the same as if calling the /status endpoint on
 
1088     the web API. See the online documentation for more details on the
 
1092     https://nominatim.org/release\-docs/latest/api/Status/
 
1099 \fB\-q\fR, \fB\-\-quiet\fR
 
1100 Print only error messages
 
1103 \fB\-v\fR, \fB\-\-verbose\fR
 
1104 Increase verboseness of output
 
1107 \fB\-\-project\-dir\fR DIR
 
1108 Base directory of the Nominatim installation (default:.)
 
1111 \fB\-j\fR NUM, \fB\-\-threads\fR NUM
 
1112 Number of parallel threads to use
 
1115 \fB\-\-format\fR {text,json}
 
1120 was written by the Nominatim developer community <info@nominatim.org>.
 
1122 The latest version of Nominatim may be downloaded from
 
1123 .UR https://nominatim.org