worldbank / GOSTnets

Convenience wrapper for networkx analysis using geospatial information, focusing on OSM
https://worldbank.github.io/GOSTnets/
MIT License
24 stars 15 forks source link

merging Market_Access code from GOST_PublicGoods #23

Closed d3netxer closed 3 years ago

d3netxer commented 3 years ago

It makes sense to merge the Market_Access code from GOST_PublicGoods (https://github.com/worldbank/GOST_PublicGoods/tree/master/Market_Access) to GOSTnets. I would like to gather other peoples' thoughts.

I took a look at the existing code, and here are the potential files to merge and my thoughts:

Can we rename the modules in GOSTNets, such as OSMNX_POIs.py --> fetch_pois.py, OD.py --> fetch_od.py ?

d3netxer commented 3 years ago

@bpstewar @andresfchamorro

bpstewar commented 3 years ago

I agree Tom, go ahead and give it a try

d3netxer commented 3 years ago

ok done : )

KPGeo commented 3 years ago

If I recall correctly, there is a difference in the calculation of MA.py and OD.py which related to the sensitivity of the MP analysis to transport costs.

d3netxer commented 3 years ago

I created a branch that has the old code if we want to compare here: https://github.com/worldbank/GOST_PublicGoods/tree/old_market_access_branch/Market_Access

I see a lambder_list that has the different sensitivities for gravity model in both files, I'm not sure if that's what you are looking for or not.