From 29efdb412646a6d76159512eacebe176fb908bb7 Mon Sep 17 00:00:00 2001 From: HideBa Date: Fri, 17 Jan 2025 14:46:42 +0100 Subject: [PATCH] chore: add copyright notice on spatial index --- src/rust/src/packedrtree.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/rust/src/packedrtree.rs b/src/rust/src/packedrtree.rs index bfbdea1..dc70d29 100644 --- a/src/rust/src/packedrtree.rs +++ b/src/rust/src/packedrtree.rs @@ -1,3 +1,13 @@ +// This file is part of the FlatGeobuf project. +// Much of this code is derived from the `packed_r_tree.rs` file of the FlatGeobuf project: +// https://github.com/flatgeobuf/flatgeobuf/blob/master/src/rust/src/packed_r_tree.rs +// Copyright (c) 2018, Björn Harrtell, Postnummer Stockholm AB (BSD 2-Clause License) +// +// See LICENSE file for full license text. +//! Create and read a [packed Hilbert R-Tree](https://en.wikipedia.org/wiki/Hilbert_R-tree#Packed_Hilbert_R-trees) +//! to enable fast bounding box spatial filtering. + +// ... rest of the code ... //! Create and read a [packed Hilbert R-Tree](https://en.wikipedia.org/wiki/Hilbert_R-tree#Packed_Hilbert_R-trees) //! to enable fast bounding box spatial filtering.