Skip to main content

Command-line script for merging points from a third-party source with OpenStreetMap data

Project description

This is a script for merging points from some third-party source with OpenStreetMap data. Please make sure the license allows that. After merging and uploading, the data can be updated.

See the OSM wiki page for detailed description and instructions.

Installation

Run pip install osm_conflate.

Profiles

Each source should have a profile. It is a python script with variables configuring names, tags and processing. See heavily commented examples in the profiles directory.

Usage

For a simplest case, run:

conflate <profile.py> -o result.osm

You might want to add other arguments, to pass a dataset file or prepare a preview GeoJSON. Run conflate -h to see a list of arguments.

Uploading to OpenStreetMap

It is recommended to open the resulting file in the JOSM editor and manually check the changes. Alternatively, you can use bulk_upload.py to upload a change file from the command line.

Please mind the Import Guidelines, or your work may be reverted.

License

Written by Ilya Zverev for MAPS.ME. Published under the Apache 2.0 license.

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_conflate-1.4.1.tar.gz (6.2 MB view details)

Uploaded Source

File details

Details for the file osm_conflate-1.4.1.tar.gz.

File metadata

  • Download URL: osm_conflate-1.4.1.tar.gz
  • Upload date:
  • Size: 6.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for osm_conflate-1.4.1.tar.gz
Algorithm Hash digest
SHA256 8dcf1312b98cedeb50136d91c3c802019a2417f66b1dacb73fc4f97e13bf92ea
MD5 ef640c5d0be205615f5bda4c05b8060c
BLAKE2b-256 46d977bc12afea24df7fd5f5c56a9077a1c0df375f14b261e726b1839dc3b4b4

See more details on using hashes here.

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