Skip to content

Commit 00caff7

Browse files
committed
mention that we produce newline-delimited JSON
1 parent 4d87065 commit 00caff7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public demo server at [photon.komoot.io](https://photon.komoot.io).
2222
- filter by bounding box
2323
- reverse geocode a coordinate to an address
2424
- OSM data import (built upon [Nominatim](https://nominatim.org)) inclusive continuous updates
25-
- import and export as JSON dumps
25+
- import and export dumps in concatenated JSON format
2626

2727
## Demo server
2828

@@ -286,13 +286,13 @@ where NOMINATIM_DIR is the project directory of your Nominatim installation.
286286

287287
Imports normally write the data directly into a ElasticSearch/OpenSearch
288288
database. When adding the parameter `-json <filename>` the data is written
289-
out as a JSON dump file instead. All parameter that influence a database
290-
import are valid for a JSON dump as well. To dump the data to standard output
291-
(for example, to directly pack the data), use `-json -`.
289+
out as a newline-delimited JSON dump file instead. All parameter that influence
290+
a database import are valid for a JSON dump as well. To dump the data to
291+
standard output (for example, to directly pack the data), use `-json -`.
292292

293293
### Importing data from a JSON dump
294294

295-
To read a JSON dump previously created with photon, use the following command:
295+
To read a dump file previously created with photon, use the following command:
296296

297297
```
298298
java -jar photon-*.jar -nominatim-import -import-file <filename>

0 commit comments

Comments
 (0)