mirror of
https://github.com/enzet/map-machine.git
synced 2025-08-02 08:09:57 +02:00
Update readme.
1. Add power tower design and emergency icons preview. 2. Change Moire OSM tags format.
This commit is contained in:
parent
d525c03a09
commit
81ab4e14c7
2 changed files with 34 additions and 14 deletions
|
@ -5,7 +5,7 @@
|
|||
{set of icons,}
|
||||
{and map styles.}
|
||||
|
||||
\href {https\://travis-ci.org/enzet/Roentgen} {\image {https\://travis-ci.org/enzet/Roentgen.svg?branch=master} {Build Status}}
|
||||
\href {https://travis-ci.org/enzet/Roentgen} {\image {https://travis-ci.org/enzet/Roentgen.svg?branch=master} {Build Status}}
|
||||
|
||||
The idea behind Röntgen project is to have a possibility to \i {display any map feature} represented by OpenStreetMap data tags by means of colors, shapes, and icons.
|
||||
|
||||
|
@ -17,7 +17,7 @@ Nevertheless, Röntgen map generator can generate precise but messy maps for OSM
|
|||
|
||||
\3 {Building levels} {levels}
|
||||
|
||||
Simple shapes for walls and shade in proportion to \tt {building\:levels} value.
|
||||
Simple shapes for walls and shade in proportion to \osm {building:levels} value.
|
||||
|
||||
\image {doc/buildings.png} {3D buildings}
|
||||
|
||||
|
@ -29,19 +29,29 @@ Tree leaf types, leaf cycles, and genes.
|
|||
|
||||
\3 {Viewpoint and camera direction} {direction}
|
||||
|
||||
Visualize \tt {direction} tag for \tt {tourism=viewpoint} and \tt {camera\:direction} for \tt {man_made=surveillance}.
|
||||
Visualize \osm {direction} tag for \osm {tourism=viewpoint} and \osm {camera:direction} for \osm {man_made=surveillance}.
|
||||
|
||||
\image {doc/surveillance.png} {Surveillance}
|
||||
|
||||
\3 {Power tower design} {power_tower_design}
|
||||
|
||||
Visualize \osm {design} values used with \osm {power=tower} tag.
|
||||
|
||||
\image {doc/power_tower_design.png} {Power tower design}
|
||||
|
||||
\3 {Emergency} {emergency}
|
||||
|
||||
\image {doc/emergency.png} {Emergency}
|
||||
|
||||
\2 {Icon set} {icon_set}
|
||||
|
||||
If tag is drawable it is displayed using icon combination and colors. All icons are under \href {https\://github.com/gmgeo/osmic} {CC BY 4.0](http\://creativecommons.org/licenses/by/4.0/) license. So, do whatever you want but give appropriate credit. Icon set is heavily inspired by [Osmic} icon set.
|
||||
If tag is drawable it is displayed using icon combination and colors. All icons are under \href {http://creativecommons.org/licenses/by/4.0/} {CC BY} license. So, do whatever you want but give appropriate credit. Icon set is heavily inspired by \href {https://github.com/mapbox/maki} {Maki}, \href {https://github.com/gmgeo/osmic} {Osmic}, and \href {https://github.com/ideditor/temaki} {Temaki} icon sets.
|
||||
|
||||
\image {doc/grid.png} {Icons}
|
||||
|
||||
Feel free to request new icons via issues for whatever you want to see on the map. No matter how frequently the tag is used in OpenStreetMap since final goal is to cover all tags. However, common used tags have priority, other things being equal.
|
||||
|
||||
Draw icon grid\: \tt {python3 run.py grid}.
|
||||
Draw icon grid\: \tt {python run.py grid}.
|
||||
|
||||
\3 {Icon combination} {icon_combination}
|
||||
|
||||
|
@ -100,8 +110,8 @@ Example\:
|
|||
\4 {Optional} {optional_arguments}
|
||||
|
||||
\list
|
||||
{\tt {--scale} or \tt {-s}\: OSM \href {https\://wiki.openstreetmap.org/wiki/Zoom_levels} {zoom level}. Default is 18.}
|
||||
{\tt {-o}\: path to output SVG file name. Default is <tt>map.svg</tt>.}
|
||||
{\tt {--scale} or \tt {-s}\: OSM \href {https://wiki.openstreetmap.org/wiki/Zoom_levels} {zoom level}. Default is 18.}
|
||||
{\tt {-o}\: path to output SVG file name. Default is \tt {map.svg}.}
|
||||
{\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 {python3 run.py --help}.
|
||||
Check all arguments with \tt {python run.py --help}.
|
||||
|
|
22
readme.md
22
readme.md
|
@ -17,7 +17,7 @@ Map features
|
|||
|
||||
### Building levels ###
|
||||
|
||||
Simple shapes for walls and shade in proportion to `building:levels` value.
|
||||
Simple shapes for walls and shade in proportion to `[building:levels](https://wiki.openstreetmap.org/wiki/Key:building:levels)` value.
|
||||
|
||||

|
||||
|
||||
|
@ -29,20 +29,30 @@ Tree leaf types, leaf cycles, and genes.
|
|||
|
||||
### Viewpoint and camera direction ###
|
||||
|
||||
Visualize `direction` tag for `tourism=viewpoint` and `camera:direction` for `man_made=surveillance`.
|
||||
Visualize `[direction](https://wiki.openstreetmap.org/wiki/Key:direction)` tag for `[tourism](https://wiki.openstreetmap.org/wiki/Key:tourism)=[viewpoint](https://wiki.openstreetmap.org/wiki/Tag:tourism=viewpoint)` and `[camera:direction](https://wiki.openstreetmap.org/wiki/Key:camera:direction)` for `[man_made](https://wiki.openstreetmap.org/wiki/Key:man_made)=[surveillance](https://wiki.openstreetmap.org/wiki/Tag:man_made=surveillance)`.
|
||||
|
||||

|
||||
|
||||
### Power tower design ###
|
||||
|
||||
Visualize `[design](https://wiki.openstreetmap.org/wiki/Key:design)` values used with `[power](https://wiki.openstreetmap.org/wiki/Key:power)=[tower](https://wiki.openstreetmap.org/wiki/Tag:power=tower)` tag.
|
||||
|
||||

|
||||
|
||||
### Emergency ###
|
||||
|
||||

|
||||
|
||||
Icon set
|
||||
--------
|
||||
|
||||
If tag is drawable it is displayed using icon combination and colors. All icons are under [CC BY 4.0](http://creativecommons.org/licenses/by/4.0/) license. So, do whatever you want but give appropriate credit. Icon set is heavily inspired by [Osmic](https://github.com/gmgeo/osmic) icon set.
|
||||
If tag is drawable it is displayed using icon combination and colors. All icons are under [CC BY](http://creativecommons.org/licenses/by/4.0/) license. So, do whatever you want but give appropriate credit. Icon set is heavily inspired by [Maki](https://github.com/mapbox/maki), [Osmic](https://github.com/gmgeo/osmic), and [Temaki](https://github.com/ideditor/temaki) icon sets.
|
||||
|
||||

|
||||
|
||||
Feel free to request new icons via issues for whatever you want to see on the map. No matter how frequently the tag is used in OpenStreetMap since final goal is to cover all tags. However, common used tags have priority, other things being equal.
|
||||
|
||||
Draw icon grid: `python3 run.py grid`.
|
||||
Draw icon grid: `python run.py grid`.
|
||||
|
||||
### Icon combination ###
|
||||
|
||||
|
@ -106,8 +116,8 @@ python run.py -b 2.284,48.86,2.29,48.865
|
|||
#### Optional ####
|
||||
|
||||
* `--scale` or `-s`: OSM [zoom level](https://wiki.openstreetmap.org/wiki/Zoom_levels). Default is 18.
|
||||
* `-o`: path to output SVG file name. Default is <tt>map.svg</tt>.
|
||||
* `-o`: path to output SVG file name. Default is `map.svg`.
|
||||
* `-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 `python3 run.py --help`.
|
||||
Check all arguments with `python run.py --help`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue