PollingLocation¶
The PollingLocation object represents a site where voters cast or drop off ballots.
Tag |
Data Type |
Required? |
Repeats? |
Description |
Error Handling |
|---|---|---|---|---|---|
AddressStructured |
Optional |
Single |
Represents the various structured parts of an address to a polling location. |
One of AddressStructured and
AddressLine should be present for a
given Polling Location. If none is
present, the implementation is required
to ignore the |
|
AddressLine |
|
Optional |
Repeats |
Represents the various parts of an address to a polling location. |
One of AddressStructured and AddressLine
should be present for a given Polling
Location. If none is present, the
implementation is required to ignore the
|
Directions |
Optional |
Single |
Specifies further instructions for locating the polling location. |
||
Hours [deprecated] |
Optional |
Single |
Contains the hours (in local time) that the polling location is open (NB: this element is deprecated in favor of the more structured HoursOpen element. It is strongly encouraged that data providers move toward contributing hours in this format). |
||
HoursOpenId |
|
Optional |
Single |
Links to an HoursOpen element, which is a schedule of dates and hours during which the polling location is available. |
|
IsDropBox |
|
Optional |
Single |
Indicates if this polling location is a drop box. |
|
IsEarlyVoting |
|
Optional |
Single |
Indicates if this polling location is an early vote site. |
|
LatLng |
Optional |
Single |
Specifies the latitude and longitude of this polling location. |
||
Name |
|
Optional |
Single |
Name of the polling location. |
|
PhotoUri |
|
Optional |
Single |
Contains a link to an image of the polling location. |
1<PollingLocation id="pl00000">
2 <AddressLine>2775 Hydraulic Rd Charlottesville, VA 22901</AddressLine>
3 <HoursOpenId>hours0002</HoursOpenId>
4 <IsDropBox>true</IsDropBox>
5 <IsEarlyVoting>true</IsEarlyVoting>
6 <LatLng>
7 <Latitude>38.009939</Latitude>
8 <Longitude>-78.506204</Longitude>
9 </LatLng>
10 <Name>ALBERMARLE HIGH SCHOOL</Name>
11</PollingLocation>
12<!-- Or: -->
13<PollingLocation id="pl00000">
14 <AddressStructured>
15 <Line1>2775 Hydraulic Rd</Line1>
16 <City>CHARLOTTESVILLE</City>
17 <State>VA</State>
18 <Zip>22901</Zip>
19 </AddressStructured>
20 <HoursOpenId>hours0002</HoursOpenId>
21 <IsDropBox>true</IsDropBox>
22 <IsEarlyVoting>true</IsEarlyVoting>
23 <LatLng>
24 <Latitude>38.009939</Latitude>
25 <Longitude>-78.506204</Longitude>
26 </LatLng>
27 <Name>ALBERMARLE HIGH SCHOOL</Name>
28</PollingLocation>
LatLng¶
The latitude and longitude of a polling location in `WGS 84`_ format. Both latitude and longitude values are measured in decimal degrees.
Tag |
Data Type |
Required? |
Repeats? |
Description |
Error Handling |
|---|---|---|---|---|---|
Latitude |
|
Required |
Single |
The latitude of the polling location. |
|
Longitude |
|
Required |
Single |
The longitude of the polling location. |
|
Source |
|
Optional |
Single |
The system used to perform the lookup from location name to lat/lng. For example, this could be the name of a geocoding service. |
SimpleAddressType¶
A SimpleAddressType represents a structured address.
Tag |
Data Type |
Required? |
Repeats? |
Description |
Error Handling |
|---|---|---|---|---|---|
Line1 |
|
Required |
Single |
The address line for a structured address. Should include the street number, street name, and any prefix and suffix. |
|
Line2 |
|
Optional |
Single |
Additional field for an address |
|
Line3 |
|
Optional |
Single |
Additional field for an address |
|
City |
|
Required |
Single |
The City value of a structured address. |
|
State |
|
Required |
Single |
The State value of a structured address. |
|
Zip |
|
Optional |
Single |
The ZIP code of a structured address. |