Skip to content

Commit 7df96d6

Browse files
author
ruyer
committed
add a notice for third-parties
1 parent 4c39034 commit 7df96d6

2 files changed

Lines changed: 74 additions & 4 deletions

File tree

NOTICE.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Notice
2+
3+
© 2026 Maxence Ruyer, all rights reserved
4+
5+
Please ask me, if you want to reuse my code as i didn't define the license modele yet.
6+
7+
## Vendored third-party code
8+
9+
Each keeps its own license text alongside the source.
10+
11+
| Component | Location | License |
12+
|---|---|---|
13+
| [PoissonRecon](https://github.com/mkazhdan/PoissonRecon) | `third-parties/PoissonRecon/` | MIT |
14+
| [Fast-Quadric-Mesh-Simplification](https://github.com/sp4cerat/Fast-Quadric-Mesh-Simplification) | `src/Simplify.h` | MIT |
15+
| [meshoptimizer](https://github.com/zeux/meshoptimizer) | `extern/meshoptimizer/` | MIT |
16+
| [miniply](https://github.com/vilya/miniply) | `extern/miniply/` | MIT |
17+
| [tinyply](https://github.com/ddiakopoulos/tinyply) | `extern/tinyply/` | Public domain |
18+
| [nanoflann](https://github.com/jlblancoc/nanoflann) | `extern/nanoflann/` | BSD-3-Clause |
19+
| [copc-lib](https://github.com/RockRobotic/copc-lib) | `extern/copc-lib/` | BSD |
20+
| [laz-perf](https://github.com/hobuinc/laz-perf) | `extern/laz-perf/` | Apache-2.0 |
21+
22+
Paths are relative to `alpineview_builder/`. Build and Python dependencies are
23+
installed from conda/PyPI, not redistributed here (`environment.yml`,
24+
`pyproject.toml`).
25+
26+
## Bundled in the web client
27+
28+
| Component | Copyright | License |
29+
|---|---|---|
30+
| [iTowns](https://github.com/iTowns/itowns) | © IGN | CECILL-B OR MIT (used under MIT) |
31+
| [three.js](https://github.com/mrdoob/three.js) | © 2010-2025 three.js authors | MIT |
32+
| [Draco](https://github.com/google/draco) decoder | © 2016 The Draco Authors | Apache-2.0 |
33+
| [proj4js](https://github.com/proj4js/proj4js) | © 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral, Calvin Metcalf | MIT |
34+
| [Leaflet](https://github.com/Leaflet/Leaflet) | © 2010-2023 Volodymyr Agafonkin | BSD-2-Clause |
35+
| [SunCalc](https://github.com/mourner/suncalc) | © 2014 Volodymyr Agafonkin | BSD-2-Clause |
36+
| [DOMPurify](https://github.com/cure53/DOMPurify) | © Dr.-Ing. Mario Heiderich, Cure53 | MPL-2.0 OR Apache-2.0 |
37+
| [markdown-it](https://github.com/markdown-it/markdown-it) | © 2014 Vitaly Puzrin, Alex Kocharin | MIT |
38+
| [Color Thief](https://github.com/lokesh/color-thief) | © 2015 Lokesh Dhakar | MIT |
39+
| [tilebelt](https://github.com/mapbox/tilebelt) | © 2014 Morgan Herlocker | MIT |
40+
| [socket.io-client](https://github.com/socketio/socket.io) | © 2014-present Guillermo Rauch and Socket.IO contributors | MIT |
41+
42+
## LidarTerrainMesh
43+
44+
`alpineview_builder` derives from
45+
[LidarTerrainMesh](https://github.com/oscarpilote/LidarTerrainMesh)
46+
47+
Big thanks to the author !
48+
49+
## CGAL
50+
51+
`alpineview_builder` links CGAL's `estimate_scale`, `scanline_orient_normals`
52+
and `Monge_via_jet_fitting`**GPL-3.0-or-later**, not CGAL's LGPL core. No
53+
builder binary is distributed, so nothing is triggered today, but any future
54+
license for `alpineview_builder` must account for it.
55+
56+
## Data
57+
58+
- **IGN** LiDAR HD, BD TOPO, BD ORTHO, Plan IGN — © IGN,
59+
[Licence Ouverte 2.0 (Etalab)](https://www.etalab.gouv.fr/licence-ouverte-open-licence/).
60+
Free reuse including commercial, on condition of crediting the source and its
61+
update date. The generated tiles are derivative works and inherit this.
62+
- **[Camptocamp.org](https://www.camptocamp.org/articles/106728/fr/licences-des-contenus)**
63+
waypoint and topoguide data CC BY-SA; images licensed per image by their
64+
authors, not uniformly CC BY-SA.
65+
- **[OpenStreetMap](https://www.openstreetmap.org/copyright) / Nominatim**
66+
© OpenStreetMap contributors, ODbL 1.0, subject to the
67+
[usage policy](https://operations.osmfoundation.org/policies/nominatim/).

webapp/vite.common.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,26 @@ export const PROD_API_URL =
2020
export const repoRoot = resolve(import.meta.dirname, "..");
2121
export const py = "python3";
2222

23-
// Serves (dev) / copies into dist/draco (build) the Draco decoder shipped
24-
// with three.js, so it doesn't need a manual pre-build copy step.
25-
const dracoCopyPlugin = () =>
23+
// Serves (dev) / copies into dist (build): the Draco decoder shipped with
24+
// three.js, so it doesn't need a manual pre-build copy step, and the root
25+
// NOTICE.md — the bundle redistributes three.js et al., whose licenses require
26+
// their notices to ship with it.
27+
const staticCopyPlugin = () =>
2628
viteStaticCopy({
2729
targets: [
2830
{
2931
src: "node_modules/three/examples/jsm/libs/draco/{draco_decoder.js,draco_decoder.wasm,draco_wasm_wrapper.js}",
3032
dest: "draco",
3133
},
34+
{ src: resolve(repoRoot, "NOTICE.md"), dest: "." },
3235
],
3336
});
3437

3538
export const servePlugins = () => [
3639
// Self-signed TLS so the dev server speaks HTTP/2 — over plain HTTP the
3740
// browser caps parallel tile fetches at ~6 connections per origin.
3841
basicSsl(),
39-
dracoCopyPlugin(),
42+
staticCopyPlugin(),
4043
];
4144

4245
const apiProxy = () =>

0 commit comments

Comments
 (0)