This project uses the prettymaps
library to generate a detailed map of Cairo, Egypt. The map includes several layers such as streets, buildings, water bodies, and greenery, providing a visually appealing and informative representation of the area.
To run this project, ensure that you have the necessary libraries installed. You can install them by running the following command in your terminal:
pip install prettymaps matplotlib osmnx
First, clone the repository to your local machine using the following command:
git clone <repository-url>
Replace <repository-url>
with your GitHub repository link.
Navigate to the project folder and run the Python script to generate the map. Use the following command in your terminal:
python Project_Cairo_Map.ipynb
The map will be displayed using matplotlib
upon running the script. You can customize the radius and layers to adjust the map's content.
Here is a preview of the Cairo map:
This image is stored in the images folder under the name 2000.png.
This map visualization focuses on Cairo and includes the following key features:
- Streets: Different street widths for primary, secondary, tertiary, and residential roads.
- Buildings: Highlighting building footprints across Cairo.
- Water Bodies: Visualizing lakes, rivers, and other water sources.
- Greenery: Showing parks, natural woods, and grasslands.
You can adjust the radius and layers to focus on different areas or add additional features as needed.
If you encounter any issues, feel free to open an issue on GitHub or contact me directly for support.