Elected Officials makes simple maps of district boundaries available through the map resource.
Use the id property from a District object with this resource to request an image showing the shape of the district. The appearance of the map can be configured beyond the default style with graphical parameters.
JSON and XML responses will contain the image as a data URI. Requests with format=image will return only the image.
Cost: 1 credit
Required. The License Key issued by Melissa.
Example:customer_id={REPLACE-WITH-YOUR-LICENSE-KEY}
The License Key issued by Melissa.
The type of line joins for the district's outline.
The EPSG code spatial reference system code for the map.
- https://electedofficials.melissadata.net/v3.1https://electedofficials.melissadata.net/v3.1/map/{district_id}
curl -i -X GET \
'https://electedofficials.melissadata.net/v3.1/map/{district_id}?customer_id=%7BREPLACE-WITH-YOUR-LICENSE-KEY%7D' \
-H 'Accept: */*' \
-H 'Content-Type: application/json'Response
{ "response": { "errors": [], "messages": [], "results": { … } } }