]> git.openstreetmap.org Git - nominatim.git/commitdiff
Fix API docs and Vagrant instructions to import data
authorArtem Ziablytskyi <a.ziablytskyi@sportradar.com>
Thu, 10 Mar 2022 09:57:26 +0000 (10:57 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 7 Apr 2022 14:37:51 +0000 (16:37 +0200)
VAGRANT.md
docs/api/Output.md

index d26b8dbd75487520ae61462343cbe6e52c391390..789592a97dceb82a9378b16c142b148b89916474 100644 (file)
@@ -43,8 +43,8 @@ is.
       ```
       # inside the virtual machine:
       cd build
-      wget --no-verbose --output-document=/tmp/monaco.osm.pbf http://download.geofabrik.de/europe/monaco-latest.osm.pbf
-      nominatim import --osm-file /tmp/monaco.osm.pbf
+      wget --no-verbose --output-document=/tmp/dump.osm.pbf http://download.geofabrik.de/europe/monaco-latest.osm.pbf
+      cd /nominatim && nominatim import --osm-file /tmp/dump.osm.pbf
       ```
 
     To repeat an import you'd need to delete the database first
index a584d2510e9a0b167a8efe451e006f8d72f9eeaa..2dd2f55af48e808a203d0dd59238b52fefbe239a 100644 (file)
@@ -127,7 +127,7 @@ formats depending on the API call.
   </result>
   <addressparts>
      <state>Bavaria</state>
-     <state_code>BY</state_code>
+     <state-ISO3166-2>DE-BY</state_code>
      <country>Germany</country>
      <country_code>de</country_code>
   </addressparts>