Skip to content

Using Airtable API as the data feed to then build static map images from MapBox and then save it to disk.

Notifications You must be signed in to change notification settings

jgulledge19/Static-Map-Saver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Static Map Saver

Using Airtable API as the data feed to then build static map images from MapBox and then save it to disk. Static map images can then be used on web pages.

Requirements

  • PHP7 & Composer
  • MapBox Key
  • Airtable key
  • Run from Command line

Goals

  • Configurable
  • Follow consistent naming of images to be pulled from a front end web site

File naming convention

  • {Place Lookup}-wide.png
  • {Place Lookup}-detail.png

References

Config

  • Keys
  • Data source
  • Airtable Endpoint
  • Save images to path

Copy the sample.env and fill in all values with your instance data.

Design notes

  • Airtable could be broken into separate project
  • Mapbox could also be broken into separate project

Created at Faithtech Hack

About

Using Airtable API as the data feed to then build static map images from MapBox and then save it to disk.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages