mirror of
https://github.com/enzet/map-machine.git
synced 2025-07-30 23:00:25 +02:00
Add commands for preview.
This commit is contained in:
parent
fa92e684f4
commit
da0ebd8bfa
2 changed files with 14 additions and 0 deletions
|
@ -62,6 +62,12 @@ Map Machine uses icons to visualize tags for nodes and areas. But unlike other r
|
|||
|
||||
With `--buildings isometric` or `--buildings isometric-no-parts` (not set by default), buildings are drawn using isometric shapes for walls and shade in proportion to [`building:levels`](https://wiki.openstreetmap.org/wiki/Key:building:levels), [`building:min_level`](https://wiki.openstreetmap.org/wiki/Key:building:min_level), [`height`](https://wiki.openstreetmap.org/wiki/Key:height), and [`min_height`](https://wiki.openstreetmap.org/wiki/Key:min_height) values.
|
||||
|
||||
#### Example ####
|
||||
|
||||
```shell
|
||||
map-machine render -c=-26.19049,28.05605 --buildings isometric
|
||||
```
|
||||
|
||||

|
||||
|
||||
### Road lanes ###
|
||||
|
@ -112,6 +118,8 @@ Japanese maps usually use [special symbols](https://en.wikipedia.org/wiki/List_o
|
|||
|
||||
Draw indoor features specifying level with `--level` option. Possible values are numbers (e.g. `1`, `0.5`), lists of number separated by `;` (e.g. `1;2;4;4.5`), `all`, `overground`, and `underground`. The default value is not `all`, but `overground`, so underground objects are not shown on the map if `--level` option is not specified.
|
||||
|
||||
#### Example ####
|
||||
|
||||
```shell
|
||||
map-machine render -c 4.5978,-74.07507 -s 600,400 -z 19.5 --level 0
|
||||
```
|
||||
|
|
|
@ -51,6 +51,10 @@ Map Machine uses icons to visualize tags for nodes and areas. But unlike other
|
|||
|
||||
With \m {--buildings isometric} or \m {--buildings isometric-no-parts} (not set by default), buildings are drawn using isometric shapes for walls and shade in proportion to \osm {building:levels}, \osm {building:min_level}, \osm {height}, and \osm {min_height} values.
|
||||
|
||||
\4 {Example}
|
||||
|
||||
\code {shell} {map-machine render -c=-26.19049,28.05605 --buildings isometric}
|
||||
|
||||
\image {doc/buildings.svg} {3D buildings}
|
||||
|
||||
\3 {Road lanes} {road-lanes}
|
||||
|
@ -119,6 +123,8 @@ Japanese maps usually use \ref {https://en.wikipedia.org/wiki/List_of_Japanese_m
|
|||
|
||||
Draw indoor features specifying level with \m {--level} option. Possible values are numbers (e.g. \m {1}, \m {0.5}), lists of number separated by \m {;} (e.g. \m {1;2;4;4.5}), \m {all}, \m {overground}, and \m {underground}. The default value is not \m {all}, but \m {overground}, so underground objects are not shown on the map if \m {--level} option is not specified.
|
||||
|
||||
\4 {Example}
|
||||
|
||||
\code {shell} {map-machine render -c 4.5978,-74.07507 -s 600,400 -z 19.5 --level 0}
|
||||
|
||||
\image {doc/indoor.svg} {Indoor}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue