Skip to content

zahraasalman/KDProject

Repository files navigation

Welcome to TouristiQ

This application is created to give the user information about any country or capital.

Installation:

  • Open the application folder in your terminal and execute the following command:
      pip install -U -r requirements.txt
    • This command installs all required modules to execute the application
  • Before you can run the program, you need to insert a valid endpoint url at line 8 of queries.py.
    • endpoint = None Replace None by your own endpoint url between quotation marks.
    • For example: endpoint = "http://xxx.xxx.xxx.xxx:xxxx/repositories/YourRepositoryName"
  • To run the application, in the location where the application files are located, execute the following command:
  • streamlit run index.py

Usage:

Enable custom coordinates

This enables the user to insert custom coordinates, this could be usefull if the user wants to check a specific location that is not registered in the database or is not a country, city or capital.

Filter by continent

The user can select this option to filter the results by continent, this will narrow down the options the user has to all regions, countries and capitals of the chosen continent.

Filter by region

The user can select this option to filter the results by region, this is will narrow down the options the user has to all countries and capitals within the chosen region.

Choose a country

The user can select their desired country from a dropdown menu or type the name of the desired country and select it. This dropdown menu is always active and has to be used by the user to get a result.

Filter by cities

The user is able to filter by cities, this allows the user to pick any of the cities of the country that has been selected.

In the current version of the application, only the capital is available to the user.

The map

The map displays the location the user has selected, however, due to technical limitations of the framework this map is not interactable and purely acts as a mean to convey the location to the user and or allow the user to see the area of their desired location.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages