How to help with public transport routing? #837
Closed
opened 2021-07-11 04:51:21 +00:00 by tannishpage
·
50 comments
No Branch/Tag specified
master
weblate-i18n
pastk-data
github/fork/AndrewShkrob/android-auto/car-location
ios/pp-for-track-recording
redauburn-patch-1
ios/route-preview-redesign
rt-android-splashscreen-android12
geojson-support
github/fork/Raghaddahi/fix/1566-url-class-bugs
github/fork/rebustj/fix/coredata-crashes
github/fork/hemanggs/zoom-button-fix
github/fork/hemanggs/styles-poi
github/fork/AndrewShkrob/ci/cmake-workflow
beta/ios-hotfix-search
github/fork/sddzhyc/master
ios/search-fix-to-child-vc
github/fork/savsch/feat/android-modal-search
github/fork/RedAuburn/temp-auto-fix
github/fork/RedAuburn/rework-theme-system
github/fork/rimas-kudelis/sound-strings-lt
github/fork/coderang-gk/feature-homescreen-widget-bookmark
github/fork/AndrewShkrob/android/sdk-om
github/fork/FedericoCeratto/reuse-sbom
github/fork/gpesquero/my_location
github/fork/DevarshVasani/DownloadingError-Message
github/fork/DevarshVasani/handle-surface-destruction
github/fork/Strubbl/Strubbl-patch-1
github/fork/RedAuburn/mastodon-bluesky
github/fork/CrazyStevenz/patch-2
ios/update-toast-ui
pastk-generator-genorder
pastk-autogen-subways
github/fork/meenbeese/integrate-sonarcloud
github/fork/dmitrygribenchuk/localization_cleanup
github/fork/coderang-gk/android-transparent-navbar-light-mode
ios/add-icons-to-the-live-activity-widget
github/fork/hemanggs/parse-coordinate-links
github/fork/gpesquero/intermediate_points
ios/fix-search-on-map-tests-for-ipad
release/2025.03.02
github/fork/RedAuburn/always-update-fast
pastk-drape-subways-greying-out
ios/update-search-vc-ui
github/fork/Isira-Seneviratne/AudioManagerCompat
alpha/2025.02.23
crowdin-master
l10n
github/fork/soshial/generate-taginfo-json
github/fork/DeshDeepakKant/ui/improve-description-display-9943
github/fork/hemanggs/increase-touch-area
ios/search-ui-redesign
ios/show-new-search-vc-from-the-route-building
release/2025.01.24
github/fork/savsch/fix/android-pp-bookmark-edit-issue2418
github/fork/renderexpert/remove_gles2
github/fork/Osyotr/windows-unittests
github/fork/AndrewShkrob/android/world-maps-for-all-flavors
github/fork/RedAuburn/splashscreen-android12
drop-appstream-glib
separate-locationservice-lib
github/fork/gpesquero/remove_speed_display
github/fork/zeac/feature/1
github/fork/DeshDeepakKant/fix/building_levels_hint
github/fork/gpesquero/route_plan
github/fork/IsiGebauer/StylingMtbTrails
github/fork/DeshDeepakKant/Mobile-Internet-Settings
release/2025.01.12
github/fork/AndrewShkrob/actions/cpp-codestyle-check
github/fork/AndrewShkrob/clang-format
int/anrdoid-auto/permissions-screen
rt-docs-release-management-principles
generator-wikipedia
generator-actions
generator-subways
ios/enable-cpp-swift-interop
github/fork/map-per/sand
pastk-docs-values
fix-deprecated-atomic-load
rt-docs-communication
rt-docs-collaboration
github/fork/meenbeese/bsdiff
github/fork/meenbeese/karabakh
github/fork/AndrewShkrob/android-auto/location-off
ios/fix-compile-warnings-and-cleanup-unsupported-code
rt-ios-managed-signing
github/fork/IsiGebauer/AllowDirToBeEmpty
ios/fix-ios-test-ci-action-failure
ab-ios-bookmarks-last-category
github/fork/IdeallyGrey/swap-abandoned-disused-rail-rendering
github/fork/meenbeese/atomic-shared-ptr
pastk-docs-teams
qt-3d-preferences
github/fork/TobiPeterG/cur-speed-widget
fix-file-read-exception
fix-track-length-calculation
github/fork/kavikhalique/foreground-crash-fix
github/fork/meenbeese/py-rewrite
pastk-styles-feature-types-migration
release/24.11.27
github/fork/AndrewShkrob/docker/ubuntu-container
alpha/2024.11.26
beta/2024.11.26
github/fork/AndrewShkrob/refactoring/network
github/fork/Ferenc-/cmake-moc-workaround
github/fork/Ferenc-/qt-touchpad-rotate
ab-tests-macro-fixes
ios/track-recording-fifth-bar-button
github/fork/kavikhalique/expand-touch
vng-fix
release/24.11.12
alpha/2024.11.10
vng-langs
github/fork/DevarshVasani/enable-strict-mode
patch-3
release/2024.10.22
alpha/2024.10.22
beta/2024.10.22
github/fork/gpesquero/separators
github/fork/Piaszczysty/route-arrow-fix
place-page-for-tracks-backup
github/fork/RedAuburn/profile-image
github/fork/AndrewShkrob/magic-enums
release/2024.10.08
release/2024.10.04
github/fork/AndrewShkrob/data/resources-refactoring
github/fork/AndrewShkrob/data/move-fonts
github/fork/AndrewShkrob/core/autogenerate-translations
github/fork/shakhat/feature-#7358
alpha/2024.10.01
vng-search
github/fork/gpesquero/drape_locale
beta/2024.09.19
release/2024.09.19
rdb-weblate
release/2024.09.08
github/fork/alnzrv/wikimedia-fix
android/speed-limit-exceed-flag
alpha/2024.09.03
alpha/2024.09.03-ios-track-recording-feature
mb-PendingIntent-requestCode-fix
alpha/2024.08.29
add-timestamps-to-track
ab-ios-crash-on-assert
github/fork/dmfrodrigues/place-panel
github/fork/Tmpod/tmpod-alt-routes
github/fork/zyphlar/hyphenate_interpolated_addresses
alpha/2024.08.25-ios-track-recording-feature
alpha/2024.08.29-ios-track-recording-feature
github/fork/cortadocodes/create-reproducible-build-dockerfile
github/fork/dvdmrtnz/taginfo
github/fork/gpesquero/display_next_stop
android/speed-limit-threshold
android-oauth2-with-browser
release/2024.08.17
changes-from-release
release/2024.08.15
alpha-iOS-Bluetooth
github/fork/RedAuburn/dynamic-sidewalk-name
github/fork/Jean-BaptisteC/linkify_desc
github/fork/Jean-BaptisteC/phone_fab
github/fork/Jean-BaptisteC/download_screen
rdb-cldr-plural-order
ab-unused-code
ab-android-location-fix
recent-track-recorder
ab-cleaner-shutdown
localized_address_ordering
github/fork/gpesquero/speed_class
github/fork/Tmpod/task/improve-clangd-support
ab-android-layer-button-highlight
weblate
release/2024.07.08
alpha/2024.07.25-rtsisyk-ios-test
github/fork/willcohen/camp_pitch
ios-implement-the-recently-deleted-support-to-icloud-sync
recently-deleted-categories-using-postfix
fix-ios-simulator-version
github/fork/SRSAS/systemUIMode
github/fork/RedAuburn/collection_times-support
alpha/2024.07.02
github/fork/alkino/atomic_shared_ptr
vng-test-data
github/fork/fgbg03/user_routes_feature
release/2024.06.02
github/fork/j13m126/german-tone
github/fork/eisams/check_date
ios/undo-for-the-bookmark-deletion
ios/restore-bookmark-by-tap-on-the-map
ios/undo-for-the-bookmark-deletion-with-restoring-by-tap-on-the-map
github/fork/beasmm/feature-#5074
github/fork/catalms/add_stop_feature
revert-7969-pastk-drape-transparent-areas
github/fork/kubahaha/boundary_marker-preset
github/fork/fitojb/patch-1
ab-drape-use-constant-base-font-height
rt-beta
github/fork/krozhdestvenski/bookmark_category_select
vng-alt-routes
github/fork/AndrewShkrob/warnings/unused-parameter
pastk-styles-shared-paths-tune-down
android-auto/8015-8019-8022
github/fork/BrianMerino/master
github/fork/gerion0/gentoo-fixes
pastk-beta-0420
pastk-2generate-paths
ab-fix-shaders-rebuild
ios/fix-drape-failure-during-test-running
ios/add-test-target-terminate
cleanup/base
github/fork/Dinisvgc/bugfix
github/fork/charlie2clarke/overground-icon
ab-max-open-file-limit
weblate-appstore-i18n
2024.03.27-3-android-hotfix
ab-3party-oauthcpp
android-hotfix-24031805
github/fork/gpesquero/test_distance
ab-android-revert-links
github/fork/RedAuburn/no-tts-info
ab-tts-simpler-strings
rt-android-huawei-crash
rt-android-release-2024.03.02
rt-android-release-2024.03.01
ab-ios-release-2024.02.27
ab-from-chars
gplay-android-auto-hotfix
ab-case-folding
rt-store-metadata
ab-buffer-vector-string-view
ab-update-gh-cache-action
rt-android-bookmark-export
osm-oauth2-support
vng-test
github/fork/gpesquero/tts_link
github/fork/Timmy-Tesseract/master
github/fork/ahmetlii/master
github/fork/sklueber/master
rt-geo-links
github/fork/AndrewShkrob/android/lanes-refactoring
vng-lines
windows3
android-auto-disable
rt-android-paranoid-mode
github/fork/TheAdventurer64/juice
rt-android-outdoor
ios-hotfix-release-dec-2023
rt-android-location-providers
pastk-outdoors-hiking-routes
pastk-2generate
pastk-classif-hiking-routes
vng-gen-kk
poc-disable-route-build-zoom
kk2
ab-thread-checker-qt-download-dialog-fix
revert-6461-category-letterbox-it
beta-outdoor
github/fork/pratyaksh1610/branch-6024
protobuf-24.4
designer-fixes
github/fork/AndrewShkrob/core/speed-limit-widget
vng-bookmarks
vng-outdoors
navigation/save-mode
pastk-TEST-rel-w-lines-stats
ab-kml-remove-unique-ptr
vng-bench
aa
rt-android-remove-workmanager
rt-android-debug
protobuf-24.3
pastk-core-housenumbers
github/fork/map-per/pedestrian
ruler-disable-reordering
android-warning-suppress
pastk-drape-bucket-discard-optimization
beta-ios-gpx-fix
github/fork/arnaudvergnet/android-structure-compose
github/fork/arnaudvergnet/compose
github/fork/Nimausfi/new-changes
github/fork/map-per/via_ferrata
pastk-generator-isolines-skip-resimplify
pastk-styles-world-railways
github/fork/kartikaysaxena/master
github/fork/Zhu-Pengming/TomABdh-patch-1
pastk-styles-TMP_dump_priorities
ab-increase-long-tap-radius
github/fork/map-per/track_number
github/fork/codeskraps/feature/nav_altitude_chart
car-checkpoint-tolerance
github/fork/barisunsalhn/fab-transparency
github/fork/N-45div/N-45div/issue4788
rt-android-fix-viewport
github/fork/n1snt/app-shortcuts
github/fork/Kovoschiz/yue4
vng-addr-test
downloader
github/fork/Aryan-Sagavekar/etaswitchfeature
obsolete-position-color
pastk-styles-geometryfallback
pastk-DEMO-geometry-1more-detailed
strings-be-ru-uk-miles
ios/external-keyboard-fix2
alex-outdoors
ios/blue-route-to
pastk-styles-fixpriorities2
pastk-styles-fixpriorities
rt-android-accent-color
pastk-drape-path_text_zoom_mask
pastk-drape-roadshields
update-appstore-metadata
pastk-styles-outdoors
3p/disable-system-jansson
ios/newly-created-list-order
czech-release
rt-fix-monkey-gh
github/fork/AndrewShkrob/core/rendering-on-many-surfaces
github/fork/SiarheiFedartsou/sf-clang-tidy2
ios/fix-tableview-headers-font
github/fork/dvrsaran/patch-1
rt-android-google-location-annoying
pastk-loc-share
ctest
windows2
kml-load-robust
tr-screenshots
vng-nav
github/fork/pastk/pastk-loc-share
github/fork/pratyaksh1610/branch-3621
d4f5409d-patch-1
rt-fix-location-resolution
github-actions-update
android_auto
matheusgomesms-store-releasenotes-pt_BRtranslation
rt-add-ci-timeout
rq-alterRoutes-vng
euskara
github/fork/trueTatar/latlon-refactoring
windows
tests-fix
pastk-styles-geometryfallback-1more-detailed
pastk-styles-zoomlessareas
github/fork/fgaz/changelog/2022.06.29-3
pastk-outdoors-beta
android/R8
github/fork/fardeenfs/public-transit
pastk-android-writability
rt-location-api
pastk-android-verifyerror
qt6
vng-my_pos
pastk-scripts
vng-sdfimage
vng-vehicle-refactoring
release-gp-fdroid-without-location-fixes
rt-android-track-recorder
rt-android-gplay-compliance
rt-android-remove-gms
rt-android-track-recorder-alarm
rt-android-keep-data
fix-odr
github/fork/pastk/pastk-storage
build/no-unity
backup-resources
android/warning-fixes
weblate-ios-i18n
rt-android-symlinks
weblate-android-i18n
weblate-whitespacing
rt-weblate-consume
ios/fixes
i18n-android
i18n-ios
rt-xcode-desktop
2025.03.02-7-android
2025.02.17-3-android
2025.01.26-9-android
2024.11.27-12-android
2024.11.12-7-android
2024.10.23-2-android
2024.10.08-5-android
2024.10.04-7-android
2024.09.08-7-android
2024.08.17-4-google-play
2024.08.16-5-android
2024.08.15-21-android
2024.08.15-17-android
2024.07.29-2-android
2024.07.27-7-ios
2024.07.27-8-android
2024.07.23-8-android
2024.07.08-3-android
2024.06.19-3-android
2024.06.02-12-android
2024.05.11-3-android-rc
2024.05.11-3-android
2024.05.10-1-ios
2024.05.04-9-android-rc
2024.05.04-9-android
2024.03.31-8-android-rc
2024.03.31-8-android
2024.03.31-3-android-rc
2024.03.27-3-android-hotfix
2024.03.27-5-android-hotfix
2024.03.18-5-android-hotfix
2024.03.05-4-android
2024.02.06-11-android
2024.02.06-8-android
2024.01.09-5-android
2023.12.20-4-android
2023.12.18-11-android
2023.12.18-10-android
2023.11.17-17-android
2023.09.22-27-android
2023.08.18-8-android
2023.07.13-10-android
2023.06.04-13-android
2023.05.08-7-android
2023.04.02-7-android
2023.03.05-5-android
2023.03.02-3-android
2023.02.13-11-android
2023.01.25-3-android
2022.12.18-12-android
2022.11.24-3-android
2022.11.02-2-android
2022.09.22-3-android
2022.09.15-5-android
2022.08.23-5-android
2022.07.27-3-android
2022.07.01-6-android
2022.06.29-3-android
2022.06.18-2-android
2022.05.31-10-android
2022.05.24-2-android
2022.05.20-5-android
2022.05.20-4-android
2022.05.19-4-android
2022.04.27-2-android
2022.03.23-4-android
2022.02.19-1-android
2022.02.16-29-android
2022.02.11-17-android
2022.01.15-3-android
2022.01.12-6-android
2022.01.12-3-android
2021.12.01-4-android
2021.11.04-2-android
2021.10.22-10-android
2021.10.15-15-android
2021.10.09-2-android
2021.10.08-0-ios
2021.09.14-4-android
2021.09.01-6-android
2021.08.26-13-ios
2021.08.26-14-android
2021.08.19-11-android
2021.08.19-6-android
2021.08.14-4-android
2021.08.09-1-ios
2021.08.07-4-ios
2021.08.05-2-android
2021.08.04-3-ios
2021.07.08-3
2021-07-03
2021.07.04-2
2021-06-23
2021-06-20
2021-06-12
2021-06-07
2021-05-21
2021-05-08
2021-05-05
2021-04-24
Labels
Clear labels
Accessibility
Address
Android
Android Auto
Android Automotive (AAOS)
API
AppGallery
AppStore
Battery and Performance
Blocker
Bookmarks and Tracks
Borders
Bug
Build
CarPlay
Classificator
Community
Core
CrashReports
Cycling
Desktop
DevEx
DevOps
dev_sandbox
Directions
Documentation
Downloader
Drape
Driving
Duplicate
Editor
Elevation
Enhancement
Epic
External Map Datasets
F-Droid
Fonts
Frequently User Reported
Fund
Generator
Good first issue
Google Play
GPS
GSoC
iCloud
Icons
iOS
Legal
Linux Desktop
Linux packaging
Linux Phone
Mac OS
Map Data
Metro
Navigation
Need Feedback
Night Mode
NLnet 2024-06-281
No Feature Parity
Opening Hours
Outdoors
POI Info
Privacy
Public Transport
Raw Idea
Refactoring
Regional
Regression
Releases
RoboTest
Route Planning
Routing
Ruler
Search
Security
Styles
Tests
Track Recording
Translations
TTS
UI
UX
Walk Navigation
Watches
Web
Wikipedia
Windows
Won't fix
World Map
No labels
Accessibility
Address
Android
Android Auto
Android Automotive (AAOS)
API
AppGallery
AppStore
Battery and Performance
Blocker
Bookmarks and Tracks
Borders
Bug
Build
CarPlay
Classificator
Community
Core
CrashReports
Cycling
Desktop
DevEx
DevOps
dev_sandbox
Directions
Documentation
Downloader
Drape
Driving
Duplicate
Editor
Elevation
Enhancement
Epic
External Map Datasets
F-Droid
Fonts
Frequently User Reported
Fund
Generator
Good first issue
Google Play
GPS
GSoC
iCloud
Icons
iOS
Legal
Linux Desktop
Linux packaging
Linux Phone
Mac OS
Map Data
Metro
Navigation
Need Feedback
Night Mode
NLnet 2024-06-281
No Feature Parity
Opening Hours
Outdoors
POI Info
Privacy
Public Transport
Raw Idea
Refactoring
Regional
Regression
Releases
RoboTest
Route Planning
Routing
Ruler
Search
Security
Styles
Tests
Track Recording
Translations
TTS
UI
UX
Walk Navigation
Watches
Web
Wikipedia
Windows
Won't fix
World Map
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference: organicmaps/organicmaps#837
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
All the bus, ferry and train stations are already on the map in my city, with the routes lined out. But I can't access the routing feature, it says "Subway navigation in this region is not available yet". So, what can I do to help out?
You may start from here: https://github.com/organicmaps/organicmaps/blob/master/docs/EXPERIMENTAL_PUBLIC_TRANSPORT_SUPPORT.md
It would be great if more people from the community help us with public transport. It's not an easy task.
There is also a great guide from OSMand how to contribute Public Transport info into OpenStreetMap: https://osmand.net/blog/guideline-pt
Is there a reason why you just added "subway, light rail, monorail and train routes and stops" and no tram or bus routes?
Other developers started to implement the public transport feature (subways) and did not finish it yet. We would gladly finish it with the help of the community.
I get an ModuleNotFound Error for requests. Where do the compiler found that import?
Edit: i downloaded all python scripts, but there are far too many for me to find the missing class. Any idea?
https://docs.python-requests.org/en/master/user/install/#install
Haha, here you can see my lack of python knowledge. But it seams that i have an other issue, because requests is already installed.
I'll come back when i've solved that issue
Fixed that other stupid issue. But the script won't work. I used the way without the omd key, mostly because their site is broken and i was not able to login. Here the log:
Looking at https://www.transit.land/ it seams that they need an API key too:
@csidirop
Have you been able to make it work with a key? Or does the download_gtfs script need modification for it to work?@tannishpage
no, i took a quick look at the pythonfile and didn't found any parameter for a transitland key (corrct me if i missed something). And since this requirement is new, and the file 6 months old, Im sure it needs modification.And because this exceeds my nearly non-existent python knowledge, I got nowhere. I could have a look at it this weekend if I find the time, if one of the devs hasn't taken it over by then.
@csidirop
I'll have a go at it. I've got some experience with python@tannishpage
great! Let me know if there is something I can do@csidirop
I made the modifications to the file and it is working now. It is downloading all the gtfs data from transitland. However, some urls on transitland are causing 403, but that's not really the scripts fault. I'll make a pull request once it finishes running and I'm sure it's not causing any issues.I am trying to compile the gtfs_converter.cpp file using cmake. But I keep getting this error. Am I doing something wrong? Are there any instructions on how to compile this?
CMake Error at CMakeLists.txt:5 (omim_add_executable): Unknown CMake command "omim_add_executable".
Try to build gtfs_converter using CMakeLists.txt at the root of the project.
@biodranik
How would I do that. I've never used cmake before.cmake --install CMakeLists.txt
This is what I was running before.cmake --install CMakeLists.txt transit/world_feed/gtfs_converter
I tried this and got the same error.@tannishpage
updated download_gtfs.py works great under WinBtw, for everyone else trying that: Download can take over over an hour and needs more than 35GB.
But like tannishpage Im stuck with converting the gtfs.
tools/unix/build_omim.sh -r world_feed
command should build gtfs_converterSo I did
./configure
, becausetools/unix/build_omim.sh -r world_feed
asked me to do that.When I run
tools/unix/build_omim.sh -r world_feed
, it gives me the following outputHere is CMakeError.log:
I'm running Elementary OS 6. Not really sure what to do
Did you install qt5 dev package?
Ok, so I installed qt5 dev packages and everything worked nicely. I've generatred the json files using
./gtfs_converter --path_mapping=mapping.txt --path_mapping_edges=mapping_edges.txt --path_gtfs_feeds=dir_for_storing_feeds --path_json=result_json_dir --path_resources=./data
Step 3 is asking me to find a file called
map_generator.ini
which I can't seem to find.There is a link to the doc in my link above:
https://github.com/organicmaps/organicmaps/blob/master/tools/python/maps_generator/README.md
The public transport routing seems a little bit weird in a certain city. It just uses the metro, and the tramway is not used despite being the shorter route. Is this due to the map view called "Metro" only containing the metro lines and that is used for routing?
Trams are not used/coded yet.
Here is the list of OpenStreetMap metro/subways validation results:
https://cdn.organicmaps.app/subway/
or
https://maps.mail.ru/osm/tools/subways/latest/
or
https://alexey-zakharenkov.github.io/subways/rapid/
You can help us by fixing red metro lines directly in OpenStreetMap. Then every
@OrganicMaps
user will have an updated Public Transport map (subways and S-Bahn at the moment).Some general instructions are here:
https://wiki.openstreetmap.org/wiki/Metro_Mapping
And here is info how to validate a separate city:
https://github.com/alexey-zakharenkov/subways/
mentioned in issue #507
Does this issue include implementation of PT routing based on OSM (rather than GTFS) route data? Many important modes of transport (e.g. share taxis) are only available as OSM relations...
@contrapunctus-1
let's discuss and plan it!mentioned in issue #1242
GNOME Maps uses https://transport.opendata.ch/ for Switzerland. Hopefully this'll make its way into Transportr at some point soon (see https://github.com/grote/Transportr/issues/768), but it could also be used here, as it works perfectly fine in GNOME Maps.
Hi,
I am trying to run
gtfs_converter
, this is what I run on Fedora 35:But still
gtfs_converter
is not compiled:Does anyone have an end-to-end script to compile the "full public transport support".
Thanks
Dis you try to use gtfs_converter target instead?
I am able to compile it using
CMAKE_CONFIG="-DUNITY_DISABLE=ON" tools/unix/build_omim.sh -c -r gtfs_converter
, the binary is under../omim-build-release/gtfs_converter
(took some time to find out).While using the
download_gtfs.py
script seems that this line needs to be changed toif feed["spec"].lower() != "gtfs":
as now the value forfeed["spec"]
isGTFS
notgtfs
, not sure why.mentioned in issue #3555
mentioned in issue #3160
mentioned in issue #4935
Just want to mention KPublicTransport here which is a C++/Qt library from the KDE project that provides (online) public transport routing.
mentioned in issue #4486
I am not able to execute the gtfs_converter: getting stuck by how to specify the file:///path/to/file for the dir_for_storing_feeds, result_json_dir & path_resources. See below.
./gtfs_converter --path_mapping=mapping.txt --path_mapping_edges=mapping_edges.txt --path_gtfs_feeds=dir_for_storing_feeds --path_json=result_json_dir --path_resources=./data
LOG TID(1) WARNING 2.484e-05 gtfs_converter/gtfs_converter.cpp:295 main(): Some paths set in options are not valid. Check the directories: dir_for_storing_feeds result_json_dir ./data
gtfs_converter: Reads GTFS feeds or subway transit.json, produces json with global ids for generator.
Executing the gtfs_converter from ~/omim-build-release$ in Ubuntu 22.04. How to define those locations? "file:///path/to/file" doesn't work either:
./gtfs_converter --path_mapping=mapping.txt --path_mapping_edges=mapping_edges.txt --path_gtfs_feeds="file:///home/koenvh/Downloads/" --path_json="file:///home/koenvh/Downloads/" --path_resources="file:///home/koenvh/omim-build-release/data/"
LOG TID(1) WARNING 3.4137e-05 gtfs_converter/gtfs_converter.cpp:295 main(): Some paths set in options are not valid. Check the directories: file:///home/koenvh/Downloads/ file:///home/koenvh/Downloads/ file:///home/koenvh/omim-build-release/data/
gtfs_converter: Reads GTFS feeds or subway transit.json, produces json with global ids for generator.
Solved: the correct formatting is
./gtfs_converter --path_mapping=mapping.txt --path_mapping_edges=mapping_edges.txt --path_gtfs_feeds=/home/koenvh/Downloads/ --path_json=/home/koenvh/Downloads/ --path_resources=/home/koenvh/omim-build-release/data/
Hello,
I love OrganicMaps, and I'm following the question about public transport routing. I don't know if you are aware of it, but there is already an Android app called Transportr which does worldwide public transport routing based on https://github.com/schildbach/public-transport-enabler.
The app development has been slowing down last years, but an ongoing effort is trying to accelerate development again https://github.com/grote/Transportr/issues/852 !
So what is my point?
I think that since we have a common goal, it might be appropriate to join forces: The goal is to provide efficient, up-to-date, free and privacy-friendly public transport routing! So I know, the technologies used are not the same (PublicTransportEnabler vs GTFS, Android vs Multiplatform, different licenses...). But maybe there could be some joint efforts or reflections!
That's it for my ideas, I look forward to your thoughts :)
YES!! I was following the Transportr revival, and wishing it could be integrated into OM in some way! 😄
CC
@biodranik
@vng
@rtsisyk
this would be greatpublic-transport-enabler (is btw also used by and written for Öffi) is written in Java. I would expect that to be a major drawback in integrating it. Maybe some kind of sharing would be possible, so to "export" a route from Transportr to OM but that needs a proper sharing format. The already linked KPublicTransport library is basically an already existing rewrite in C++/Qt (the same technology used by OM).
There also exists an Android/KDE/Qt app KTrip that clones the features of Transportr/Öffi but without the nice GUI (at least the last time I checked that, installing is a bit of a pity, check this out). Anyway, it implements lots of the same APIs for querying public transport services.
I see a number of nice suggestions to improve OrganicMaps using other opensource projects.
I do think it's good to distinguish:
a. Routing on the device (e.g. using GTFS real time)
b. Routing using an online services (e.g using something like public-transport-enabler)
The main benefit of OrganicMaps is you can use it offline.
As I understand it, the goal is to optimize for offline data first.
Much of the logic is already implemented.
GTFS is already uniformly formatted using an open standard.
One could also use the same (monthly) update interval as with new OSM maps.
Online / real-time updates add more complexity.
Depending on the implementation it additionally it raises other questions as "do you do the routing on the device or use some online service?" (which public-transport-enabler seems to do).
This in turn raises questions for e.g. privacy, connectivity issues, etc.
Hence I would only look at this only in a second stage and then to use GTFS real time data as 'delta updates' to update changed schedules.
In short, I think the path of least effort and maximum impact is to further implement and test with GTFS data.
Maybe there are other thoughts though.
@biodranik
Would it be an idea to create a list of specific tasks - as in other 'master issue tickets e.g. for navigation' - that need to be done by people from the community?
Creating a meta issue that links to subtasks is a good idea.
Our experience and current vision of the architecture is:
There are many subtasks here, feel free to go deeper.
The main goal is to make a worldwide public transport routing better than Google, that is open-source and available to everyone. Development and support can be sponsored by cities and countries, by funds, and by the community.
mentioned in issue #5331
Added a meta issue #5331 to collect all subtasks to implement public transport routing, please feel free to add
Closing this issue in favor of #5331