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 (
.geojsonor.json) - Structure: FeatureCollection with multiple features (one per district)
Required Properties for Each Feature
Each district feature must include these properties:
| Property | Required | Description | Example |
|---|---|---|---|
district_number | Yes | District identifier/number | "5" or "5A" |
district_name | No | Full district name (auto-generated if omitted) | "5th Ward" |
rep_name | No | Representative's full name | "John Smith" |
rep_phone | No | Representative's phone number | "312-555-0100" or "+1-312-555-0100" |
rep_email | No | Representative'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]
]
]
]
}
}
]
}
Updated about 2 hours ago
