Hi, I am performing a ???find the best route analysis??? based on given stops and modes on a multimodal network data set (bus, tram, train, street). I plan to write a Python script, because I have a large number of stops and trips. The routes that I want to solve often consist of more than 2 stops and of various modes. For example:
Stop 1 to Stop 2: mode: walking / network source: street / impedance: walking time Stop 2 to stop 3: mode: bus ride / network source: bus network / impedance: bus driving time Stop 3 to Stop 4: mode: walking / network source: street network / impedance: walking time
For this example: a) Is there a way to define more than one impedance in a route layer? In the end, I would like to get the total time needed to travel from stop 1 to 4. b) Is there a way to define the exact network element for a stop to be located when loading the locations (other than closest and first)?
I tried out the query builder. It only works when I want to avoid the locating of stops for example on a street with restrictions. But is is not possible to define the exact source (i.e. street, bus line, bus stop etc.) on which the stop should be located. I can build the query only based on the features of a specific network source. Do you agree? Do you know another solution?
Thanks! I noticed that. However, it is also not a solution for my problem (see example) since for stop 2 and 4 another network source has to be defined as for stop 2 and 3. I guess I need to locate and load the stops separately...