Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

osm_map_merger-0.1.0.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

osm_map_merger-0.1.0-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page