You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This tool should run with the newest version of osmium-tool v1.13.2
With brew under macOS it is a little hassle to insall older formulae versions. E.g. v1.13.1 of osmium-tool.
Current Behavior
when osmium-tool is installed in version 1.13.2 on macOS (and maybe Windows as well) the following error happens: Objects in input file '/Users/benjamin/VSCode/wahooMapsCreator/output/138/100/land1.osm' out of order (must be nodes, then ways, then relations).
Install all required software including osmium-tool in the current version 1.13.2
Run wahooMapsCreator, e.g with python3 wahoo_map_creator.py malta
The error occurs
Context
OS/Platform: macOS Catalina
Other information regarding your environment (optional): osmium-tool v1.13.2
Log Output / Stack Trace
when osmium-tool is installed in version 1.13.2 on macOS (and maybe Windows as well) the following error happens: Objects in input file '/Users/benjamin/VSCode/wahooMapsCreator/output/138/100/land1.osm' out of order (must be nodes, then ways, then relations).
The text was updated successfully, but these errors were encountered:
treee111
changed the title
tbd
tool does not work with latest osmium-tool v1.13.2 under macOS
Jan 13, 2022
treee111
changed the title
tool does not work with latest osmium-tool v1.13.2 under macOS
Error when using latest osmium-tool v1.13.2 under macOS
Jan 13, 2022
…merging (#78)
- sorts land*.osm files to be in this order: nodes, then ways, then relations.
- for osmium-merge of the osmium-tool on macOS, this is mandatory since https://github.com/osmcode/osmium-tool/releases/tag/v1.13.2
* fix lint findings in shape2osm.py
- new version is from https://github.com/mapsforge/mapsforge-creator/blob/master/shape2osm.py
* sort land* osm files before merging
closes#77
* extract output dir for tile to variable
* sort land* osm files before merging on Windows
- adoption of 8f1e46b
* move Osmosis to tooling_windows & extract path to file to variable
- Osmosis is only used in Windows. macOS uses osmium-tool
- three ocurrences of the path were replaced
…before merging (#78)
- sorts land*.osm files to be in this order: nodes, then ways, then relations.
- for osmium-merge of the osmium-tool on macOS, this is mandatory since https://github.com/osmcode/osmium-tool/releases/tag/v1.13.2
* fix lint findings in shape2osm.py
- new version is from https://github.com/mapsforge/mapsforge-creator/blob/master/shape2osm.py
* sort land* osm files before merging
closes#77
* extract output dir for tile to variable
* sort land* osm files before merging on Windows
- adoption of 8f1e46b
* move Osmosis to tooling_windows & extract path to file to variable
- Osmosis is only used in Windows. macOS uses osmium-tool
- three ocurrences of the path were replaced
Expected Behavior
This tool should run with the newest version of osmium-tool v1.13.2
With brew under macOS it is a little hassle to insall older formulae versions. E.g. v1.13.1 of osmium-tool.
Current Behavior
when osmium-tool is installed in version 1.13.2 on macOS (and maybe Windows as well) the following error happens:
Objects in input file '/Users/benjamin/VSCode/wahooMapsCreator/output/138/100/land1.osm' out of order (must be nodes, then ways, then relations).
The cause is this new feature of v1.13.2:
- The `osmium merge` command now checks that the input files are ordered
in version https://github.com/osmcode/osmium-tool/releases/tag/v1.13.2
which seams to be made via commit osmcode/osmium-tool@740a565
Somehow our generated
land1.osm
file seams not like osmium-tool needs it.The file
land1.osm
is generated here:wahooMapsCreator/common_python/osm_maps_functions.py
Lines 250 to 263 in ed5b7cc
The error occurs in line 464, the command is built in the lines above
wahooMapsCreator/common_python/osm_maps_functions.py
Lines 445 to 464 in ed5b7cc
Steps to Reproduce the Issue
python3 wahoo_map_creator.py malta
Context
macOS Catalina
osmium-tool v1.13.2
Log Output / Stack Trace
when osmium-tool is installed in version 1.13.2 on macOS (and maybe Windows as well) the following error happens:
Objects in input file '/Users/benjamin/VSCode/wahooMapsCreator/output/138/100/land1.osm' out of order (must be nodes, then ways, then relations).
The text was updated successfully, but these errors were encountered: