PBF files can be downloaded from Geofabrik [1]. You can also use XML
files. Therefore you have to replace the "--rb" (read binary) Osmosis
target with "--rx" (read XML). I recommend using PBF files.
Regards,
Karsten
[1] http://download.geofabrik.de/osm/
2011/12/14 Pablo Saez <elpab...@gmail.com>:
> Hi all
>
> I'm trying to understand how to generate .map files to use them with
> Mapsforge:
> http://code.google.com/p/mapsforge/wiki/MapFileWriterOsmosis#Changelog
>
> I'm having troubles to understand this line: "The plugin requires an
> input stream of valid OSM data. Use for example the MySQL, PostGIS,
> XML or PBF-Binary tasks of Osmosis to read OSM data."
>
> I need a .pbf input file (for example, berlin.osm.pbf), the problem is
> that i dont understand how to generate that pbf file, please, can you
> explain me how to do it? I need to generate maps of the areas i want,
> not the example maps given on the repositories.
>
> Thanks a lot