Legislative District Import Format

To import legislative districts into the system, provide a single GeoJSON file containing all districts with their boundaries and representative information.

Required Format

File Structure

  • File Type: GeoJSON (.geojson or .json)
  • Structure: FeatureCollection with multiple features (one per district)

Required Properties for Each Feature

Each district feature must include these properties:

PropertyRequiredDescriptionExample
district_numberYesDistrict identifier/number"5" or "5A"
district_nameNoFull district name (auto-generated if omitted)"5th Ward"
rep_nameNoRepresentative's full name"John Smith"
rep_phoneNoRepresentative's phone number"312-555-0100" or "+1-312-555-0100"
rep_emailNoRepresentative's email address"[email protected]"

Note: Additional properties will be preserved in the system for future reference.


Example GeoJSON File

{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "properties": {
        "district_number": "1",
        "district_name": "1st District",
        "rep_name": "Jane Doe",
        "rep_phone": "312-555-0101",
        "rep_email": "[email protected]"
      },
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [
            [-87.6298, 41.8781],
            [-87.6290, 41.8781],
            [-87.6290, 41.8790],
            [-87.6298, 41.8790],
            [-87.6298, 41.8781]
          ]
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "district_number": "2",
        "district_name": "2nd District",
        "rep_name": "John Smith",
        "rep_phone": "312-555-0102",
        "rep_email": "[email protected]"
      },
      "geometry": {
        "type": "MultiPolygon",
        "coordinates": [
          [
            [
              [-87.6400, 41.8800],
              [-87.6390, 41.8800],
              [-87.6390, 41.8810],
              [-87.6400, 41.8810],
              [-87.6400, 41.8800]
            ]
          ]
        ]
      }
    }
  ]
}