matsim-vsp / matsim-python-tools

Tools for working with matsim in python
58 stars 20 forks source link

Handling of mexico-city survey data for scenario generation #26

Open simei94 opened 11 months ago

simei94 commented 11 months ago

With this PR a new dataformat for surveys "eodmx" is added. The code, which uses the data formats is adapted, such that it can handle the new data format. The survey EOD2017 (Encuesta Origen Destino) is undertaken for the metropolitan area of Mexico City (ZMVM) by INEGI (Instituto Nacional de Estadística y Geografía), the mexican secretary for statistics and geography.

simei94 commented 11 months ago

@rakow What do you think about merging this branch into master? To be able to handle the mexican dataset I had to perform some changes on the general scripts (preparation.py, init.py ...). So it would cost us / me some more work to make the changes on the general scripts modifiable or better said to make the general data handling script more flexible -> able to handle a wider spectrum of specific datasets, which are not assuming the application of german law (like MID and SrV). Another ooption would be to copy the code of this branch to the matsim-mexico-city scenario, which then basically has duplicated code of this contrib, which I personally find rather ugly..

rakow commented 11 months ago

Thank you, I really like the idea to make the scripts more generally applicable. I will take a look at what you did in the next weeks.

simei94 commented 11 months ago

Whenever you find the time feel free to contact me about this as I already have some ideas on what segments to generalize.