Multiple OSM files/regions? #513
-
Hi I was wondering: What is the correct way to have multiple regions in motis? The config I tried is:
but that does not seem to generate any tiles for denmark. I also tried merging it into a single file but that leads to ppr failing with bad_alloc after the serializing step. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 19 replies
-
I usually use the osmium command line tools and create an extract from the next bigger region containing all regions I need (in this case it's probably the Europe extract from Geofabrik). I create a very rough polygon using geojson.io and give this GeoJSON + the Europe OSM file to the osmium command line tool. If you do not really need the modules=intermodal
modules=adr
modules=tiles
modules=osr
modules=nigiri
[import]
paths=schedule-de:/input/schedule/latest.zip
paths=osm-de:/input/europe-latest.osm.pbf
data_dir=/data
[nigiri]
num_days=31
default_timezone=Europe/Berlin
match_duplicates=true
gtfsrt=de|https://realtime.gtfs.de/realtime-free.pb I replaced We plan to add sharing support (GBFS) as well as parking support to |
Beta Was this translation helpful? Give feedback.
I usually use the osmium command line tools and create an extract from the next bigger region containing all regions I need (in this case it's probably the Europe extract from Geofabrik). I create a very rough polygon using geojson.io and give this GeoJSON + the Europe OSM file to the osmium command line tool.
If you do not really need the
parking
module and have a SSD (no HDD), I would recommend to try it with this configuration and use the full European OSM data: