Is the .osm file exported from openstreetmap need any preprocessing?

i exported certain area from openstreetmap, and im using mapsforge library to display it on my android application, i converted the .osm to .map using osmosis tool, but the map is not visible and when i use any .map file available on, it works fine.

1 Like

It would help to mention which application you use.

And what kind of conversion you did.

i created a simple android application from mapsforge sample apps, to display the .map file selected by user on starting the application.

$ bin/osmosis --rx file=…/data/bremen.osm --mapfile-writer file=/tmp/
i used this command to convert the .osm to .map so that mapsforge can use it
source: mapsforge/docs/ at master · mapsforge/mapsforge · GitHub

1 Like