Skip to content

tyalie/City-Maps-Poster-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

City Maps

Inspiration is drawn from this.

Get all access-tokens

For this to work, you need a mapbox token (written into renderer/token.sh) and a maptiler token (should replace {key} inside of black_white.json)

Usage

  1. install mapbox-map-image-export globally using npm
    • command export-map --help should be working
  2. specify your mapbox token in renderer/token.sh using syntax:
export MAPBOX_TOKEN="YOUR-MAPBOX-TOKEN"
  1. then run renderer/render.sh with parameters run LAT,LONG RADIUS STYLE_JSON [debug]
  • LAT and LONG are the center coordinate in decimal degrees using pos./neg. numbers instead of N/E/S/W
  • RADIUS are in kilometers
  • STYLE_JSON is the relative path to the map style to be used (created using maputnik)
  • [debug] optional parameter to open export-map in debug mode
  1. insert image into Template.psd

If you need, you can create your own styles using Maputnik which can be used online or offline. Store the style as STYLE_NAME.json.

Enjoy your final poster, that could look like this:

example

About

Creates beautiful posters from stylized arial views of cities or other places on earth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages