IndivisibleSomerville/its-our-call

Host topographical JSON data for d3 maps

开放

#68 创建于 2018年9月1日

 (0 条评论) (0 个反应) (0 位负责人)HTML (1 个派生)auto 404
backendgood first issuehelp wanted

仓库指标

星标
 (2 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Currently the topoJSON for the map component is being hosted at https://github.com/andrewtremblay/andrewtremblay.github.com/tree/master/json/_temp/topoJSON.

A more permanent place is needed for long term stability, it might be time to begin hosting the python server somewhere.

Requirements

Determine the best way to host the files long term (AWS or some IS-official CDN).

Begin implementing that hosting strategy, finalizing with moving the urls in the react frontend to point to it. https://github.com/IndivisibleSomerville/its-our-call/blob/57c2cca047edca2ad6faef09be247385f663b045/frontend/its-our-call/src/components/MapD3.tsx#L11

Notes

The plan will eventually be to adapt to the district maps changing over time (not all districts are changed, but a few are subtly changed every so often). We can automate this process (not needed for MVP)

We will need to document how we download and adjust these topoJSON files from the census.gov site. (That can be another task)

贡献者指南