# Copyright and License

## Mentioning this Copyright in own projects

Please include this Copyright- and License-notice in your project.
As suggested in the `Apache License, Version 2.0`, you may choose a separate file like "NOTICE" for this.
Instead of copying the whole file, you may copy only the following short version.

```text
osmgraphing
https://github.com/dominicparga/osmgraphing
Copyright 2019 Dominic Parga Cacheiro
License Apache-2.0


Only needed, if the respective features are built.

balancing
https://github.com/dominicparga/osmgraphing
Copyright 2020 Dominic Parga Cacheiro
License GPL-3.0-only
```

The following description gives an (incomplete) overview about this repository (and resulting binaries), for which the above copyright-notice holds.
Note that the following overview describes content licensed under the `Apache License, Version 2.0` and content licensed under the `GPL-3.0`.

This repository `osmgraphing` parses maps of own format or maps from openstreetmap.
To do this, a binary `osmgraphing` is built and an own-defined config-file can be provided to specify parsing-, writing- and routing-settings.
Further, this repository also explorates graphs and optimizes resulting routes with the module `exploration` and the binary `balancer` using `multi-ch-constructor`, which can be called from a binary `multi-ch-constructor` as well.


## Apache-2.0

This work is licensed under the `Apache License, Version 2.0`.
You may not use content of this repository or its files, which are directly or indirectly related to above mentioned parts, except in compliance with the `Apache License, Version 2.0`.
You may obtain a copy of the License at

`https://www.apache.org/licenses/LICENSE-2.0`

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.


## GPL-3.0

This repository allows to build some content based on code licensed under the `GPL-3.0`.
Thus, the respective binaries and code-parts are licensed under the `GPL-3.0` as well.
You may obtain a copy of the License at

`https://www.gnu.org/licenses/`


## Dependencies

```text
chrono
https://github.com/chronotope/chrono
Copyright (c) 2014--2017, Kang Seonghoon and contributors
License MIT OR Apache-2.0
```

```text
clap
https://github.com/clap-rs/clap
Copyright (c) 2015-2016 Kevin B. Knapp
License MIT AND Apache-2.0
```

```text
env_logger
https://github.com/sebasmagri/env_logger
Copyright (c) 2014 The Rust Project Developers
License MIT/Apache-2.0
```

```text
kissunits
https://github.com/dominicparga/kissunits
Copyright 2020 Dominic Parga Cacheiro
License Apache-2.0
```

```text
log
https://github.com/rust-lang/log
Copyright (c) 2014 The Rust Project Developers
License MIT OR Apache-2.0
```

```text
multi-ch-constructor
https://github.com/lesstat/multi-ch-constructor
License GPL-3.0-only
```

```text
nalgebra
https://github.com/rustsim/nalgebra
License BSD 3-Clause
```

```text
nd-triangulation
https://github.com/lesstat/nd-triangulation
License GPL-3.0-only
```

```text
osmpbfreader
https://github.com/TeXitoi/osmpbfreader-rs
License WTFPL OR LGPLv3
```

```text
progressing
https://github.com/dominicparga/progressing
Copyright 2020 Dominic Parga Cacheiro
License Apache-2.0
```

```text
rand
rand_pcg
https://github.com/rust-random/rand
Copyright 2018 Developers of the Rand project
Copyright (c) 2014 The Rust Project Developers
License MIT OR Apache-2.0
```

```text
serde
https://github.com/serde-rs/serde
License MIT OR Apache-2.0
```

```text
serde_yaml
https://github.com/dtolnay/serde-yaml
License MIT OR Apache-2.0
```

```text
smallvec
https://github.com/servo/rust-smallvec
Copyright (c) 2018 The Servo Project Developers
License MIT/Apache-2.0
```
