Commit 605f58c5 authored by Jgiannelos's avatar Jgiannelos
Browse files

docs: Add more practical examples

parent acea088f
Pipeline #390 passed with stages
in 2 minutes and 7 seconds
...@@ -18,6 +18,36 @@ optional arguments: ...@@ -18,6 +18,36 @@ optional arguments:
-h, --help show this help message and exit -h, --help show this help message and exit
``` ```
## Example
```
> cat tilelist.txt
0/0/0
0/1/0
> cat tilelist.txt | maps-deduped-tilelist 0 1
1/2/1
1/0/1
1/1/0
0/1/0
1/2/0
0/0/0
1/3/1
1/0/0
1/3/0
1/1/1
> maps-deduped-tilelist 0 1 ./tilelist.txt
1/2/1
1/0/1
1/1/0
0/1/0
1/2/0
0/0/0
1/3/1
1/0/0
1/3/0
1/1/1
```
## Context ## Context
This CLI tool is built as a way to generate a deduplicated tile list of distinct tiles based on the `imposm3` expired tile output. The reason behind this is to deduplicate tiles and optimize tile pregeneration by avoiding generating the same tile multiple times. This CLI tool is built as a way to generate a deduplicated tile list of distinct tiles based on the `imposm3` expired tile output. The reason behind this is to deduplicate tiles and optimize tile pregeneration by avoiding generating the same tile multiple times.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment