Skip to content

Error in extraction of file for India. #7283

@popanalyst

Description

@popanalyst

I am encountering an error while extracting OSRM files for India. I can successfully generate the .osrm, .nodes, .cnbg, .osrm.names, and .timestamp files, but the .ebg files are not created. I executed the command on Windows 11 under WSL2 with the following configuration:

[wsl2] memory=30GB processors=8 swap=32GB localhostForwarding=true

My laptop has an Intel i7 processor and 39 GB of RAM. From the available documentation and forum discussions, this setup should be sufficient to process the India extract and generate all required OSRM files, including .ebg. However, I still face this issue.​

I have attached the full command-line output for reference. Any guidance or suggestions to resolve this problem would be greatly appreciated. It stops at 50% and then goes back to the command line

osrm/osrm-backend osrm-extract -p /opt/car.lua /data/india-251125.osm.pbf
[info] Parsed 0 location-dependent features with 0 GeoJSON polygons
[info] Using script /opt/car.lua
[info] Input file: india-251125.osm.pbf
[info] Profile: car.lua
[info] Threads: 12
[info] Parsing in progress..
[info] input file generated by osmium/1.14.0
[info] timestamp: 2025-11-25T21:21:29Z
[info] Using profile api version 4
[info] Found 3 turn restriction tags:
[info] motorcar
[info] motor_vehicle
[info] vehicle
[info] Parse relations ...
[info] Parse ways and nodes ...
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Parsing finished after 162.707 seconds
[info] Raw input contains 249624634 nodes, 28636265 ways, and 16530 relations, 1264 restrictions
[info] Collecting way information on 1264 restrictions...ok, after 0.133327s
[info] Collecting way information on 0 maneuver overrides...ok, after 0.024508s
[info] Sorting used nodes ... ok, after 1.30157s
[info] Erasing duplicate nodes ... ok, after 0.257866s
[info] Sorting all nodes ... ok, after 0.226478s
[info] Building node id map ... ok, after 0.350854s
[info] Confirming/Writing used nodes ... ok, after 92.8342s
[info] Writing barrier nodes ... ok, after 0s
[info] Writing traffic light nodes ... ok, after 0s
[info] Processed 107918646 nodes
[info] Sorting edges by start ... ok, after 10.0382s
[info] Setting start coords ... ok, after 5.97954s
[info] Sorting edges by target ... ok, after 7.54844s
[info] Computing edge weights ... ok, after 16.9442s
[info] Sorting edges by renumbered start ... ok, after 8.04188s
[info] Writing used edges ... ok, after 25.7678s -- Processed 112364771 edges
[info] Writing way meta-data ... ok, after 0.500005s -- Metadata contains << 9634361 entries.
[info] Collecting node information on 0 maneuver overrides...ok, after 0s
[info] Collecting node information on 1264 restrictions...ok, after 0.004432s
[info] writing street name index ... ok, after 0.020952s
[info] extraction finished after 333.79s
[info] Generating edge-expanded graph representation
[info] . 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] Node compression ratio: 0.1508
[info] Edge compression ratio: 0.184402
[info] graph compression removed 9536254 annotations of 9634361 in 8.47486 seconds
[info] Find segregated edges in node-based graph ...
[info] ok, after 150.303s
[info] Segregated edges count = 245753
[info] Writing nodes for nodes-based and edges-based graphs ...
[warn] Clipped 12 segment weights to 4194302
[info] Geometry successfully removed:
compressed edges: 41440500
compressed geometries: 224736380
longest chain length: 5726
cmpr ratio: 0.184396
avg chain length: 5.42311
[info] Removing invalid restrictions...removed 4 invalid restrictions, after 0.01109s
[info] Constructing restriction graph on 1233 restrictions...ok, after 0.001077s
[info] Generating edge expanded nodes ...
[info] . 10% . 20% . 30% . 40% . 50%
E:/osrm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions