Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/u-c4n/cityscape-prettifier
Make beautiful, personalized city maps with ease. With Flask, Prettymaps, and Python, turn OpenStreetMap data into elegant, stylish visualizations. Ideal for designers, developers, and urban aficionados.
https://github.com/u-c4n/cityscape-prettifier
ai city openstreetmap prettymaps python
Last synced: 2 months ago
JSON representation
Make beautiful, personalized city maps with ease. With Flask, Prettymaps, and Python, turn OpenStreetMap data into elegant, stylish visualizations. Ideal for designers, developers, and urban aficionados.
- Host: GitHub
- URL: https://github.com/u-c4n/cityscape-prettifier
- Owner: U-C4N
- License: mit
- Created: 2024-06-25T13:34:22.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-09-13T10:36:40.000Z (3 months ago)
- Last Synced: 2024-10-12T19:23:28.983Z (2 months ago)
- Topics: ai, city, openstreetmap, prettymaps, python
- Language: Python
- Homepage:
- Size: 221 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Prettymaps Generator
Prettymaps Generator is a web application that creates stylized maps of cities and locations using OpenStreetMap data. Built on the Python Flask framework, this application utilizes the Prettymaps library to produce visually appealing maps.
![Prettymaps Generator Screenshot](readme.jpg)
## Features
- Generate maps by entering city names or coordinates
- Easy location search with autocomplete functionality
- Three different map styles: Minimalist, Vintage, and Colorful
- Wide-area maps showing the entire city
- Modern and user-friendly interface## Installation
Follow these steps to run the project on your local machine:
1. Clone the repository:
```
git clone https://github.com/U-C4N/prettymaps-generator.git
cd prettymaps-generator
```2. Create and activate a virtual Python environment:
```
python -m venv venv
source venv/bin/activate # For Windows: venv\Scripts\activate
```3. Install the required packages:
```
pip install -r requirements.txt
```4. Run the application:
```
python app.py
```5. Open your browser and go to `http://127.0.0.1:5000/` to start using the application.
## Usage
1. On the main page, enter the name of the city or coordinates for which you want to create a map.
2. You can select one of the suggested locations using the autocomplete feature.
3. Choose a map style (Minimalist, Vintage, or Colorful).
4. Click the "Generate Map" button.
5. The generated map will be displayed at the bottom of the page.## Acknowledgments
- [Prettymaps](https://github.com/marceloprates/prettymaps) - Map generation library
- [Flask](https://flask.palletsprojects.com/) - Web framework
- [OpenStreetMap](https://www.openstreetmap.org/) - Map data
- [Tailwind CSS](https://tailwindcss.com/) - CSS framework## Author