Osmosis error when generating individual US states or EU cities without bordering areas
I used WahooMC to create a map of a few US states without bordering areas back in 2022. I want to update the old maps I have but I keep receiving an Osmosis error with the latest versions. I believe version 4.0.0 caused this error as every version before that works fine when using the -nbc option on US states or world cities.
Expected Behavior
Successfully generate individual US states and any world city without any other neighboring states/countries/regions/cities (-nbc option).
Current Behavior
Maps do not generate due to an Osmosis error:
"org.openstreetmap.osmosis.core.OsmosisRuntimeException: No default pipes are available as input for task 3-m."
Steps to Reproduce the Issue
- Following the directions to install WahooMC on Windows, MacOS, or Linux.
- Run a command to generate a US state, EU city, or any other city without neighboring countries/areas (-nbc option) Examples: "python -m wahoomc cli -nbc -co us/texas" "python -m wahoomc cli -nbc -co us/maine" "python -m wahoomc cli -nbc -co berlin"
- WahooMC exits with a failure due to an Osmosis error
Context
- OS/Platform:
Windows 10 via Anaconda. Also tested on MacOS and Linux, same exact error. - Other information regarding your environment (optional):
nothing
Log Output / Stack Trace
The Osmosis error is:
"org.openstreetmap.osmosis.core.OsmosisRuntimeException: No default pipes are available as input for task 3-m."
Failure log when creating a Texas state map with no neighboring states:
(gdal-user) C:\Users\user>python -m wahoomc cli -nbc -co us/texas
INFO:--------------------------------------------------------------------------------
INFO:--------------------------------------------------------------------------------
INFO:# check C:\Users\user\wahooMapsCreatorData\_download\geofabrik.json file
INFO:# Input country: us/texas.
INFO:(+ tile 50 of 101) Find needed countries
INFO:(+ tile 100 of 101) Find needed countries
INFO:--------------------------------------------------------------------------------
INFO:+ Involved country: us/texas
INFO:--------------------------------------------------------------------------------
INFO:# check C:\Users\user\wahooMapsCreatorData\_download\land-polygons-split-4326\land_polygons.shp file
INFO:--------------------------------------------------------------------------------
INFO:# check countries .osm.pbf files
INFO:+ Checking for old maps and remove them
INFO:--------------------------------------------------------------------------------
INFO:# Downloading us_texas-latest.osm.pbf file
INFO:+ Downloaded: C:\Users\user\wahooMapsCreatorData\_download\maps\us_texas-latest.osm.pbf, took 56.607 s
INFO:--------------------------------------------------------------------------------
INFO:# Filter tags from country osm.pbf files
INFO:+ Converting map of us/texas to o5m format
INFO:+ Filtering unwanted map objects out of map of us/texas
INFO:+ Filter tags from country osm.pbf files: OK, took 31.678 s
INFO:--------------------------------------------------------------------------------
INFO:# Generate land for each coordinate
INFO:+ (tile 1 of 67) Coordinates: 52,103
INFO:+ (tile 2 of 67) Coordinates: 52,104
INFO:+ (tile 3 of 67) Coordinates: 53,103
INFO:+ (tile 4 of 67) Coordinates: 53,104
INFO:+ (tile 5 of 67) Coordinates: 53,105
INFO:+ (tile 6 of 67) Coordinates: 53,106
INFO:+ (tile 7 of 67) Coordinates: 54,100
INFO:+ (tile 8 of 67) Coordinates: 54,101
INFO:+ (tile 9 of 67) Coordinates: 54,102
INFO:+ (tile 10 of 67) Coordinates: 54,103
INFO:+ (tile 11 of 67) Coordinates: 54,104
INFO:+ (tile 12 of 67) Coordinates: 54,105
INFO:+ (tile 13 of 67) Coordinates: 54,106
INFO:+ (tile 14 of 67) Coordinates: 55,100
INFO:+ (tile 15 of 67) Coordinates: 55,101
INFO:+ (tile 16 of 67) Coordinates: 55,102
INFO:+ (tile 17 of 67) Coordinates: 55,103
INFO:+ (tile 18 of 67) Coordinates: 55,104
INFO:+ (tile 19 of 67) Coordinates: 55,105
INFO:+ (tile 20 of 67) Coordinates: 55,106
INFO:+ (tile 21 of 67) Coordinates: 56,100
INFO:+ (tile 22 of 67) Coordinates: 56,101
INFO:+ (tile 23 of 67) Coordinates: 56,102
INFO:+ (tile 24 of 67) Coordinates: 56,103
INFO:+ (tile 25 of 67) Coordinates: 56,104
INFO:+ (tile 26 of 67) Coordinates: 56,105
INFO:+ (tile 27 of 67) Coordinates: 56,106
INFO:+ (tile 28 of 67) Coordinates: 56,107
INFO:+ (tile 29 of 67) Coordinates: 57,101
INFO:+ (tile 30 of 67) Coordinates: 57,102
INFO:+ (tile 31 of 67) Coordinates: 57,103
INFO:+ (tile 32 of 67) Coordinates: 57,104
INFO:+ (tile 33 of 67) Coordinates: 57,105
INFO:+ (tile 34 of 67) Coordinates: 57,106
INFO:+ (tile 35 of 67) Coordinates: 57,107
INFO:+ (tile 36 of 67) Coordinates: 57,108
INFO:+ (tile 37 of 67) Coordinates: 58,102
INFO:+ (tile 38 of 67) Coordinates: 58,103
INFO:+ (tile 39 of 67) Coordinates: 58,104
INFO:+ (tile 40 of 67) Coordinates: 58,105
INFO:+ (tile 41 of 67) Coordinates: 58,106
INFO:+ (tile 42 of 67) Coordinates: 58,107
INFO:+ (tile 43 of 67) Coordinates: 58,108
INFO:+ (tile 44 of 67) Coordinates: 59,102
INFO:+ (tile 45 of 67) Coordinates: 59,103
INFO:+ (tile 46 of 67) Coordinates: 59,104
INFO:+ (tile 47 of 67) Coordinates: 59,105
INFO:+ (tile 48 of 67) Coordinates: 59,106
INFO:+ (tile 49 of 67) Coordinates: 59,107
INFO:+ (tile 50 of 67) Coordinates: 59,108
INFO:+ (tile 51 of 67) Coordinates: 59,109
INFO:+ (tile 52 of 67) Coordinates: 60,102
INFO:+ (tile 53 of 67) Coordinates: 60,103
INFO:+ (tile 54 of 67) Coordinates: 60,104
INFO:+ (tile 55 of 67) Coordinates: 60,105
INFO:+ (tile 56 of 67) Coordinates: 60,106
INFO:+ (tile 57 of 67) Coordinates: 60,107
INFO:+ (tile 58 of 67) Coordinates: 60,108
INFO:+ (tile 59 of 67) Coordinates: 60,109
INFO:+ (tile 60 of 67) Coordinates: 61,102
INFO:+ (tile 61 of 67) Coordinates: 61,103
INFO:+ (tile 62 of 67) Coordinates: 61,104
INFO:+ (tile 63 of 67) Coordinates: 61,105
INFO:+ (tile 64 of 67) Coordinates: 61,106
INFO:+ (tile 65 of 67) Coordinates: 61,107
INFO:+ (tile 66 of 67) Coordinates: 61,108
INFO:+ (tile 67 of 67) Coordinates: 61,109
INFO:+ Generate land for each coordinate: OK, took 418.499 s
INFO:--------------------------------------------------------------------------------
INFO:# Generate sea for each coordinate
INFO:+ (tile 1 of 67) Coordinates: 52,103
INFO:+ (tile 2 of 67) Coordinates: 52,104
INFO:+ (tile 3 of 67) Coordinates: 53,103
INFO:+ (tile 4 of 67) Coordinates: 53,104
INFO:+ (tile 5 of 67) Coordinates: 53,105
INFO:+ (tile 6 of 67) Coordinates: 53,106
INFO:+ (tile 7 of 67) Coordinates: 54,100
INFO:+ (tile 8 of 67) Coordinates: 54,101
INFO:+ (tile 9 of 67) Coordinates: 54,102
INFO:+ (tile 10 of 67) Coordinates: 54,103
INFO:+ (tile 11 of 67) Coordinates: 54,104
INFO:+ (tile 12 of 67) Coordinates: 54,105
INFO:+ (tile 13 of 67) Coordinates: 54,106
INFO:+ (tile 14 of 67) Coordinates: 55,100
INFO:+ (tile 15 of 67) Coordinates: 55,101
INFO:+ (tile 16 of 67) Coordinates: 55,102
INFO:+ (tile 17 of 67) Coordinates: 55,103
INFO:+ (tile 18 of 67) Coordinates: 55,104
INFO:+ (tile 19 of 67) Coordinates: 55,105
INFO:+ (tile 20 of 67) Coordinates: 55,106
INFO:+ (tile 21 of 67) Coordinates: 56,100
INFO:+ (tile 22 of 67) Coordinates: 56,101
INFO:+ (tile 23 of 67) Coordinates: 56,102
INFO:+ (tile 24 of 67) Coordinates: 56,103
INFO:+ (tile 25 of 67) Coordinates: 56,104
INFO:+ (tile 26 of 67) Coordinates: 56,105
INFO:+ (tile 27 of 67) Coordinates: 56,106
INFO:+ (tile 28 of 67) Coordinates: 56,107
INFO:+ (tile 29 of 67) Coordinates: 57,101
INFO:+ (tile 30 of 67) Coordinates: 57,102
INFO:+ (tile 31 of 67) Coordinates: 57,103
INFO:+ (tile 32 of 67) Coordinates: 57,104
INFO:+ (tile 33 of 67) Coordinates: 57,105
INFO:+ (tile 34 of 67) Coordinates: 57,106
INFO:+ (tile 35 of 67) Coordinates: 57,107
INFO:+ (tile 36 of 67) Coordinates: 57,108
INFO:+ (tile 37 of 67) Coordinates: 58,102
INFO:+ (tile 38 of 67) Coordinates: 58,103
INFO:+ (tile 39 of 67) Coordinates: 58,104
INFO:+ (tile 40 of 67) Coordinates: 58,105
INFO:+ (tile 41 of 67) Coordinates: 58,106
INFO:+ (tile 42 of 67) Coordinates: 58,107
INFO:+ (tile 43 of 67) Coordinates: 58,108
INFO:+ (tile 44 of 67) Coordinates: 59,102
INFO:+ (tile 45 of 67) Coordinates: 59,103
INFO:+ (tile 46 of 67) Coordinates: 59,104
INFO:+ (tile 47 of 67) Coordinates: 59,105
INFO:+ (tile 48 of 67) Coordinates: 59,106
INFO:+ (tile 49 of 67) Coordinates: 59,107
INFO:+ (tile 50 of 67) Coordinates: 59,108
INFO:+ (tile 51 of 67) Coordinates: 59,109
INFO:+ (tile 52 of 67) Coordinates: 60,102
INFO:+ (tile 53 of 67) Coordinates: 60,103
INFO:+ (tile 54 of 67) Coordinates: 60,104
INFO:+ (tile 55 of 67) Coordinates: 60,105
INFO:+ (tile 56 of 67) Coordinates: 60,106
INFO:+ (tile 57 of 67) Coordinates: 60,107
INFO:+ (tile 58 of 67) Coordinates: 60,108
INFO:+ (tile 59 of 67) Coordinates: 60,109
INFO:+ (tile 60 of 67) Coordinates: 61,102
INFO:+ (tile 61 of 67) Coordinates: 61,103
INFO:+ (tile 62 of 67) Coordinates: 61,104
INFO:+ (tile 63 of 67) Coordinates: 61,105
INFO:+ (tile 64 of 67) Coordinates: 61,106
INFO:+ (tile 65 of 67) Coordinates: 61,107
INFO:+ (tile 66 of 67) Coordinates: 61,108
INFO:+ (tile 67 of 67) Coordinates: 61,109
INFO:+ Generate sea for each coordinate: OK, took 0.066 s
INFO:--------------------------------------------------------------------------------
INFO:# Split filtered country files to tiles
INFO:+ Split filtered country files to tiles: OK, took 0.000 s
INFO:--------------------------------------------------------------------------------
INFO:# Merge splitted tiles with land, elevation, and sea
INFO:+ (tile 1 of 67) Coordinates: 52,103
ERROR:subprocess error output:
ERROR:The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
May 20, 2025 4:04:00 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.49.2
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
May 20, 2025 4:04:00 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
May 20, 2025 4:04:00 PM org.openstreetmap.osmosis.tagtransform.impl.TransformLoader parseTranslation
INFO: New translation: Adjust tunnel Layers
May 20, 2025 4:04:00 PM org.openstreetmap.osmosis.core.Osmosis main
SEVERE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: No default pipes are available as input for task 3-m.
at org.openstreetmap.osmosis.core.pipeline.common.PipeTasks.retrieveTask(PipeTasks.java:150)
at org.openstreetmap.osmosis.core.pipeline.common.TaskManager.getInputTask(TaskManager.java:165)
at org.openstreetmap.osmosis.core.pipeline.v0_6.MultiSinkRunnableSourceManager.connect(MultiSinkRunnableSourceManager.java:57)
at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.connectTasks(Pipeline.java:74)
at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.prepare(Pipeline.java:116)
at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:86)
at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:37)
ERROR:! Error in Osmosis with tile: 52,103
Failure log when creating a Maine state map with no neighboring states:
(gdal-user) C:\Users\user>python -m wahoomc cli -nbc -co us/maine
INFO:--------------------------------------------------------------------------------
INFO:--------------------------------------------------------------------------------
INFO:# check C:\Users\user\wahooMapsCreatorData\_download\geofabrik.json file
INFO:# Input country: us/maine.
INFO:--------------------------------------------------------------------------------
INFO:+ Involved country: us/maine
INFO:--------------------------------------------------------------------------------
INFO:# check C:\Users\user\wahooMapsCreatorData\_download\land-polygons-split-4326\land_polygons.shp file
INFO:--------------------------------------------------------------------------------
INFO:# check countries .osm.pbf files
INFO:+ Checking for old maps and remove them
INFO:--------------------------------------------------------------------------------
INFO:# Downloading us_maine-latest.osm.pbf file
INFO:+ Downloaded: C:\Users\user\wahooMapsCreatorData\_download\maps\us_maine-latest.osm.pbf, took 10.405 s
INFO:--------------------------------------------------------------------------------
INFO:# Filter tags from country osm.pbf files
INFO:+ Converting map of us/maine to o5m format
INFO:+ Filtering unwanted map objects out of map of us/maine
INFO:+ Filter tags from country osm.pbf files: OK, took 3.984 s
INFO:--------------------------------------------------------------------------------
INFO:# Generate land for each coordinate
INFO:+ (tile 1 of 19) Coordinates: 77,90
INFO:+ (tile 2 of 19) Coordinates: 77,91
INFO:+ (tile 3 of 19) Coordinates: 77,92
INFO:+ (tile 4 of 19) Coordinates: 77,93
INFO:+ (tile 5 of 19) Coordinates: 77,94
INFO:+ (tile 6 of 19) Coordinates: 78,89
INFO:+ (tile 7 of 19) Coordinates: 78,90
INFO:+ (tile 8 of 19) Coordinates: 78,91
INFO:+ (tile 9 of 19) Coordinates: 78,92
INFO:+ (tile 10 of 19) Coordinates: 78,93
INFO:+ (tile 11 of 19) Coordinates: 78,94
INFO:+ (tile 12 of 19) Coordinates: 79,89
INFO:+ (tile 13 of 19) Coordinates: 79,90
INFO:+ (tile 14 of 19) Coordinates: 79,91
INFO:+ (tile 15 of 19) Coordinates: 79,92
INFO:+ (tile 16 of 19) Coordinates: 79,93
INFO:+ (tile 17 of 19) Coordinates: 80,91
INFO:+ (tile 18 of 19) Coordinates: 80,92
INFO:+ (tile 19 of 19) Coordinates: 80,93
INFO:+ Generate land for each coordinate: OK, took 123.206 s
INFO:--------------------------------------------------------------------------------
INFO:# Generate sea for each coordinate
INFO:+ (tile 1 of 19) Coordinates: 77,90
INFO:+ (tile 2 of 19) Coordinates: 77,91
INFO:+ (tile 3 of 19) Coordinates: 77,92
INFO:+ (tile 4 of 19) Coordinates: 77,93
INFO:+ (tile 5 of 19) Coordinates: 77,94
INFO:+ (tile 6 of 19) Coordinates: 78,89
INFO:+ (tile 7 of 19) Coordinates: 78,90
INFO:+ (tile 8 of 19) Coordinates: 78,91
INFO:+ (tile 9 of 19) Coordinates: 78,92
INFO:+ (tile 10 of 19) Coordinates: 78,93
INFO:+ (tile 11 of 19) Coordinates: 78,94
INFO:+ (tile 12 of 19) Coordinates: 79,89
INFO:+ (tile 13 of 19) Coordinates: 79,90
INFO:+ (tile 14 of 19) Coordinates: 79,91
INFO:+ (tile 15 of 19) Coordinates: 79,92
INFO:+ (tile 16 of 19) Coordinates: 79,93
INFO:+ (tile 17 of 19) Coordinates: 80,91
INFO:+ (tile 18 of 19) Coordinates: 80,92
INFO:+ (tile 19 of 19) Coordinates: 80,93
INFO:+ Generate sea for each coordinate: OK, took 0.023 s
INFO:--------------------------------------------------------------------------------
INFO:# Split filtered country files to tiles
INFO:+ Split filtered country files to tiles: OK, took 0.000 s
INFO:--------------------------------------------------------------------------------
INFO:# Merge splitted tiles with land, elevation, and sea
INFO:+ (tile 1 of 19) Coordinates: 77,90
ERROR:subprocess error output:
ERROR:The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
May 20, 2025 3:50:46 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.49.2
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
May 20, 2025 3:50:46 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
May 20, 2025 3:50:46 PM org.openstreetmap.osmosis.tagtransform.impl.TransformLoader parseTranslation
INFO: New translation: Adjust tunnel Layers
May 20, 2025 3:50:46 PM org.openstreetmap.osmosis.core.Osmosis main
SEVERE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: No default pipes are available as input for task 3-m.
at org.openstreetmap.osmosis.core.pipeline.common.PipeTasks.retrieveTask(PipeTasks.java:150)
at org.openstreetmap.osmosis.core.pipeline.common.TaskManager.getInputTask(TaskManager.java:165)
at org.openstreetmap.osmosis.core.pipeline.v0_6.MultiSinkRunnableSourceManager.connect(MultiSinkRunnableSourceManager.java:57)
at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.connectTasks(Pipeline.java:74)
at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.prepare(Pipeline.java:116)
at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:86)
at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:37)
ERROR:! Error in Osmosis with tile: 77,90
Failure log when creating a Berlin map with no neighboring areas:
(gdal-user) C:\Users\user>python -m wahoomc cli -nbc -v -co berlin
INFO:--------------------------------------------------------------------------------
INFO:--------------------------------------------------------------------------------
INFO:# check C:\Users\user\wahooMapsCreatorData\_download\geofabrik.json file
INFO:# Input country: berlin.
INFO:--------------------------------------------------------------------------------
INFO:+ Involved country: berlin
INFO:--------------------------------------------------------------------------------
INFO:# check C:\Users\user\wahooMapsCreatorData\_download\land-polygons-split-4326\land_polygons.shp file
INFO:--------------------------------------------------------------------------------
INFO:# check countries .osm.pbf files
INFO:+ Checking for old maps and remove them
INFO:+ mapfile for berlin: up-to-date.
INFO:--------------------------------------------------------------------------------
INFO:# Filter tags from country osm.pbf files
DEBUG:--------------------------------------------------------------------------------
DEBUG:# Read country config json file
DEBUG:+ Use country config file C:\Users\user\wahooMapsCreatorData\_tiles\berlin\.config.json
DEBUG:+ Read country config json file: OK
INFO:+ Map of berlin already in o5m format
DEBUG:--------------------------------------------------------------------------------
DEBUG:# Read country config json file
DEBUG:+ Use country config file C:\Users\user\wahooMapsCreatorData\_tiles\berlin\.config.json
DEBUG:+ Read country config json file: OK
DEBUG:--------------------------------------------------------------------------------
DEBUG:# Read country config json file
DEBUG:+ Use country config file C:\Users\user\wahooMapsCreatorData\_tiles\berlin\.config.json
DEBUG:+ Read country config json file: OK
INFO:+ Filter tags from country osm.pbf files: OK, took 0.008 s
INFO:--------------------------------------------------------------------------------
INFO:# Generate land for each coordinate
DEBUG:+ (tile 1 of 2) Coordinates: 137,83 / took 0.000 s
DEBUG:+ (tile 2 of 2) Coordinates: 137,84 / took 0.000 s
INFO:+ Generate land for each coordinate: OK, took 0.001 s
INFO:--------------------------------------------------------------------------------
INFO:# Generate sea for each coordinate
DEBUG:+ (tile 1 of 2) Coordinates: 137,83 / took 0.000 s
DEBUG:+ (tile 2 of 2) Coordinates: 137,84 / took 0.000 s
INFO:+ Generate sea for each coordinate: OK, took 0.001 s
INFO:--------------------------------------------------------------------------------
INFO:# Split filtered country files to tiles
INFO:+ Split filtered country files to tiles: OK, took 0.000 s
INFO:--------------------------------------------------------------------------------
INFO:# Merge splitted tiles with land, elevation, and sea
INFO:+ (tile 1 of 2) Coordinates: 137,83
DEBUG:--------------------------------------------------------------------------------
DEBUG:# Sorting land* osm files
DEBUG:subprocess debug output:
DEBUG:[MERGE] Osmosis called with: --read-xml file=C:\Users\user\wahooMapsCreatorData\_tiles\137\83\land1.osm --sort --write-xml file=C:\Users\user\wahooMapsCreatorData\_tiles\137\83\land1_sorted.osm
DEBUG:+ Sorting land* osm files: OK
ERROR:subprocess error output:
ERROR:The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
May 20, 2025 4:33:06 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.49.2
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
May 20, 2025 4:33:07 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
May 20, 2025 4:33:07 AM org.openstreetmap.osmosis.tagtransform.impl.TransformLoader parseTranslation
INFO: New translation: Adjust tunnel Layers
May 20, 2025 4:33:07 AM org.openstreetmap.osmosis.core.Osmosis main
SEVERE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: No default pipes are available as input for task 3-m.
at org.openstreetmap.osmosis.core.pipeline.common.PipeTasks.retrieveTask(PipeTasks.java:150)
at org.openstreetmap.osmosis.core.pipeline.common.TaskManager.getInputTask(TaskManager.java:165)
at org.openstreetmap.osmosis.core.pipeline.v0_6.MultiSinkRunnableSourceManager.connect(MultiSinkRunnableSourceManager.java:57)
at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.connectTasks(Pipeline.java:74)
at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.prepare(Pipeline.java:116)
at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:86)
at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:37)
ERROR:! Error in Osmosis with tile: 137,83
@cipherings I encountered similar errors in the last couple weeks when working on this program and my own version of it. Typically this is caused by specifying an input file that does not exist.
If you add a print(cmd) before the execution of the command like this in osm_maps_functions.py line 510:
cmd.extend(
['--rx', 'file='+os.path.join(out_tile_dir, 'sea.osm'), '--s', '--m'])
cmd.extend(['--tag-transform', 'file=' + os.path.join(RESOURCES_DIR,
'tunnel-transform.xml'), '--wb', out_file_merged, 'omitmetadata=true'])
print(cmd)
sys.exit()
run_subprocess_and_log_output(
cmd, f'! Error in Osmosis with tile: {tile["x"]},{tile["y"]}')
The program will print the command it tries to execute and exit. Check for the existence of the files in the output. Likely you will see there one or more there that do not exist.
If you don't know how, post it here, I can try too but atm I don't have access to the laptop I use for this.
Edit: Be aware that not processing border countries results in missing roads in the border region of the state/country you are generating.
Managed to reach my test laptop. Using -nbc causes the state/country to process to be missing from the osmosis input. Trying to just process us/texas for example tries to merge a single file, the land shape file. So you end up trying to merge a single file with nothing: ['C:\Users\ebodd\wahooMapsCreatorData\_download\tooling_win\Osmosis\bin\osmosis.bat', '--rx', 'file=C:\Users\ebodd\wahooMapsCreatorData\_tiles\52\103\land1.osm', '--s', '--m']
Clearly a bug