Third-Party Notices for OxiProj
===============================

OxiProj's own source code is licensed under the Apache License, Version 2.0
(see the `LICENSE` file at the root of this repository).

OxiProj is, however, a **direct algorithmic port** of two upstream projects
that are themselves licensed under the MIT/X11 License, and additionally
vendors one upstream project's test corpus **verbatim**:

  1. PROJ (https://proj.org) — coordinate reference systems, datum
     transformations, and map projections. OxiProj's proj-string engine,
     projection catalog, datum-transformation operations, grid-shift
     interpolators, CRS model, and WKT/PROJJSON I/O are ports of PROJ
     9.8.0's C/C++ implementation (see `README.md` and `oxiproj.md`).

  2. GeographicLib (https://geographiclib.sourceforge.io), by Charles
     Karney — the geodesic (direct/inverse/area) algorithms. OxiProj's
     `oxiproj-geodesic` crate is a faithful Pure-Rust port of PROJ's
     vendored copy of GeographicLib's geodesic routines
     (PROJ 9.8.0 `src/geodesic.c` / `src/geodesic.h`), which are
     themselves a transcription of GeographicLib's C++ `Geodesic`,
     `GeodesicLine`, and `PolygonAreaT` classes.

  3. PROJ's `gie` ("generic integrity check") test corpus
     (`crates/oxiproj-cli/tests/gie/*.gie`) — copied **verbatim, without
     modification**, from PROJ 9.8.0's `test/gie/` directory, and used only
     to drive `oxiproj-cli`'s own `gie`-compatible test runner
     (`oxiproj-cli/tests/gie_corpus.rs`, `src/gie_runner.rs`); no `.gie`
     file is compiled into, or shipped as part of, any built OxiProj binary
     or library. These text files are PROJ package contents and are
     therefore covered by the same MIT/X11 `COPYING` terms reproduced in
     full under "1. PROJ" below; per PROJ's own `COPYING` notice
     ("Copyright information can be found in source files... Essentially
     all work was done by Gerald Evenden"), their principal copyright
     holders are Frank Warmerdam (the original author of PROJ's `gie` test
     framework and its earliest test fixtures, ca. 2000) and the PROJ /
     OSGeo contributors who have extended the corpus since.

The MIT/X11 License requires that the original copyright notice and
permission notice be reproduced in copies or substantial portions of the
software, including derivative works such as this port (and verbatim
copies, such as the `gie` test corpus). Both PROJ's and GeographicLib's
notices are reproduced verbatim below, together with the standard MIT
permission and warranty-disclaimer text, so that this notice-preservation
condition is satisfied for the whole of OxiProj (which is, in its entirety,
a derivative work of, or a vendored copy of test material from, the
projects above).

Nothing in this file changes the license of OxiProj's own code, which
remains Apache-2.0 as stated in `LICENSE`. This file exists solely to
satisfy the upstream MIT/X11 notice-preservation conditions for the
portions of OxiProj that are ports of PROJ and GeographicLib.


1. PROJ
-------

Reproduced verbatim from PROJ 9.8.0's `COPYING` file
(https://github.com/OSGeo/PROJ/blob/9.8.0/COPYING):

    All source, data files and other contents of the PROJ package are
    available under the following terms.  Note that the PROJ 4.3 and earlier
    was "public domain" as is common with US government work, but apparently
    this is not a well defined legal term in many countries. Frank Warmerdam
    placed everything under the following MIT style license because he
    believed it is effectively the same as public domain, allowing anyone to
    use the code as they wish, including making proprietary derivatives.

    Initial PROJ 4.3 public domain code was put as Frank Warmerdam as
    copyright holder, but he didn't mean to imply he did the work.
    Essentially all work was done by Gerald Evenden.

    Copyright information can be found in source files.

     --------------

     Permission is hereby granted, free of charge, to any person obtaining a
     copy of this software and associated documentation files (the
     "Software"), to deal in the Software without restriction, including
     without limitation the rights to use, copy, modify, merge, publish,
     distribute, sublicense, and/or sell copies of the Software, and to
     permit persons to whom the Software is furnished to do so, subject to
     the following conditions:

     The above copyright notice and this permission notice shall be included
     in all copies or substantial portions of the Software.

     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
     OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
     MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
     IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
     CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
     TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
     SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

As the PROJ `COPYING` file states, per-file copyright is recorded in PROJ's
own source headers; the principal copyright holders whose code OxiProj's
port draws upon include (non-exhaustively, per PROJ's source headers and
project history): Gerald Evenden, Frank Warmerdam, Thomas Knudsen / SDFE,
Even Rouault, and the PROJ contributors.


2. GeographicLib (geodesic routines, as vendored into PROJ)
-------------------------------------------------------------

`oxiproj-geodesic` ports PROJ 9.8.0's `src/geodesic.c` and
`src/geodesic.h`, whose file headers carry the following copyright and
license notice verbatim:

    Copyright (c) Charles Karney (2012-2025) <karney@alum.mit.edu> and
    licensed under the MIT/X11 License.  For more information, see
    https://geographiclib.sourceforge.io/

The MIT/X11 License referenced above is GeographicLib's standard license
(https://geographiclib.sourceforge.io/C++/doc/LICENSE.txt), reproduced in
full below:

    The MIT License (MIT)

    Copyright (c) Charles Karney (2008-2025) <karney@alum.mit.edu>

    Permission is hereby granted, free of charge, to any person obtaining a
    copy of this software and associated documentation files (the
    "Software"), to deal in the Software without restriction, including
    without limitation the rights to use, copy, modify, merge, publish,
    distribute, sublicense, and/or sell copies of the Software, and to
    permit persons to whom the Software is furnished to do so, subject to
    the following conditions:

    The above copyright notice and this permission notice shall be included
    in all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
    OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
    IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
    CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
    TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
    SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
