map-machine/doc
2015-08-05 03:30:44 +03:00
..
readme.moi Map and icon grid preview; new icons. 2015-08-05 03:30:44 +03:00

\2 {Map generation} {map_generation}

\b {Requirements}: Python 2.7.

\code
{python mapper.py -i \formal {input OSM XML file name} -o \formal {output SVG file name}}

\image {https://raw.github.com/enzet/OSM/master/map.png} {Sample map}

\3 {Options}

\table
{
    {
        {\tt {-bbox}, \tt {--boundary-box}} 
        {\tt {\formal {longitude 1},\formal {longitude 2},\formal {latitude 1},\formal {latitude 2}}}
        {Boundary box to draw}
    }
    {
        {\tt {-s}, \tt {--size}} 
        {\tt {\formal {x},\formal {y}}}
        {Result image size}
    }
}

\2 {Icons}

Double size:

\image {https://raw.github.com/enzet/OSM/master/grid.png} {Icons}