forked from notefox/OHDMWebServer
-
Notifications
You must be signed in to change notification settings - Fork 0
manually convert .osm to .map
NoteFox edited this page Jul 10, 2020
·
6 revisions
We're using osmosis with the mapsforge-map-writer-plugin to convert .osm maps to .map. In order to use osmosis, just download and execute 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>