Skip to main content
This guide will walk you through creating your first map poster with MapToPoster. You’ll learn the basic workflow and explore some of the customization options.
Make sure you’ve completed the installation before starting this tutorial.

Your First Poster

Let’s create a simple poster of Paris with the default terracotta theme.
1

Basic command

Run the following command to generate a Paris poster:
The first run may take 30-60 seconds as it downloads map data from OpenStreetMap. Subsequent runs with the same city will be much faster due to caching.
2

Watch the progress

You’ll see output showing the generation process:
3

View your poster

Your poster is saved in the posters/ directory with a timestamped filename:
The file format is: {city}_{theme}_{YYYYMMDD_HHMMSS}.png

Customize Your Poster

Now let’s explore different customization options.

Choose a Different Theme

MapToPoster includes 17 built-in themes. List them all:
Try a different theme using the -t or --theme flag:

noir

Pure black background with white roads - perfect for minimalist aesthetics

midnight_blue

Navy background with gold roads - elegant and sophisticated

neon_cyberpunk

Dark background with electric pink/cyan - futuristic vibe

japanese_ink

Minimalist ink wash style - zen and artistic

blueprint

Architectural blueprint aesthetic - technical and precise

sunset

Warm oranges and pinks - vibrant and energetic

Adjust Map Coverage

Control how much of the city is shown with the -d or --distance parameter (in meters):
Distance Guide:

Custom Dimensions

Change the poster size using -W (width) and -H (height) in inches:
Resolution Reference (300 DPI):

Multilingual Posters

Create posters with city names in their native scripts using Google Fonts.

Japanese Example

Arabic Example

Korean Example

Fonts are automatically downloaded from Google Fonts and cached locally in fonts/cache/. The tool automatically detects non-Latin scripts and applies appropriate spacing.

Real-World Examples

Here are some curated examples showcasing different city patterns:

Grid Patterns

Cities with distinctive grid layouts:

Waterfront Cities

Cities with beautiful canal or coastal features:

Radial Patterns

Cities with circular or radial layouts:

Organic Patterns

Cities with organic, maze-like street layouts:

Advanced Options

Override Coordinates

Focus on a specific location instead of the city center:

Generate All Themes

Create posters with every available theme:
This generates 17 posters, one for each theme.

Different Output Formats

Export as PNG (default), SVG, or PDF:

Understanding the Output

Each poster includes:
  1. Map layers (from bottom to top):
    • Background color
    • Water features (rivers, bays, coastlines)
    • Parks and green spaces
    • Road network with hierarchical styling:
      • Motorways: Thickest, darkest lines
      • Primary roads: Thick lines
      • Secondary roads: Medium lines
      • Tertiary roads: Thin lines
      • Residential streets: Thinnest, lightest lines
  2. Gradient fades at top and bottom for visual depth
  3. Typography with:
    • City name (large, spaced letters for Latin scripts)
    • Decorative line separator
    • Country name
    • Coordinates (latitude/longitude)
    • OpenStreetMap attribution (bottom right)

Tips for Best Results

Match theme to city character

Use blueprint for Venice canals, japanese_ink for Tokyo, terracotta for Mediterranean cities, or neon_cyberpunk for modern Asian cities.

Adjust distance for city pattern

Dense historic centers look best at 4-6km. Grid cities shine at 8-12km. Large metros need 15-20km to show their full character.

Consider the final use

Use square dimensions (3.6x3.6) for Instagram, portrait (12x16) for wall art, or landscape (12.8x7.2) for desktop wallpapers.

Experiment with themes

Use --all-themes to generate all 17 variations at once, then pick your favorite. Cached data makes this fast!

Troubleshooting

If the geocoder finds the wrong city, override with specific coordinates:
  • Increase the distance: -d 20000
  • Check if you’re in a rural area with fewer roads
  • Try a different city or coordinates
The tool auto-scales for long city names, but you can:
  • Use shorter display names: -dc "NYC"
  • Increase poster width/height
First run downloads map data. Speed up future runs:
  • Data is automatically cached in cache/ directory
  • Same city + distance combination uses cached data
  • Try --all-themes to reuse downloaded data for multiple posters

Next Steps

Now that you’ve created your first posters, explore more:

CLI Reference

Complete reference of all command-line options

Themes

Browse all 17 themes and learn to create custom themes

Examples

Gallery of curated city posters with exact commands

Advanced Usage

Coordinate overrides, custom fonts, and more