{"id":24969706,"url":"https://github.com/bdon/nicar25-interactivemaps","last_synced_at":"2025-04-16T07:56:42.049Z","repository":{"id":275313385,"uuid":"925513759","full_name":"bdon/NICAR25-InteractiveMaps","owner":"bdon","description":"Materials for workshop at NICAR '25","archived":false,"fork":false,"pushed_at":"2025-03-07T21:19:15.000Z","size":65634,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T19:37:57.120Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://bdon.github.io/NICAR25-InteractiveMaps/","language":"HTML","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bdon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-01T03:35:26.000Z","updated_at":"2025-03-07T22:03:28.000Z","dependencies_parsed_at":"2025-03-04T23:37:28.786Z","dependency_job_id":null,"html_url":"https://github.com/bdon/NICAR25-InteractiveMaps","commit_stats":null,"previous_names":["bdon/nicar25-interactivemaps"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdon%2FNICAR25-InteractiveMaps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdon%2FNICAR25-InteractiveMaps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdon%2FNICAR25-InteractiveMaps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdon%2FNICAR25-InteractiveMaps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bdon","download_url":"https://codeload.github.com/bdon/NICAR25-InteractiveMaps/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249215996,"owners_count":21231525,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-03T14:51:39.882Z","updated_at":"2025-04-16T07:56:42.012Z","avatar_url":"https://github.com/bdon.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NICAR25: Unlocking Interactive Maps for Newsrooms\n\n* Link to this README: [bit.ly/nicar25-protomaps](https://bit.ly/nicar25-protomaps)\n* Opening the developer console on mac: `Command + Option + i`\n* SLIDES: [r2-public.protomaps.com/NICAR25.pdf](https://r2-public.protomaps.com/NICAR25.pdf)\n* [Feedback form](https://docs.google.com/forms/d/e/1FAIpQLSfVyWnRlovof8-lXfXFXw4EbHzSrJjMuB2S1ZLA7J-JQaIEFQ/viewform?usp=dialog)\n\n## Tools\n\n* [Protomaps Docs](https://docs.protomaps.com)\n* [MapLibre GL JS](https://github.com/maplibre/maplibre-gl-js)\n* [tippecanoe](https://github.com/felt/tippecanoe)\n* [pmtiles command line tool](https://github.com/protomaps/go-pmtiles)\n\n* python3\n\n* [PMTiles viewer (pmtiles.io)](https://pmtiles.io)\n* [Placemark](https://play.placemark.io)\n\n## Datasets\n\n* [Open Data Minneapolis](https://opendata.minneapolismn.gov)\n  * [Motorized Foot Scooter and eBike Trips 2023](https://opendata.minneapolismn.gov/datasets/cityoflakes::motorized-foot-scooter-and-ebike-trips-2023/about)\n  * [\"The Hennepin GIS Open Data site offers GIS data to the public free of charge and without need for a license. This site provides the ability to explore, view, share, consume, or download data.\"](https://gis-hennepin.hub.arcgis.com/pages/about-hennepin-gis)\n* [TheUpshot/presidential-precinct-map-2020](https://github.com/TheUpshot/presidential-precinct-map-2020)\n* [Protomaps Basemaps](https://docs.protomaps.com/basemaps/downloads)\n\n## Starting a static file server\n\n```sh\npython3 -m RangeHTTPServer\n```\n\n## Tasks\n\n* [Task 1](task1)\n* [Task 2](task2)\n* [Task 3](task3)\n\n## Commands\n\n```sh\npython create_geojson.py\n\npmtiles show tiles/basemap_minneapolis.pmtiles\n\n# detroit extract\npmtiles extract https://build.protomaps.com/20250306.pmtiles —-bbox=-83.1379,42.2801,-82.9600,42.3751\n\ntippecanoe points.geojson -o points.pmtiles --force --drop-fraction-as-needed\ntippecanoe lines.geojson -o lines.pmtiles --force --drop-fraction-as-needed\n\n# more options:\n# --maximum-tile-bytes=50000\n# --maximum-drop-fraction-as-needed\n# --maximum-zoom=7\n\ntippecanoe precincts-with-results.geojson -o precincts.pmtiles\n```\n\n## More Info\n\n* Last year's workshop: [eyeseast/self-hosted-maps-codespace](https://github.com/eyeseast/self-hosted-maps-codespace)\n* [Daniel Wood - Cheap and Pricey: NPR Leveraged Free Tools To Build and Host Our Own Slippy Maps](https://www.youtube.com/watch?v=Abbto_9nNtc)\n* [Chris Amico - How to make self-hosted maps that work everywhere and cost next to nothing](https://www.muckrock.com/news/archives/2024/feb/13/release-notes-how-to-make-self-hosted-maps-that-work-everywhere-cost-next-to-nothing-and-might-even-work-in-airplane-mode/)\n* [Kevin Schaul - How The Post is replacing Mapbox with open source solutions](https://kschaul.com/post/2023/02/16/how-the-post-is-replacing-mapbox-with-open-source-solutions/)\n\n\n## License\n\nWorkshop materials: [Creative Commons CC-BY](https://creativecommons.org/licenses/by/4.0/deed.en)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdon%2Fnicar25-interactivemaps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbdon%2Fnicar25-interactivemaps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdon%2Fnicar25-interactivemaps/lists"}