MCPcopy
hub / github.com/originalankur/maptoposter / print_examples

Function print_examples

create_map_poster.py:325–379  ·  view source on GitHub ↗

Print usage examples.

()

Source from the content-addressed store, hash-verified

323 print(f"✓ Done! Poster saved as {output_file}")
324
325def print_examples():
326 """Print usage examples."""
327 print("""
328City Map Poster Generator
329=========================
330
331Usage:
332 python create_map_poster.py --city <city> --country <country> [options]
333
334Examples:
335 # Iconic grid patterns
336 python create_map_poster.py -c "New York" -C "USA" -t noir -d 12000 # Manhattan grid
337 python create_map_poster.py -c "Barcelona" -C "Spain" -t warm_beige -d 8000 # Eixample district grid
338
339 # Waterfront & canals
340 python create_map_poster.py -c "Venice" -C "Italy" -t blueprint -d 4000 # Canal network
341 python create_map_poster.py -c "Amsterdam" -C "Netherlands" -t ocean -d 6000 # Concentric canals
342 python create_map_poster.py -c "Dubai" -C "UAE" -t midnight_blue -d 15000 # Palm & coastline
343
344 # Radial patterns
345 python create_map_poster.py -c "Paris" -C "France" -t pastel_dream -d 10000 # Haussmann boulevards
346 python create_map_poster.py -c "Moscow" -C "Russia" -t noir -d 12000 # Ring roads
347
348 # Organic old cities
349 python create_map_poster.py -c "Tokyo" -C "Japan" -t japanese_ink -d 15000 # Dense organic streets
350 python create_map_poster.py -c "Marrakech" -C "Morocco" -t terracotta -d 5000 # Medina maze
351 python create_map_poster.py -c "Rome" -C "Italy" -t warm_beige -d 8000 # Ancient street layout
352
353 # Coastal cities
354 python create_map_poster.py -c "San Francisco" -C "USA" -t sunset -d 10000 # Peninsula grid
355 python create_map_poster.py -c "Sydney" -C "Australia" -t ocean -d 12000 # Harbor city
356 python create_map_poster.py -c "Mumbai" -C "India" -t contrast_zones -d 18000 # Coastal peninsula
357
358 # River cities
359 python create_map_poster.py -c "London" -C "UK" -t noir -d 15000 # Thames curves
360 python create_map_poster.py -c "Budapest" -C "Hungary" -t copper_patina -d 8000 # Danube split
361
362 # List themes
363 python create_map_poster.py --list-themes
364
365Options:
366 --city, -c City name (required)
367 --country, -C Country name (required)
368 --theme, -t Theme name (default: feature_based)
369 --distance, -d Map radius in meters (default: 29000)
370 --list-themes List all available themes
371
372Distance guide:
373 4000-6000m Small/dense cities (Venice, Amsterdam old center)
374 8000-12000m Medium cities, focused downtown (Paris, Barcelona)
375 15000-20000m Large metros, full city view (Tokyo, Mumbai)
376
377Available themes can be found in the 'themes/' directory.
378Generated posters are saved to 'posters/' directory.
379""")
380
381def list_themes():
382 """List all available themes with descriptions."""

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected