Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 processing

This 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).