Closed nikolauskrismer closed 6 years ago
I've noticed occasionally that symmetrical connections don't seem to work all the time.
I'll also have a look, but in case you want to debug as well, you can follow these steps:
.bin
file by supplying the -e
parameter to mapnificent_generator.${city}__debug.bin
?debug
to the URL.console.log
the transit path from each marker to the station closest to the point clicked.You did not provide the GTFS you generated. I generated some GTFS from the VDV data and it looks like only one direction (Merano -> Bolzano) comes out.
I used https://gtfs.pleasantprogrammer.com/ to visualise the trip and it looks like they are all going only one direction. If you can supply a tripId that doesn't let me know.
Oh... that website is great. Did not know that before... thanks :-) The naming inside the GTFS file confused me as well, but are some trips for me. The route they belong to is "201 BZ" and one of the tripIds is 6606 (which goes from bolzano to merano)... actually the same route contains the opposite direction (e.g. tripId 6741 seems to be the opposite and goes from merano to bolzano)
I noticed that the generated GTFS does not have a trip_headsign
or a direction_id
for trips. This means that the generator can't distinguish between the direction and takes only one. Let me see if I can fix that.
I fixed this problem in mapnificent_generator v0.0.4
and trips from Bolzano to Merano now show up.
https://www.mapnificent.net/bolzano/#11/46.5407/11.2356/3900/46.4983/11.3548
Great work... thanks :+1:
Please note that the gtfs file was created from a VDV452 source file (which is directly provided by the SASA company at http://sasabus.org/opendata (this has been documented in the .md file). Isochrone computation works without a problem...
Merano/Meran is also presented in the dataset. Here I do see a small problem. If isochrones are computed starting in Merano then Bolzano is reachable after some time. The opposite is also true in reality (one can reach Merano when starting in Bolzano) and as far as I know also in the GTFS file (there is a bus with nr. 210 in the file). However, this is not true when using the bolzano.bin file and/or mapnificent (and I don't have a clue why this is the case :-().
Maybe you want to have a look at this before merging. Also I do not know if you are willing to merge cities that have been created from the VDV452 format...