Nate-Wessel / urban-freight

Maps for a dashboard on GHG emissions from urban freight in Canadian cities
https://www.pembina.org/urban-freight
0 stars 0 forks source link

Re-factoring land-use data functions, slowly adding land-use tiles #71

Closed jamaps closed 2 years ago

jamaps commented 2 years ago

I've re-written the code that converts the osm data to individual land-use layers (industrial, retail, etc.). The .pbf files weren't working, causing broken or just plain weird geometry (I'm still not sure why). Now it directly reads the .osm XML files, converts to geopandas data-frames, queries, and saves as .geojson.

I have tiles I'm happy with for Victoria (was using this is my main test since it was the smallest), and there are older tiles for Calgary, Edmonton, Vancouver, and Toronto (these 4 are okay, but I would still like to update them to be more up-to-date

@Nate-Wessel if this is looking okay, merge in. I'll slowly add the remainder over the next few days.