mirror of
https://github.com/enzet/map-machine.git
synced 2025-08-06 10:09:52 +02:00
Issue #47: update readme.
This commit is contained in:
parent
0cd45dbdaf
commit
08764162d1
2 changed files with 33 additions and 0 deletions
19
README.md
19
README.md
|
@ -150,3 +150,22 @@ python roentgen.py -b 2.284,48.86,2.29,48.865
|
|||
|
||||
Check all arguments with `python roentgen.py --help`.
|
||||
|
||||
Tile generation
|
||||
---------------
|
||||
|
||||
```bash
|
||||
python roentgen.py tile \
|
||||
-c ${LATITUDE},${LONGITUDE} \
|
||||
-s ${OSM_ZOOM_LEVEL}
|
||||
```
|
||||
|
||||
Tile will be stored as SVG file to `tiles/tile_<zoom level>_<x>_<y>.svg`, where `x` and `y` are tile coordinates.
|
||||
|
||||
Example:
|
||||
|
||||
```bash
|
||||
python3 roentgen.py tile -c 55.7510637,37.6270761 -s 18
|
||||
```
|
||||
|
||||
will generate SVG file `tiles/tile_18_158471_81953.svg`.
|
||||
|
||||
|
|
|
@ -193,3 +193,17 @@ Example\:
|
|||
{\tt {-i}\: path to input XML file name. If this argument is not set, XML file will be downloaded through OpenStreetMap API.}
|
||||
|
||||
Check all arguments with \tt {python roentgen.py --help}.
|
||||
|
||||
\2 {Tile generation} {tile-generation}
|
||||
|
||||
\code {python roentgen.py tile \\
|
||||
-c $\{LATITUDE\},$\{LONGITUDE\} \\
|
||||
-s $\{OSM_ZOOM_LEVEL\}} {bash}
|
||||
|
||||
Tile will be stored as SVG file to \tt {tiles/tile_<zoom level>_<x>_<y>.svg}, where \tt {x} and \tt {y} are tile coordinates.
|
||||
|
||||
Example\:
|
||||
|
||||
\code {python3 roentgen.py tile -c 55.7510637,37.6270761 -s 18} {bash}
|
||||
|
||||
will generate SVG file \tt {tiles/tile_18_158471_81953.svg}.
|
Loading…
Add table
Add a link
Reference in a new issue