IndivisibleSomerville/its-our-call

Host topographical JSON data for d3 maps

Open

#68 opened on Sep 1, 2018

 (0 comments) (0 reactions) (0 assignees)HTML (1 fork)auto 404
backendgood first issuehelp wanted

Repository metrics

Stars
 (2 stars)
PR merge metrics
 (PR metrics pending)

Description

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)

Contributor guide