francois-roseberry / proxicity

Leveraging Kijiji appartment ads with map and data on nearby places (Walking score-like)
MIT License
0 stars 0 forks source link

Identify to which neighborhood each home belongs #21

Closed francois-roseberry closed 7 years ago

francois-roseberry commented 7 years ago

In the ETL, add a step for determining in which neighborhood each appartment ad is (and adding a field to the home object with the id of his parent neighborhood).

To do that use the dataset on 'Quartiers' on Quebec city open data portal (http://donnees.ville.quebec.qc.ca/donne_details.aspx?jdid=9). To determine which home'locations belong to which neighborhood's polygon. use turf (https://github.com/Turfjs/turf-inside)

francois-roseberry commented 7 years ago

Use turf flip to swap the coordinates