I'm trying to create an application with graphhoper for offline routing . This Application can download map of some countries for example Now I have a directory with the extension "-gh", inside there are files: "edges", "nodes", "geometry" and a .map file. I want iran map and I downloaded iran.map from " http://download.mapsforge.org/maps/asia/ "and I downloaded some data (iran-latest.osm.bz2 , iran-latest.osm.pbf) from http://download.geofabrik.de/asia/iran.html but I didn't find "edges", "nodes", "geometry" and ... .
How can I convert iran-latest.osm.bz2 , iran-latest.osm.pbf to edges , nodes and ...? what should I do ?