Advertência: JPF Plugin /home/thiago/.openstreetmap/osmosis/plugins/mapsforge-map-0.3.0-jar-with-dependencies.jar is malformed and cannot be loaded.
Grave: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Task type mapfile-writer doesn't exist.
baixar o mapa:
wget -c http://download.geofabrik.de/south-america/brazil-latest.osm.pbf
baixar o osmosis 0.4.1
no meu caso extraí ele em /opt, para a pasta osmosis-0.40.1
criar a pasta:
/home/seu_usuario/.openstreetmap/osmosis/plugins/
baixar para esta pasta:
mapsforge-map-writer-0.3.0-jar-with-dependencies.jar e mapsforge-map-0.3.0-jar-with-dependencies.jar do site:
http://code.google.com/p/mapsforge/downloads/list
vá para a pasta onde baixou o mapa do brasil
cd /home/usuario/downloads
Execute:
/opt/osmosis-0.40.1/bin/osmosis --read-pbf "brazil-latest.osm.pbf" --mapfile-writer file="brasilmano.osm.map"