Creating map database from map files