DemocracyClub / UK-Polling-Stations

:earth_africa: A website to help people find their UK polling station
https://wheredoivote.co.uk/
BSD 3-Clause "New" or "Revised" License
33 stars 30 forks source link

Fuzzy edges when only subset of local auth has election #1386

Open chris48s opened 6 years ago

chris48s commented 6 years ago

If we have a parliamentary by-election and we hold data for one Westminster constituency (which is not co-terminus with a local authority boundary), we are not handling the case where we need to show an address picker for postcodes on the edge of the constituency to work out if the user is inside the constituency or not. If we've got >0 occurrences of a postcode in the ResidentialAddress table inside the constituency, we'll be assuming that the whole postcode is contained because we don't have data for the neighbouring constituency (which isn't having an election) and we only populate the blacklist at local authority level.

This would also apply in cases where only some subset of wards inside a local authority have an election and we only hold data for the wards that do have an election happening.

This condition does not occur if we hold shapes and points, or if some wards have an election but we hold data for the entire local auth (not only the wards where an election is occurring).

GeoWill commented 6 months ago

Is this still true? I think not but check