Re: [mapsforge-dev] Mapsforge, how to generate .map files?

42 views
Skip to first unread message

Karsten Groll

unread,
Dec 14, 2011, 10:05:09 AM12/14/11
to mapsfo...@googlegroups.com
Hello,

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

Pablo Saez

unread,
Dec 14, 2011, 10:09:03 AM12/14/11
to mapsfo...@googlegroups.com
Hi again,

I need to create my own files, with the areas i want... in your link are only predefined areas, i need to create my own files with the areas i need, how to do it? I tryed with the export of OSM website but it says that its limited to 50.000 nodes, i'm stuck

2011/12/14 Karsten Groll <karste...@googlemail.com>
Reply all
Reply to author
Forward
0 new messages