Skip to content

manually convert .osm to .map

NoteFox edited this page Jun 2, 2020 · 6 revisions

Convert .osm to .map-files

We're using osmosis with the mapsforge-map-writer-plugin to convert .osm maps to .map. In order to use osmosis, just execute /osm2map/osm2map.sh as sudo. The following code-block shows a successful execution:

user@host:~$ sudo bash osm2map.sh

Downloading osmosis to /opt/osmosis. ...

Downloading mapwriter plugin /opt/osmosis. ...

Download and build successful finished.

osmosis usage: /opt/osmosis/bin/osmosis --rx file=path-to-osm-file.osm --mw file=destination-path-map-file.map

Then you can begin to convert your own map-files with:

/opt/osmosis/bin/osmosis --rx file=path-to-osm-file.osm --mw file=destination-path-map-file.map

Clone this wiki locally