-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Open Location Codes for PollingLocation
object
#390
Comments
Punting this to 6.0 for now. |
+1 this would be an excellent feature. on the side, I wonder if an OLC support could also support Apple Maps in addition to Google Maps? |
Would an open location code be provided in addition or in lieu of an address? If provided in addition to an address, would this be used in a similar manner to the existing LatLng field? |
|
The most obvious use case for an OLC would be to assist with geocoding problem sites, e.g. if we have trouble getting an accurate geocode for a standard address (either because it is very rural, on native lands or even within a dense urban area) then we could add an OLC to the existing |
Would this be in place of an address. Or in addition to it? |
I imagine OLC would be supplied in much the same way that Would be nice to hear the data consumer POV. Is it conceivable that a location could be geocoded using only an OLC? |
Yes, but we have always aimed to provide both a human readable address plus a precise location (i.e. lat/lng). With reverse geocoding, OLC can get us to a reliable, close-enough point on a map, but it doesn't provide us with a traditional address. Looking at https://maps.google.com/pluscodes/, OLC is essentially nothing more than a short encoding of a lat/lng point. IOW, OLC and lat/lng can be converted back and forth. The primary utility that OLC provides is that you can effectively represent a lat/lng in form that you could use to easily remember, write down, receive mail at, etc. For example, it's much easier to write That said, the way I could foresee OLC being useful is for cases when a traditional address does not exist for a given location. Instead, a polling location address could be express as a short form of an OLC, plus locality and state. If an OLC is provided in this way in lieu of a traditional address, the end user would only ever see address =
or even:
|
I think we need to work from examples in the wild. My understanding is that OLC are mainly for informal locations, such as |
+1 to pulling together some practical examples. @afsmythe, are you able to provide some examples? For the example you gave, I don't see any benefit of using OLC. That might as well just be modeled as an address + lat/lng since the address portion is what the end user would see, and an OLC or lat/lng would be doing the same thing in placing a pin on a map for the location. |
I wasn't aware of this. This is a good point.
Also a good point. The instigation of this was hearing how some particularly rural locations (and those on indigenous lands) were being identified "in the wild". We have heard from state/county partners and other civic non-profits in the space that OLC are being used to identify locations which do not have a "traditional" address (or are not served by USPS). In these cases, I could see VIP guiding partner states to first convert a OLC to LatLng and provide those in the feed. I also think there would be some merit in repurposing the existing If OLC could be used within the |
Strong +1 to finding ways to better support ambiguous addresses and locations without traditional address structures. Also +1 to the request to have specific address/location examples which are not easy or possible to represent via the current address types and would benefit from OLCs/plus codes. |
Moving this to "Up for debate". We'll guide data providers to use |
This sounds good to me. I suggest we circle back to this once we have a data provider interested in using Open Location Codes. Putting the Open Location Code in the first address line (along with city + state) is a reasonable solution that we can try out once we have data. |
I believe Plus codes were used for some instances in 2020 and 2021. @robertmdw can you add some feedback here about those successes and/or areas for improvement? |
Yes, some of our state and county partners in CA and CO opted to use Plus Codes in order for drop-off location pins to more accurately be placed. We were able to use Plus Codes to get non-mapping addresses to map, which was helpful. However, one issue we ran into in feedback from CO was that the new address for that site was confusing in its display to voters, as they were not familiar with plus codes in that Line1 position. One workaround could be putting the Plus Code in the latitude/longitude so that states and counties could provide descriptive Line1 ("between 1st Avenue and Main Street")? Alternatively, altering the display in instances of Plus Codes may be needed, but would require all API users to implement. In addition, if they tried to put that Plus Code address into Apple Maps or another mapping service, it was not able to be mapped. We would still need to do some digging into this particular issue to confirm, but that would definitely be a limitation for mobile users in particular, who may try to plug the address into a mapping service of their choice. There was one odd cases in Napa County as well (https://partnerissuetracker.corp.google.com/issues/197141619) where a zip code had to be omitted for the Plus Code to geocode. So we would also want to develop more fully formed guidance to states about what info may be needed or not needed as part of the Plus Code usage. |
The detail of "between 1st Avenue and Main Street" seems better suited for a field like PollingLocation.Directions than it does PollingLocation.AddressStructured.Line1. If the line1 contains a plus code, one possibility is to display PollingLocation.Name or PollingLocation.Directions more prominently to the user above line1.
It's always possible to convert back and forth between lat/lng and Plus Code. This again is an issue that I think can be mitigated on the client side. If a Plus Code is detected, you can link the user to an external map application that uses plus code converted to a lat/lng.
I believe this was a very exceptional edge case, but we'll need to try this approach out more in practice to see how often these types of issues occur. If this type of issue was found to be a systemic problem, I think there are ways to address it in infrastructure that don't necessarily need any change to the spec or from the data provider. |
The Voting Information Project has long term plans to support open location codes for the geocoding of polling locations. If we were to include such an attribute of the
PollingLocation
object in the VIP spec, what types of information would we need to collect from data providers to ensure dependability and accuracy of the code provided?The text was updated successfully, but these errors were encountered: