I want to show offline a small area of a city on map. this link and its example is useful for me:


i downloaded .osm file by: https://www.openstreetmap.org/export#map

but now 1- I dont know how to convert the osm file to .png(s) files and also 2- I dont know how to name it in pattern of "osm_100-<l|h>-<map_id>-<z>-<x>-<y>.<extension>" that this is the filename pattern.

please help me to solv my two problems. thanks