Skip to content

Commit 20fc9ae

Browse files
authored
Replace licensed datasets by sample datasets (#841)
* Add a new sample dataset * Rewrite and add new tests based on the sample dataset * Remove datasets with incompatible license * Remove datasets based on naturalearth and geonames * Remove sample vector tile derived from openstreetmap data * Update the NOTICE, LICENSE, and DISCLAIMER-WIP files * Remove the JMH benchmarks (GPL License) * Improve the configuration of the apache rat plugin
1 parent 0023453 commit 20fc9ae

File tree

180 files changed

+1398
-4763
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

180 files changed

+1398
-4763
lines changed

.gitignore

-3
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ examples/openstreetmap/tiles/
4949

5050
examples/transformation/*.pbf
5151

52-
# JMH
53-
jmh-result.json
54-
5552
# Docs
5653
.jekyll-cache/
5754
_site/

DISCLAIMER-WIP

-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ releases may have incomplete or un-reviewed licensing conditions. What follows i
1010
the project is currently aware of (this list is likely to be incomplete):
1111

1212
* Releases may have incomplete licensing conditions.
13-
* Releases contain excerpts of the OpenStreetMap data.
14-
* Releases contain excerpts of the Natural Earth data.
15-
* Releases contain excerpts of the GeoNames data.
16-
* Releases contain excerpts of the RIPE NCC data.
1713

1814
If you are planning to incorporate this work into your product/project, please be aware that you
1915
will need to conduct a thorough licensing review to determine the overall implications of including

LICENSE

+4-5
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,12 @@
210210
distribution of this product is subject to the following
211211
additional license terms:
212212

213+
- FlatGeobuf, BSD-2-Clause license
214+
- GeoPackage Java, MIT License
213215
- OSMPBF, MIT License
216+
- OSM Test Data, Public domain
214217
- Mapbox Vector Tile, Creative Commons Public License
215218
- Palantir Streams, Apache License 2.0
216219
- Planetiler, Apache License 2.0
217-
- OpenStreetMap, Open Data Commons Open Database License (ODbL)
218-
- EPSG, EPSG Terms of Use
219-
- Natural Earth, Public Domain
220-
- GeoNames, Creative Commons Attribution 4.0 License
221-
- RIPE NCC, RIPE NCC Terms and Conditions
220+
- PMTiles, BSD-3-Clause license
222221
- pyosmium, BSD 2-Clause "Simplified" License

NOTICE

+31-22
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,26 @@
11
Apache Baremaps (incubating)
2-
Copyright 2022-2023 The Apache Software Foundation.
2+
Copyright 2022-2024 The Apache Software Foundation.
33

44
Baremaps development team
55
Copyright 2020-2022.
66

77
This product includes software developed at
88
The Apache Software Foundation (http://www.apache.org/).
99

10+
This product includes test data copied from FlatGeobuf.
11+
BSD-2-Clause license.
12+
Please visit the following URL for the full text of the FlatGeobuf license:
13+
https://github.com/flatgeobuf/flatgeobuf/
14+
The copied files are located in:
15+
- baremaps-core/src/test/resources/data/
16+
17+
This product includes test data copied from GeoPackage Java.
18+
MIT License.
19+
Please visit the following URL for the full text of the GeoPackage Java license:
20+
https://github.com/ngageoint/geopackage-java/
21+
The copied files are located in:
22+
- baremaps-core/src/test/resources/data/
23+
1024
This product includes protocol buffers definitions derived from OSMPBF.
1125
MIT License.
1226
Please visit the following URLs for the licensing information:
@@ -16,6 +30,13 @@ The derived files are:
1630
- baremaps-core/src/main/proto/osmformat.proto
1731
- baremaps-core/src/main/proto/fileformat.proto
1832

33+
This product includes test data copied from OSM Test Data.
34+
Public domain.
35+
Please visit the following URL for the full text of the OSM Test Data license:
36+
https://github.com/osmcode/osm-testdata?tab=readme-ov-file#license
37+
The copied files are located in:
38+
- baremaps-core/src/test/resources/osm-testdata/
39+
1940
This product includes protocol buffers definitions derived from Mapbox Vector Tile.
2041
Creative Commons Public License.
2142
Please visit the following URL for the licensing information:
@@ -24,43 +45,31 @@ The derived files are:
2445
- baremaps-core/src/main/proto/vector_tile.proto
2546

2647
This product includes code derived from Palantir Streams.
27-
Apache License, Version 2.0
48+
Apache License 2.0.
2849
Please visit the following URL for the full text of the Palantir license:
2950
https://github.com/palantir/streams/blob/develop/LICENSE
3051
The derived files are:
3152
- baremaps-core/src/main/java/org/apache/baremaps/stream/BufferedSpliterator.java
3253

3354
This product includes code derived from Planetiler.
34-
Apache License, Version 2.0
55+
Apache License 2.0.
3556
Please visit the following URL for the full text of the Planetiler license:
3657
https://github.com/onthegomap/planetiler/blob/main/LICENSE
3758
The derived files are:
3859
- baremaps-core/src/main/java/org/apache/baremaps/database/collection/MemoryAlignedDataMap.java
3960
- baremaps-core/src/main/java/org/apache/baremaps/database/collection/MonotonicDataMap.java
4061
- baremaps-core/src/main/java/org/apache/baremaps/database/collection/MonotonicFixedSizeDataMap.java
4162

63+
This product includes test data copied from PMTiles.
64+
BSD-3-Clause license.
65+
Please visit the following URL for the full text of the PMTiles license:
66+
https://github.com/protomaps/PMTiles
67+
The copied files are located in:
68+
- baremaps-core/src/test/resources/pmtiles/
69+
4270
This product includes code derived from pyosmium.
4371
BSD 2-Clause "Simplified" License.
4472
Please visit the following URL for the full text of the pyosmium license:
4573
https://github.com/osmcode/pyosmium/blob/master/LICENSE.TXT
4674
The derived files are:
4775
- baremaps-core/src/main/java/org/apache/baremaps/openstreetmap/state/StateReader.java
48-
49-
This product includes test data derived from OpenStreetMap.
50-
Open Data Commons Open Database License (ODbL).
51-
Please visit the following URL for the full text of the ODbL license:
52-
https://opendatacommons.org/licenses/odbl/1.0/
53-
54-
This product includes test data derived from NaturalEarth.
55-
Public Domain.
56-
Please visit the following URL for the full text of the terms of use:
57-
https://www.naturalearthdata.com/about/terms-of-use/
58-
59-
This product includes test data derived from GeoNames.
60-
Creative Commons Attribution 4.0 License.
61-
Please visit the following URL for the full text of the CC-BY license:
62-
https://creativecommons.org/licenses/by/4.0/
63-
64-
This product includes test data derived from the RIPE NCC database.
65-
Please visit the following URL for the full text of the RIPE NCC Terms and Conditions:
66-
https://www.ripe.net/manage-ips-and-asns/db/support/documentation/terms

baremaps-benchmark/pom.xml

-73
This file was deleted.

baremaps-benchmark/src/main/java/org/apache/baremaps/benchmarks/BenchmarkRunner.java

-29
This file was deleted.

baremaps-benchmark/src/main/java/org/apache/baremaps/benchmarks/DataMapBenchmark.java

-95
This file was deleted.

0 commit comments

Comments
 (0)