Fix API docs and Vagrant instructions to import data

This commit is contained in:
Artem Ziablytskyi
2022-03-10 10:57:26 +01:00
committed by Sarah Hoffmann
parent 6bee188f24
commit 665fae8343
2 changed files with 3 additions and 3 deletions

View File

@@ -43,8 +43,8 @@ is.
``` ```
# inside the virtual machine: # inside the virtual machine:
cd build cd build
wget --no-verbose --output-document=/tmp/monaco.osm.pbf http://download.geofabrik.de/europe/monaco-latest.osm.pbf wget --no-verbose --output-document=/tmp/dump.osm.pbf http://download.geofabrik.de/europe/monaco-latest.osm.pbf
nominatim import --osm-file /tmp/monaco.osm.pbf cd /nominatim && nominatim import --osm-file /tmp/dump.osm.pbf
``` ```
To repeat an import you'd need to delete the database first To repeat an import you'd need to delete the database first

View File

@@ -127,7 +127,7 @@ formats depending on the API call.
</result> </result>
<addressparts> <addressparts>
<state>Bavaria</state> <state>Bavaria</state>
<state_code>BY</state_code> <state-ISO3166-2>DE-BY</state_code>
<country>Germany</country> <country>Germany</country>
<country_code>de</country_code> <country_code>de</country_code>
</addressparts> </addressparts>