Skip to content

webhookdb/pdxreporter-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdxreporter-map

Map for PDX Reporter using WebhookDB.

Check out the map using dynamic filters or a single query.

This code was built for the tutorial at https://docs.webhookdb.com/guides/render-map/.

Demo

Check out https://webhookdb.github.io/pdxreporter-map for a version using dynamic filters (status, category) and https://webhookdb.github.io/pdxreporter-map/simple for a version using a single saved query.

Development

It's just an HTML file. You'll need to serve it from localhost so the Mapbox token works.

$ python3 -m http.server

Then open a browser to http://localhost:8000 or http://localhost:8000/simple and the map will load.

Contributions on map styling are welcome and do not require anything beyond a browser and text editor.

If you want to modify the SQL query that powers these maps, you can set up your own WebhookDB account and point it at your own feed.

# See https://docs.webhookdb.com/docs/getting-started/install-cli.html
$ brew install webhookdb/webhookdb-cli/webhookdb
$ webhookdb auth login
$ webhookdb integrations create atom_single_feed_v1

About

Map for PDX Reporter using WebhookDB.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages