Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.51 KB

README.md

File metadata and controls

55 lines (36 loc) · 1.51 KB

Osm2xmap

Converter from OpenStreetMap data to OpenOrienteering Mapper format.

Getting

See Downloads or build from source

git clone https://github.com/sembruk/osm2xmap.git
cd osm2xmap
make && make install

Users of Arch Linux may use an AUR package.

Dependencies

Installing dependencies on Debian or Ubuntu

sudo sh -c "echo 'deb http://debian.libroxml.net/mirror/ debian contrib' > /etc/apt/sources.list.d/libroxml.list"
sudo apt-get update
sudo apt-get install libroxml0 libroxml-dev libproj0 libproj-dev libyaml-cpp0.3 libyaml-cpp0.3-dev

Usage

Download OSM data from http://openstreetmap.org/export. You can also use JOSM editor for download data.

Convert downloaded file with the following command

osm2xmap map.osm

For more options see osm2xmap --help.

You can open and edit resulting file in OpenOrienteering Mapper v0.6.6 or newer.

Features

  • Supported points, lines and multipolygons.
  • Copies all OSM tags (press Ctrl+Shift+6 in OOM to see).
  • You can configure converting rules (see *_rules.yaml file)

Todo

  • Replace Libroxml
  • Rules for other symbol sets