This tool can be used to assign positive id's to all elements and add a "version" attribute if missing. If multiple OSM input files are selected the tool will merge them into a single OSM output file. It is also possible to remap negative id's without changing the positive id's. Elements with "action"="delete" will be ignored. Use the --help command for more information.
Project description
MapMerger
This tool can be used to assign positive id's to all elements and add a "version" attribute if missing. If multiple OSM input files are selected the tool will merge them into a single OSM output file. It is also possible to remap negative id's without changing the positive id's. Elements with "action"="delete" will be ignored. Use the --help command for more information.
Requires
- Python 3.8 or higher
- osmium >=3.2.0
- lxml,
- beautifulsoup4,
- click
Installation
1. Using pip
pip install osm-map-merger
2. From Source
Clone source code:
- Using SSH
git clone git@gitlab.com:tuda-fzd/scenery-representations-and-maps/osm-map-merger.git
- Using HTTPS
git clone https://gitlab.com/tuda-fzd/scenery-representations-and-maps/osm-map-merger.git
After cloning the source code run the following command in the root directory of the repository.
pip install -e .
Execute
To see a list of available commands use:
osm-map-merger --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file osm_map_merger-0.1.0.tar.gz
.
File metadata
- Download URL: osm_map_merger-0.1.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e84c2290fab97d18a4cc1cc10f27a24651ba1ad94a77fcfcd51229d6feb6e88 |
|
MD5 | ab7232546a01c4bf77c0fdc481f546b4 |
|
BLAKE2b-256 | 08d382ccd3c4ee4c6d173726b80c31af43cba5504e59e26b5772fe02a12d1af1 |
File details
Details for the file osm_map_merger-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: osm_map_merger-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9518f153652f12e06ac6d2e683bd0294fb638217feb8057a89c461ae1239463 |
|
MD5 | 8703eb8f7afa392dcc7cffe3633dd962 |
|
BLAKE2b-256 | ac651ed9ccfcfd1c7a34ec241b23be360a088271667e3b7d69c75bdca103a9eb |