3

Where can I find files of Massachusetts State Senator and State Representatives to add these layers to a map?

2
  • census bureau ?
    – Ian Turton
    Apr 19, 2017 at 14:50
  • 1
    found out what their boundaries are, (districts) and add attribute values as needed to the polygons. Look on your states districts maps to see boundaries
    – NULL.Dude
    Apr 19, 2017 at 14:53

2 Answers 2

1

Open States offers this data.
Here's Massachusetts' data mapped out.
You can make API calls using Open States' API to generate this dynamically and/or rip the leaflet map/data for static.

1

The Open States district-shape API is a little shaky in my experience, so I don't use it. Instead, I use the Census shapefiles. You need to puzzle out how to map from the Census GEOID (district ID) to the OpenStates district, but it's really trivial IIRC - ping me here if you need specifics.

The one minor downside is that OpenStates tries to be more current - to keep up with redistricting better - by getting their data directly from each state. Redistricting usually occurs only once a decade.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.