opennorth / represent-canada

Point or postcode to electoral district service for Canada, its provinces and municipalities

Home Page:http://represent.opennorth.ca/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ca_qc_montreal: Borough representatives don't match

jpmckinney opened this issue · comments

We're matching to montreal-districts, which only includes districts. We would need to match a new boundary set that includes both montreal-districts and montreal-boroughs. Note that both shapefiles have the same attributes, so we'd have to not select the irrelevant fields from each, in order for the definition.py file to use the correct attribute for name and ID.

Otherwise, we may need to special-case "Montréal" in scrapers_ca_app's views.py.

Added a new boundary set as described.