Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trailbehind/changegen
Generation of OSM changefiles from PostGIS database tables and Planet files.
https://github.com/trailbehind/changegen
Last synced: 3 days ago
JSON representation
Generation of OSM changefiles from PostGIS database tables and Planet files.
- Host: GitHub
- URL: https://github.com/trailbehind/changegen
- Owner: trailbehind
- License: mit
- Created: 2020-12-15T20:56:43.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-10-27T16:34:41.000Z (about 2 years ago)
- Last Synced: 2023-04-21T10:26:32.458Z (over 1 year ago)
- Language: Python
- Homepage: https://trailbehind.github.io/changegen/
- Size: 1.8 MB
- Stars: 3
- Watchers: 6
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: changegen/.dockerignore
- License: MIT-LICENSE.txt
Awesome Lists containing this project
README
# OSM Changefile Generator (`changegen`)
[![Codeship Status for trailbehind/changegen](https://app.codeship.com/projects/824fe25d-68b7-4dde-9ec9-638b52ae0859/status?branch=master)](https://app.codeship.com/projects/452582)
_more info on testing in_ [_`test/README`_](./test/README.md)
Changegen is a command-line application for generating OpenStreeMap [changefiles](https://wiki.openstreetmap.org/wiki/OsmChange) from database tables and their source extract. This software is designed to support PostGIS/Imposm-based workflows for conflation of third-party data with OSM. The resulting changefiles can be used post-conflation to enable the updating of the source Planet file (or any other extract) with newly-conflated data via software such as [Osmosis](https://wiki.openstreetmap.org/wiki/Osmosis).
The primary output of this software are `.osc` files, described in detail [here](https://wiki.openstreetmap.org/wiki/OsmChange). (_It is important to note that `.osc` change files are distinct from [OSM Change Sets](https://wiki.openstreetmap.org/wiki/Changeset)_)
Main Features:
- Ensures properly noded junctions (e.g. intersecting Ways always share a Node).
- Preserves topology of existing OSM network.
- Configurable ID generation (negative IDs, arbitrary offsets)
- Use of GDAL for efficient geodata processingThis software is currently in an alpha release, and will change rapidly.
## Contributing
We welcome pull requests for consideration. This repository uses pre-commit hooks to validate contributions for style. Please [install and enable `pre-commit`](https://pre-commit.com/#quick-start).