Closed
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
- Add hmi.html: standalone browser UI with city/country inputs, 17 themed
color swatches, radius slider, aspect ratio toggle (3:4 / 4:5), and
include-small-roads checkbox; submits to Flask API and renders the
generated poster inline with a download button
- Add app.py: Flask server that serves the HMI at / and exposes a
POST /generate endpoint that runs the Python script via subprocess,
then serves the output image at /poster/<path>
- Add maptoposter/create_map_poster_hmi.py: new PNG generator with:
* --no-small-roads flag to exclude residential/living_street/unclassified
* organized output dirs: posters/{country}/{city}/{theme}/{filename}.png
* filenames include radius in metres and timestamp
* map data caching: on first run saves graph.graphml, water.gpkg,
parks.gpkg and metadata.json under posters/{country}/{city}/map_data_{r}m/;
subsequent runs for the same city+radius skip all network calls and
load from disk, showing [cache HIT] in output
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
# Conflicts: # .gitignore
…ter/ subdir
- git mv maptoposter/create_map_poster_hmi.py → root
- git mv maptoposter/create_map_poster_svg.py → root
- git mv maptoposter/create_map_poster_dxf.py → root
- Deleted maptoposter/ subdir (fonts, themes, posters, requirements, README, LICENSE,
.gitignore were all duplicates of root-level copies)
- Deleted main.py (scratch file)
- app.py: updated SCRIPT, POSTERS_DIR, cwd, and glob pattern to remove maptoposter/ prefix
- .gitignore: fixed poster ignore globs from maptoposter/posters/*.{png,svg,dxf}
to posters/**/*.{png,svg,dxf}; updated .gitkeep path likewise
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
# Conflicts: # .gitignore
Owner
|
PR has too much changes and no description and explanation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.