Skip to content
Snippets Groups Projects
user avatar
Laurens Oostwegel authored
Building_ids are not deleted for each AugmentedDiff after they are added by using flag clear_cache=True
0cbafb23
History

Spearhead

Read augmented diffs from OpenStreetMap's Overpass API and trigger Rabotnik based on changes to buildings.

Requirements

  • python >= 3.6
  • osmdiff >= 0.1.9

Installation

pip3 install .

Contributing

Development and linting dependencies can be installed with:

pip3 install .[tests] pip3 install .[linters]

We use black and flake8 for consistent code style and pylint for general linting. Project linting comes pre-defined in .pre-commit to be used in `https://pre-commit.com/`_.

pre-commit install

Copyright and copyleft

Copyright (C) 2021

  • Helmholtz-Zentrum Potsdam Deutsches GeoForschungsZentrum GFZ

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Also add information on how to contact you by electronic and paper mail.

If your software can interact with users remotely through a computer network, you should also make sure that it provides a way for users to get its source. For example, if your program is a web application, its interface could display a "Source" link that leads users to an archive of the code. There are many ways you could offer source, and different solutions will be better for different programs; see section 13 for the specific requirements.

See the LICENSE for the full license text.