diff --git a/README.md b/README.md index 51c83ab38..77fe0d006 100644 --- a/README.md +++ b/README.md @@ -187,6 +187,18 @@ Lua 5.1.4 (LuaJIT 2.1.0-beta3) If you have problems with osm2pgsql or want to report a bug, go to https://osm2pgsql.org/support/ . +## License + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation; either version 2 +of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + ## Contributing We welcome contributions to osm2pgsql. See [CONTRIBUTING.md](CONTRIBUTING.md) diff --git a/flex-config/README.md b/flex-config/README.md index aff48055e..280d81b97 100644 --- a/flex-config/README.md +++ b/flex-config/README.md @@ -1,4 +1,3 @@ - # Flex Output Configuration **The flex output is experimental. Everything in here is subject to change.** @@ -48,3 +47,8 @@ source](https://github.com/kikito/inspect.lua) or using [LuaRocks](https://luarocks.org/modules/kikito/inspect). Debian/Ubuntu users can install the `lua-inspect` package. +## Public Domain + +All the example config files in this directory are released into the Public +Domain. You may use them in any way you like. + diff --git a/flex-config/compatible.lua b/flex-config/compatible.lua index 50126f5a0..3da77156a 100644 --- a/flex-config/compatible.lua +++ b/flex-config/compatible.lua @@ -1,3 +1,4 @@ +-- This config example file is released into the Public Domain. -- This configuration for the flex output tries to be compatible with the -- original pgsql C transform output. There might be some corner cases but diff --git a/flex-config/data-types.lua b/flex-config/data-types.lua index 402ad7e5f..5afe65f30 100644 --- a/flex-config/data-types.lua +++ b/flex-config/data-types.lua @@ -1,3 +1,4 @@ +-- This config example file is released into the Public Domain. -- This is a very simple Lua config for the Flex Backend not intended for -- real-world use. Look at and understand "simple.lua" first, before looking diff --git a/flex-config/generic.lua b/flex-config/generic.lua index 15f2523da..40c759f29 100644 --- a/flex-config/generic.lua +++ b/flex-config/generic.lua @@ -1,3 +1,4 @@ +-- This config example file is released into the Public Domain. -- This is a generic configuration that is a good starting point for -- real-world projects. Data is split into tables according to geometry type diff --git a/flex-config/geometries.lua b/flex-config/geometries.lua index c8d74282c..b651ab739 100644 --- a/flex-config/geometries.lua +++ b/flex-config/geometries.lua @@ -1,3 +1,4 @@ +-- This config example file is released into the Public Domain. -- This is a very simple Lua config for the Flex Backend not intended for -- real-world use. Look at and understand "simple.lua" first, before looking diff --git a/flex-config/places.lua b/flex-config/places.lua index 61fb1383b..0c6667593 100644 --- a/flex-config/places.lua +++ b/flex-config/places.lua @@ -1,3 +1,4 @@ +-- This config example file is released into the Public Domain. -- This example shows how you can use JSON and JSONB columns in your database. diff --git a/flex-config/route-relations.lua b/flex-config/route-relations.lua index 7a83e1ed6..61a095b0d 100644 --- a/flex-config/route-relations.lua +++ b/flex-config/route-relations.lua @@ -1,3 +1,4 @@ +-- This config example file is released into the Public Domain. -- This file shows how to use multi-stage processing to bring tags from -- relations into ways. diff --git a/flex-config/simple.lua b/flex-config/simple.lua index 6c8a37d94..a9f1d5035 100644 --- a/flex-config/simple.lua +++ b/flex-config/simple.lua @@ -1,3 +1,4 @@ +-- This config example file is released into the Public Domain. -- This is a very simple Lua config for the Flex Backend not intended for -- real-world use. Use it do understand the basic principles of the diff --git a/flex-config/unitable.lua b/flex-config/unitable.lua index 60da163d1..715b5612e 100644 --- a/flex-config/unitable.lua +++ b/flex-config/unitable.lua @@ -1,3 +1,4 @@ +-- This config example file is released into the Public Domain. -- Put all OSM data into a single table diff --git a/flex-config/with-schema.lua b/flex-config/with-schema.lua index 5c25bd755..085da784d 100644 --- a/flex-config/with-schema.lua +++ b/flex-config/with-schema.lua @@ -1,3 +1,4 @@ +-- This config example file is released into the Public Domain. -- This configuration for the flex output shows how to define a table in -- a PostgreSQL schema. diff --git a/src/db-check.cpp b/src/db-check.cpp index 8dc794fc5..b450f27e0 100644 --- a/src/db-check.cpp +++ b/src/db-check.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "db-check.hpp" #include "logging.hpp" #include "pgsql.hpp" diff --git a/src/db-check.hpp b/src/db-check.hpp index 63663415c..8a7a787ea 100644 --- a/src/db-check.hpp +++ b/src/db-check.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_DB_CHECK_HPP #define OSM2PGSQL_DB_CHECK_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "options.hpp" /** diff --git a/src/db-copy-mgr.hpp b/src/db-copy-mgr.hpp index 804b97a2f..0e12c375f 100644 --- a/src/db-copy-mgr.hpp +++ b/src/db-copy-mgr.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_DB_COPY_MGR_HPP #define OSM2PGSQL_DB_COPY_MGR_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include #include diff --git a/src/db-copy.cpp b/src/db-copy.cpp index 8f254684e..89ace6946 100644 --- a/src/db-copy.cpp +++ b/src/db-copy.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "db-copy.hpp" diff --git a/src/db-copy.hpp b/src/db-copy.hpp index dfae01ec1..f5cb8a46a 100644 --- a/src/db-copy.hpp +++ b/src/db-copy.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_DB_COPY_HPP #define OSM2PGSQL_DB_COPY_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include #include diff --git a/src/dependency-manager.cpp b/src/dependency-manager.cpp index 4eaf39e41..aaf748d33 100644 --- a/src/dependency-manager.cpp +++ b/src/dependency-manager.cpp @@ -1,3 +1,11 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ #include "dependency-manager.hpp" #include "middle.hpp" diff --git a/src/dependency-manager.hpp b/src/dependency-manager.hpp index 37666e416..71754ae30 100644 --- a/src/dependency-manager.hpp +++ b/src/dependency-manager.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_DEPENDENCY_MANAGER_HPP #define OSM2PGSQL_DEPENDENCY_MANAGER_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "osmtypes.hpp" #include diff --git a/src/domain-matcher.hpp b/src/domain-matcher.hpp index 34bb21552..58b93d837 100644 --- a/src/domain-matcher.hpp +++ b/src/domain-matcher.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_DOMAIN_MATCHER_HPP #define OSM2PGSQL_DOMAIN_MATCHER_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include diff --git a/src/expire-tiles.cpp b/src/expire-tiles.cpp index 86fb57ee4..1df95fa64 100644 --- a/src/expire-tiles.cpp +++ b/src/expire-tiles.cpp @@ -1,8 +1,15 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + /* * Dirty tile list generation * - * Steve Hill - * * Please refer to the OpenPisteMap expire_tiles.py script for a demonstration * of how to make use of the output: * http://subversion.nexusuk.org/projects/openpistemap/trunk/scripts/expire_tiles.py diff --git a/src/expire-tiles.hpp b/src/expire-tiles.hpp index 0e9a82628..7cd8b6a1b 100644 --- a/src/expire-tiles.hpp +++ b/src/expire-tiles.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_EXPIRE_TILES_HPP #define OSM2PGSQL_EXPIRE_TILES_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include diff --git a/src/flex-table-column.cpp b/src/flex-table-column.cpp index c2fa448bd..5fd58c32a 100644 --- a/src/flex-table-column.cpp +++ b/src/flex-table-column.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "flex-table-column.hpp" #include diff --git a/src/flex-table-column.hpp b/src/flex-table-column.hpp index bcf0748c5..28739636e 100644 --- a/src/flex-table-column.hpp +++ b/src/flex-table-column.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_FLEX_TABLE_COLUMN_HPP #define OSM2PGSQL_FLEX_TABLE_COLUMN_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "format.hpp" #include "reprojection.hpp" diff --git a/src/flex-table.cpp b/src/flex-table.cpp index 2160d815e..b0510723e 100644 --- a/src/flex-table.cpp +++ b/src/flex-table.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "flex-table.hpp" #include "format.hpp" #include "logging.hpp" diff --git a/src/flex-table.hpp b/src/flex-table.hpp index 9a64378bc..1b71118d1 100644 --- a/src/flex-table.hpp +++ b/src/flex-table.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_FLEX_TABLE_HPP #define OSM2PGSQL_FLEX_TABLE_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "db-copy-mgr.hpp" #include "flex-table-column.hpp" #include "osmium-builder.hpp" diff --git a/src/format.hpp b/src/format.hpp index 922b6ef84..4d3efa68c 100644 --- a/src/format.hpp +++ b/src/format.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_FORMAT_HPP #define OSM2PGSQL_FORMAT_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #define FMT_HEADER_ONLY #include diff --git a/src/gazetteer-style.cpp b/src/gazetteer-style.cpp index a6a008006..c615a1685 100644 --- a/src/gazetteer-style.cpp +++ b/src/gazetteer-style.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include #include diff --git a/src/gazetteer-style.hpp b/src/gazetteer-style.hpp index 81d242e65..b7bd947f2 100644 --- a/src/gazetteer-style.hpp +++ b/src/gazetteer-style.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_GAZETTEER_STYLE_HPP #define OSM2PGSQL_GAZETTEER_STYLE_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include #include diff --git a/src/geom-transform.cpp b/src/geom-transform.cpp index eda8f792e..04d1b5e4d 100644 --- a/src/geom-transform.cpp +++ b/src/geom-transform.cpp @@ -1,3 +1,11 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ #include "geom-transform.hpp" #include "logging.hpp" diff --git a/src/geom-transform.hpp b/src/geom-transform.hpp index bad82900a..34584cc94 100644 --- a/src/geom-transform.hpp +++ b/src/geom-transform.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_GEOM_TRANSFORM_HPP #define OSM2PGSQL_GEOM_TRANSFORM_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "flex-table-column.hpp" #include "osmium-builder.hpp" diff --git a/src/geometry-processor.cpp b/src/geometry-processor.cpp index 22324c411..a2debbb07 100644 --- a/src/geometry-processor.cpp +++ b/src/geometry-processor.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "format.hpp" #include "geometry-processor.hpp" #include "middle.hpp" diff --git a/src/geometry-processor.hpp b/src/geometry-processor.hpp index 020dac548..2952ef7ca 100644 --- a/src/geometry-processor.hpp +++ b/src/geometry-processor.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_GEOMETRY_PROCESSOR_HPP #define OSM2PGSQL_GEOMETRY_PROCESSOR_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include #include diff --git a/src/input.cpp b/src/input.cpp index 34eadbeeb..e7dd694c1 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -1,3 +1,11 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ #include #include diff --git a/src/input.hpp b/src/input.hpp index 694234b96..a8d7095de 100644 --- a/src/input.hpp +++ b/src/input.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_INPUT_HPP #define OSM2PGSQL_INPUT_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + /** * \file * diff --git a/src/logging.cpp b/src/logging.cpp index 9127abf95..30b554923 100644 --- a/src/logging.cpp +++ b/src/logging.cpp @@ -1,3 +1,11 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ #include "logging.hpp" diff --git a/src/logging.hpp b/src/logging.hpp index 6a5b93bf4..cf3c6580b 100644 --- a/src/logging.hpp +++ b/src/logging.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_LOGGING_HPP #define OSM2PGSQL_LOGGING_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "format.hpp" #include diff --git a/src/lua-init.hpp b/src/lua-init.hpp index ea7edb64d..790c63a81 100644 --- a/src/lua-init.hpp +++ b/src/lua-init.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_LUA_INIT_HPP #define OSM2PGSQL_LUA_INIT_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + char const *lua_init() noexcept; #endif // OSM2PGSQL_LUA_INIT_HPP diff --git a/src/lua-utils.cpp b/src/lua-utils.cpp index d166b0a9e..157388e87 100644 --- a/src/lua-utils.cpp +++ b/src/lua-utils.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "config.h" #include "lua-utils.hpp" #include "format.hpp" diff --git a/src/lua-utils.hpp b/src/lua-utils.hpp index bdbe857b6..1bbce7f58 100644 --- a/src/lua-utils.hpp +++ b/src/lua-utils.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_FLEX_LUA_HPP #define OSM2PGSQL_FLEX_LUA_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + // This file contains helper functions for talking to Lua. It is used from // the flex output backend. All functions start with "luaX_". diff --git a/src/middle-pgsql.cpp b/src/middle-pgsql.cpp index e438a9ada..9d76a6319 100644 --- a/src/middle-pgsql.cpp +++ b/src/middle-pgsql.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + /* Implements the mid-layer processing for osm2pgsql * using several PostgreSQL tables * diff --git a/src/middle-pgsql.hpp b/src/middle-pgsql.hpp index 1d3162025..b5096524c 100644 --- a/src/middle-pgsql.hpp +++ b/src/middle-pgsql.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_MIDDLE_PGSQL_HPP #define OSM2PGSQL_MIDDLE_PGSQL_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + /* Implements the mid-layer processing for osm2pgsql * using several PostgreSQL tables * diff --git a/src/middle-ram.cpp b/src/middle-ram.cpp index fda0d8dde..fffcb79d3 100644 --- a/src/middle-ram.cpp +++ b/src/middle-ram.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + /* Implements the mid-layer processing for osm2pgsql * using several arrays in RAM. This is fastest if you * have sufficient RAM+Swap. diff --git a/src/middle-ram.hpp b/src/middle-ram.hpp index 62dcdbda9..7c3e3914d 100644 --- a/src/middle-ram.hpp +++ b/src/middle-ram.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_MIDDLE_RAM_HPP #define OSM2PGSQL_MIDDLE_RAM_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + /* Implements the mid-layer processing for osm2pgsql * using data structures in RAM. * diff --git a/src/middle.cpp b/src/middle.cpp index ca8bc8bea..bc9f9633d 100644 --- a/src/middle.cpp +++ b/src/middle.cpp @@ -1,3 +1,11 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ #include "middle-pgsql.hpp" #include "middle-ram.hpp" diff --git a/src/middle.hpp b/src/middle.hpp index eddc09604..d16e2296b 100644 --- a/src/middle.hpp +++ b/src/middle.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_MIDDLE_HPP #define OSM2PGSQL_MIDDLE_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include diff --git a/src/node-persistent-cache.cpp b/src/node-persistent-cache.cpp index 5ad00c9f0..0c9a8b98d 100644 --- a/src/node-persistent-cache.cpp +++ b/src/node-persistent-cache.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #define _LARGEFILE64_SOURCE /* See feature_test_macros(7) */ #include "logging.hpp" diff --git a/src/node-persistent-cache.hpp b/src/node-persistent-cache.hpp index 73fdc3fb1..b65d3f791 100644 --- a/src/node-persistent-cache.hpp +++ b/src/node-persistent-cache.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_NODE_PERSISTENT_CACHE_HPP #define OSM2PGSQL_NODE_PERSISTENT_CACHE_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include diff --git a/src/node-ram-cache.cpp b/src/node-ram-cache.cpp index 5fc30fa08..698f6ede7 100644 --- a/src/node-ram-cache.cpp +++ b/src/node-ram-cache.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + /* Implements a node cache in ram, for the middle layers to use. * It uses two different storage methods, one optimized for dense * nodes (with respect to id) and the other for sparse representations. diff --git a/src/node-ram-cache.hpp b/src/node-ram-cache.hpp index f0337105b..8e4767895 100644 --- a/src/node-ram-cache.hpp +++ b/src/node-ram-cache.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_NODE_RAM_CACHE_HPP #define OSM2PGSQL_NODE_RAM_CACHE_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + /* Implements the node cache in ram. * * There are two different storage strategies, either optimised diff --git a/src/options.cpp b/src/options.cpp index 096e96720..eb220db27 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "config.h" #include "format.hpp" #include "logging.hpp" diff --git a/src/options.hpp b/src/options.hpp index 1eae721b9..de8d1baca 100644 --- a/src/options.hpp +++ b/src/options.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_OPTIONS_HPP #define OSM2PGSQL_OPTIONS_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "node-ram-cache.hpp" #include "reprojection.hpp" diff --git a/src/osm2pgsql.cpp b/src/osm2pgsql.cpp index 62e9888ee..806c2e280 100644 --- a/src/osm2pgsql.cpp +++ b/src/osm2pgsql.cpp @@ -1,27 +1,11 @@ -/* -#----------------------------------------------------------------------------- -# osm2pgsql - converts planet.osm file into PostgreSQL -# compatible output suitable to be rendered by mapnik -# Use: osm2pgsql planet.osm.bz2 -#----------------------------------------------------------------------------- -# Original Python implementation by Artem Pavlenko -# Re-implementation by Jon Burgess, Copyright 2006 -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -#----------------------------------------------------------------------------- -*/ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ #include "db-check.hpp" #include "format.hpp" diff --git a/src/osmdata.cpp b/src/osmdata.cpp index 3ecc71c39..1f1830f7d 100644 --- a/src/osmdata.cpp +++ b/src/osmdata.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include #include diff --git a/src/osmdata.hpp b/src/osmdata.hpp index 6fb7bc855..ef45c337a 100644 --- a/src/osmdata.hpp +++ b/src/osmdata.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_OSMDATA_HPP #define OSM2PGSQL_OSMDATA_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + /** * \file * diff --git a/src/osmium-builder.cpp b/src/osmium-builder.cpp index 50c944b6b..e431e5489 100644 --- a/src/osmium-builder.cpp +++ b/src/osmium-builder.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include #include diff --git a/src/osmium-builder.hpp b/src/osmium-builder.hpp index 75bfac29f..ddda8ea03 100644 --- a/src/osmium-builder.hpp +++ b/src/osmium-builder.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_OSMIUM_BUILDER_HPP #define OSM2PGSQL_OSMIUM_BUILDER_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include #include diff --git a/src/osmtypes.hpp b/src/osmtypes.hpp index 7ad9b244d..29d907c55 100644 --- a/src/osmtypes.hpp +++ b/src/osmtypes.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_OSMTYPES_HPP #define OSM2PGSQL_OSMTYPES_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + /** * \file * diff --git a/src/output-flex.cpp b/src/output-flex.cpp index 90fbdfbfb..088433d7f 100644 --- a/src/output-flex.cpp +++ b/src/output-flex.cpp @@ -1,3 +1,11 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ #include "expire-tiles.hpp" #include "geom-transform.hpp" diff --git a/src/output-flex.hpp b/src/output-flex.hpp index 2929d7f6a..6598c4c70 100644 --- a/src/output-flex.hpp +++ b/src/output-flex.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_OUTPUT_FLEX_HPP #define OSM2PGSQL_OUTPUT_FLEX_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "db-copy.hpp" #include "expire-tiles.hpp" #include "flex-table-column.hpp" diff --git a/src/output-gazetteer.cpp b/src/output-gazetteer.cpp index a708866a8..ad26b9e39 100644 --- a/src/output-gazetteer.cpp +++ b/src/output-gazetteer.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "format.hpp" #include "middle.hpp" #include "options.hpp" diff --git a/src/output-gazetteer.hpp b/src/output-gazetteer.hpp index 90cc14c57..92028ca00 100644 --- a/src/output-gazetteer.hpp +++ b/src/output-gazetteer.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_OUTPUT_GAZETTEER_HPP #define OSM2PGSQL_OUTPUT_GAZETTEER_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include diff --git a/src/output-multi.cpp b/src/output-multi.cpp index 653f5ab64..263ba7d30 100644 --- a/src/output-multi.cpp +++ b/src/output-multi.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "output-multi.hpp" #include "expire-tiles.hpp" #include "middle.hpp" diff --git a/src/output-multi.hpp b/src/output-multi.hpp index c812f43aa..c4a8ee1c5 100644 --- a/src/output-multi.hpp +++ b/src/output-multi.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_OUTPUT_MULTI_HPP #define OSM2PGSQL_OUTPUT_MULTI_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + /* One implementation of output-layer processing for osm2pgsql. * Manages a single table, transforming geometry using a * variety of algorithms plus tag transformation for the diff --git a/src/output-null.cpp b/src/output-null.cpp index 0c30737f1..b9d310ba5 100644 --- a/src/output-null.cpp +++ b/src/output-null.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "output-null.hpp" #include "osmtypes.hpp" diff --git a/src/output-null.hpp b/src/output-null.hpp index 916e82aa0..f968db734 100644 --- a/src/output-null.hpp +++ b/src/output-null.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_OUTPUT_NULL_HPP #define OSM2PGSQL_OUTPUT_NULL_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + /* Implements dummy output-layer processing for testing. */ diff --git a/src/output-pgsql.cpp b/src/output-pgsql.cpp index d5e45c1d0..f01183dc6 100644 --- a/src/output-pgsql.cpp +++ b/src/output-pgsql.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + /* Implements the mid-layer processing for osm2pgsql * using several PostgreSQL tables * diff --git a/src/output-pgsql.hpp b/src/output-pgsql.hpp index 888ab118d..5f36e2893 100644 --- a/src/output-pgsql.hpp +++ b/src/output-pgsql.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_OUTPUT_PGSQL_HPP #define OSM2PGSQL_OUTPUT_PGSQL_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + /* Implements the output-layer processing for osm2pgsql * storing the data in several PostgreSQL tables * with the final PostGIS geometries for each entity diff --git a/src/output.cpp b/src/output.cpp index ebd5f7325..966240194 100644 --- a/src/output.cpp +++ b/src/output.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "config.h" #include "db-copy.hpp" diff --git a/src/output.hpp b/src/output.hpp index b0dc082b2..f8dcd7b20 100644 --- a/src/output.hpp +++ b/src/output.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_OUTPUT_HPP #define OSM2PGSQL_OUTPUT_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + /* Common output layer interface */ /* Each output layer must provide methods for diff --git a/src/pgsql-helper.cpp b/src/pgsql-helper.cpp index 1bd434cf2..1f4803353 100644 --- a/src/pgsql-helper.cpp +++ b/src/pgsql-helper.cpp @@ -1,3 +1,11 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ #include "format.hpp" #include "pgsql-helper.hpp" diff --git a/src/pgsql-helper.hpp b/src/pgsql-helper.hpp index 78147a0e5..e3c1ba81d 100644 --- a/src/pgsql-helper.hpp +++ b/src/pgsql-helper.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_PGSQL_HELPER_HPP #define OSM2PGSQL_PGSQL_HELPER_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "pgsql.hpp" diff --git a/src/pgsql.cpp b/src/pgsql.cpp index 1d234fe5a..e6d8845e5 100644 --- a/src/pgsql.cpp +++ b/src/pgsql.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + /* Helper functions for the postgresql connections */ #include "format.hpp" #include "logging.hpp" diff --git a/src/pgsql.hpp b/src/pgsql.hpp index b0e7e6811..6eae450fb 100644 --- a/src/pgsql.hpp +++ b/src/pgsql.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_PGSQL_HPP #define OSM2PGSQL_PGSQL_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + /** * \file * diff --git a/src/processor-line.cpp b/src/processor-line.cpp index f9334a47e..dd71704fc 100644 --- a/src/processor-line.cpp +++ b/src/processor-line.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "processor-line.hpp" processor_line::processor_line(std::shared_ptr const &proj) diff --git a/src/processor-line.hpp b/src/processor-line.hpp index 20e6c47ff..08bd03e99 100644 --- a/src/processor-line.hpp +++ b/src/processor-line.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_PROCESSOR_LINE_HPP #define OSM2PGSQL_PROCESSOR_LINE_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "geometry-processor.hpp" class processor_line : public geometry_processor diff --git a/src/processor-point.cpp b/src/processor-point.cpp index 83b64ac87..856ab40e4 100644 --- a/src/processor-point.cpp +++ b/src/processor-point.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "processor-point.hpp" diff --git a/src/processor-point.hpp b/src/processor-point.hpp index 9debb4d27..414849b45 100644 --- a/src/processor-point.hpp +++ b/src/processor-point.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_PROCESSOR_POINT_HPP #define OSM2PGSQL_PROCESSOR_POINT_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "geometry-processor.hpp" class processor_point : public geometry_processor diff --git a/src/processor-polygon.cpp b/src/processor-polygon.cpp index a6eb5d231..8b9eebe71 100644 --- a/src/processor-polygon.cpp +++ b/src/processor-polygon.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "processor-polygon.hpp" processor_polygon::processor_polygon(std::shared_ptr const &proj, diff --git a/src/processor-polygon.hpp b/src/processor-polygon.hpp index 02a1b050e..0469ac026 100644 --- a/src/processor-polygon.hpp +++ b/src/processor-polygon.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_PROCESSOR_POLYGON_HPP #define OSM2PGSQL_PROCESSOR_POLYGON_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "geometry-processor.hpp" class processor_polygon : public geometry_processor diff --git a/src/progress-display.cpp b/src/progress-display.cpp index 9923953cd..8b31d0053 100644 --- a/src/progress-display.cpp +++ b/src/progress-display.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "format.hpp" #include "logging.hpp" #include "progress-display.hpp" diff --git a/src/progress-display.hpp b/src/progress-display.hpp index 7ae98de3b..d8ce5e398 100644 --- a/src/progress-display.hpp +++ b/src/progress-display.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_PROGRESS_DISPLAY_HPP #define OSM2PGSQL_PROGRESS_DISPLAY_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + /** * \file * diff --git a/src/reprojection-generic-none.cpp b/src/reprojection-generic-none.cpp index ddc01b664..062d0cc83 100644 --- a/src/reprojection-generic-none.cpp +++ b/src/reprojection-generic-none.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "reprojection.hpp" diff --git a/src/reprojection-generic-proj4.cpp b/src/reprojection-generic-proj4.cpp index df8106897..768ddf420 100644 --- a/src/reprojection-generic-proj4.cpp +++ b/src/reprojection-generic-proj4.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "format.hpp" #include "reprojection.hpp" diff --git a/src/reprojection.cpp b/src/reprojection.cpp index a92f9f59d..e522a58bd 100644 --- a/src/reprojection.cpp +++ b/src/reprojection.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "reprojection.hpp" diff --git a/src/sprompt.hpp b/src/sprompt.hpp index 22d89d3b4..bcc882ed3 100644 --- a/src/sprompt.hpp +++ b/src/sprompt.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_SPROMPT_HPP #define OSM2PGSQL_SPROMPT_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + char *simple_prompt(const char *prompt, int maxlen, int echo); #endif // OSM2PGSQL_SPROMPT_HPP diff --git a/src/table.cpp b/src/table.cpp index add54b129..0f316caf3 100644 --- a/src/table.cpp +++ b/src/table.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include #include diff --git a/src/table.hpp b/src/table.hpp index 10cb89f2e..12789082d 100644 --- a/src/table.hpp +++ b/src/table.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_TABLE_HPP #define OSM2PGSQL_TABLE_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "db-copy-mgr.hpp" #include "osmtypes.hpp" #include "pgsql.hpp" diff --git a/src/taginfo-impl.hpp b/src/taginfo-impl.hpp index d9f8624e2..0cf52d129 100644 --- a/src/taginfo-impl.hpp +++ b/src/taginfo-impl.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_TAGINFO_IMPL_HPP #define OSM2PGSQL_TAGINFO_IMPL_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "osmtypes.hpp" #include "taginfo.hpp" diff --git a/src/taginfo.cpp b/src/taginfo.cpp index 36b956e86..e7d710f57 100644 --- a/src/taginfo.cpp +++ b/src/taginfo.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "format.hpp" #include "logging.hpp" #include "taginfo-impl.hpp" diff --git a/src/taginfo.hpp b/src/taginfo.hpp index 8a77d4e47..f07f9b266 100644 --- a/src/taginfo.hpp +++ b/src/taginfo.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_TAGINFO_HPP #define OSM2PGSQL_TAGINFO_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include diff --git a/src/tagtransform-c.cpp b/src/tagtransform-c.cpp index 971a1947e..478e2b701 100644 --- a/src/tagtransform-c.cpp +++ b/src/tagtransform-c.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include #include diff --git a/src/tagtransform-c.hpp b/src/tagtransform-c.hpp index a32f0827b..20048b7a2 100644 --- a/src/tagtransform-c.hpp +++ b/src/tagtransform-c.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_TAGTRANSFORM_C_HPP #define OSM2PGSQL_TAGTRANSFORM_C_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "taginfo-impl.hpp" #include "tagtransform.hpp" diff --git a/src/tagtransform-lua.cpp b/src/tagtransform-lua.cpp index 339b87bee..e9cd16a42 100644 --- a/src/tagtransform-lua.cpp +++ b/src/tagtransform-lua.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + extern "C" { #include diff --git a/src/tagtransform-lua.hpp b/src/tagtransform-lua.hpp index 8f6723890..af36cfaf2 100644 --- a/src/tagtransform-lua.hpp +++ b/src/tagtransform-lua.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_TAGTRANSFORM_LUA_HPP #define OSM2PGSQL_TAGTRANSFORM_LUA_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "tagtransform.hpp" diff --git a/src/tagtransform.cpp b/src/tagtransform.cpp index d9033e721..a49f2b1f6 100644 --- a/src/tagtransform.cpp +++ b/src/tagtransform.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "tagtransform.hpp" #include "config.h" #include "logging.hpp" diff --git a/src/tagtransform.hpp b/src/tagtransform.hpp index 07096e010..b37c2a076 100644 --- a/src/tagtransform.hpp +++ b/src/tagtransform.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_TAGTRANSFORM_HPP #define OSM2PGSQL_TAGTRANSFORM_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include diff --git a/src/thread-pool.hpp b/src/thread-pool.hpp index fcdd1e531..0b123aebf 100644 --- a/src/thread-pool.hpp +++ b/src/thread-pool.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_THREAD_POOL_HPP #define OSM2PGSQL_THREAD_POOL_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + /** * \file * diff --git a/src/util.cpp b/src/util.cpp index f04e0d7fb..dcadcfcad 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1,3 +1,11 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ #include "util.hpp" diff --git a/src/util.hpp b/src/util.hpp index a858fd423..0f5e548c5 100644 --- a/src/util.hpp +++ b/src/util.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_UTIL_HPP #define OSM2PGSQL_UTIL_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "format.hpp" #include "osmtypes.hpp" diff --git a/src/version.cpp.in b/src/version.cpp.in index bb59e7963..83334eef0 100644 --- a/src/version.cpp.in +++ b/src/version.cpp.in @@ -1,3 +1,11 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ char const *get_osm2pgsql_version() noexcept { diff --git a/src/version.hpp b/src/version.hpp index 8b5947421..84eeea989 100644 --- a/src/version.hpp +++ b/src/version.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_VERSION_HPP #define OSM2PGSQL_VERSION_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + char const *get_osm2pgsql_version() noexcept; char const *get_osm2pgsql_short_version() noexcept; char const *get_minimum_postgresql_server_version() noexcept; diff --git a/src/wildcmp.cpp b/src/wildcmp.cpp index 39a9339cf..d899c16f6 100644 --- a/src/wildcmp.cpp +++ b/src/wildcmp.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + /* Wildcard matching. */ diff --git a/src/wildcmp.hpp b/src/wildcmp.hpp index b5ff73854..258620373 100644 --- a/src/wildcmp.hpp +++ b/src/wildcmp.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_WILDCMP_HPP #define OSM2PGSQL_WILDCMP_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + bool wildMatch(char const *wildCard, char const *string); #endif // OSM2PGSQL_WILDCMP_HPP diff --git a/src/wkb.hpp b/src/wkb.hpp index 3f40ba7c5..40007f7ba 100644 --- a/src/wkb.hpp +++ b/src/wkb.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_WKB_HPP #define OSM2PGSQL_WKB_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include #include diff --git a/tests/catch-main.cpp b/tests/catch-main.cpp index b3143fbb1..1c44ebdc3 100644 --- a/tests/catch-main.cpp +++ b/tests/catch-main.cpp @@ -1,2 +1,11 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #define CATCH_CONFIG_MAIN #include diff --git a/tests/common-cleanup.hpp b/tests/common-cleanup.hpp index c17aa7ac9..d291cd145 100644 --- a/tests/common-cleanup.hpp +++ b/tests/common-cleanup.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_TESTS_COMMON_CLEANUP_HPP #define OSM2PGSQL_TESTS_COMMON_CLEANUP_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "format.hpp" #include diff --git a/tests/common-import.hpp b/tests/common-import.hpp index 38745baae..4d96e4586 100644 --- a/tests/common-import.hpp +++ b/tests/common-import.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_TEST_COMMON_IMPORT_HPP #define OSM2PGSQL_TEST_COMMON_IMPORT_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include #include diff --git a/tests/common-options.hpp b/tests/common-options.hpp index 1e812e7db..82e8742c7 100644 --- a/tests/common-options.hpp +++ b/tests/common-options.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_TESTS_COMMON_OPTIONS_HPP #define OSM2PGSQL_TESTS_COMMON_OPTIONS_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include "options.hpp" #include "common-pg.hpp" diff --git a/tests/common-pg.hpp b/tests/common-pg.hpp index 8080f3f79..402b2a462 100644 --- a/tests/common-pg.hpp +++ b/tests/common-pg.hpp @@ -1,6 +1,15 @@ #ifndef OSM2PGSQL_TEST_COMMON_PG_HPP #define OSM2PGSQL_TEST_COMMON_PG_HPP +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include #include diff --git a/tests/test-check-input.cpp b/tests/test-check-input.cpp index 9689e8a08..fa1a059ea 100644 --- a/tests/test-check-input.cpp +++ b/tests/test-check-input.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "input.hpp" diff --git a/tests/test-db-copy-mgr.cpp b/tests/test-db-copy-mgr.cpp index b3e84d960..54c65ce60 100644 --- a/tests/test-db-copy-mgr.cpp +++ b/tests/test-db-copy-mgr.cpp @@ -1,9 +1,18 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + +#include + #include #include #include -#include - #include "common-pg.hpp" #include "db-copy-mgr.hpp" diff --git a/tests/test-db-copy-thread.cpp b/tests/test-db-copy-thread.cpp index 30806bab5..65fd4eb62 100644 --- a/tests/test-db-copy-thread.cpp +++ b/tests/test-db-copy-thread.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-pg.hpp" diff --git a/tests/test-domain-matcher.cpp b/tests/test-domain-matcher.cpp index 2fb32a89a..4e39d13b7 100644 --- a/tests/test-domain-matcher.cpp +++ b/tests/test-domain-matcher.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "format.hpp" diff --git a/tests/test-expire-tiles.cpp b/tests/test-expire-tiles.cpp index 35bff7426..3dc569d36 100644 --- a/tests/test-expire-tiles.cpp +++ b/tests/test-expire-tiles.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include diff --git a/tests/test-middle.cpp b/tests/test-middle.cpp index 9c73721d0..d7e8dc54a 100644 --- a/tests/test-middle.cpp +++ b/tests/test-middle.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include diff --git a/tests/test-options-database.cpp b/tests/test-options-database.cpp index 3205c7e13..71b004742 100644 --- a/tests/test-options-database.cpp +++ b/tests/test-options-database.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "options.hpp" diff --git a/tests/test-options-parse.cpp b/tests/test-options-parse.cpp index c311ce9a4..6fc861b00 100644 --- a/tests/test-options-parse.cpp +++ b/tests/test-options-parse.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include diff --git a/tests/test-options-projection.cpp b/tests/test-options-projection.cpp index 9100c9394..ea6f87cfa 100644 --- a/tests/test-options-projection.cpp +++ b/tests/test-options-projection.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include diff --git a/tests/test-output-flex-area.cpp b/tests/test-output-flex-area.cpp index ecd1300b0..c5b299717 100644 --- a/tests/test-output-flex-area.cpp +++ b/tests/test-output-flex-area.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-attr.cpp b/tests/test-output-flex-attr.cpp index 07510ce67..47c178a2c 100644 --- a/tests/test-output-flex-attr.cpp +++ b/tests/test-output-flex-attr.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-bbox.cpp b/tests/test-output-flex-bbox.cpp index 3b4f39a8c..e0413f2c3 100644 --- a/tests/test-output-flex-bbox.cpp +++ b/tests/test-output-flex-bbox.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-example-configs.cpp b/tests/test-output-flex-example-configs.cpp index f70e2a95b..08972fe52 100644 --- a/tests/test-output-flex-example-configs.cpp +++ b/tests/test-output-flex-example-configs.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-invalid-geom.cpp b/tests/test-output-flex-invalid-geom.cpp index 76ee934fb..1952b4bab 100644 --- a/tests/test-output-flex-invalid-geom.cpp +++ b/tests/test-output-flex-invalid-geom.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-line.cpp b/tests/test-output-flex-line.cpp index 1a5411ec6..d7be1ce7a 100644 --- a/tests/test-output-flex-line.cpp +++ b/tests/test-output-flex-line.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-lua-fail.cpp b/tests/test-output-flex-lua-fail.cpp index cc2b1ad0d..922d3be4d 100644 --- a/tests/test-output-flex-lua-fail.cpp +++ b/tests/test-output-flex-lua-fail.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-multi-input.cpp b/tests/test-output-flex-multi-input.cpp index de7146f3e..1b3e94e6c 100644 --- a/tests/test-output-flex-multi-input.cpp +++ b/tests/test-output-flex-multi-input.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-multigeom.cpp b/tests/test-output-flex-multigeom.cpp index cef645e8a..2916203e4 100644 --- a/tests/test-output-flex-multigeom.cpp +++ b/tests/test-output-flex-multigeom.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-nodes.cpp b/tests/test-output-flex-nodes.cpp index 4021f2ff1..498cdbf26 100644 --- a/tests/test-output-flex-nodes.cpp +++ b/tests/test-output-flex-nodes.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-nogeom.cpp b/tests/test-output-flex-nogeom.cpp index 296e7258d..382ca3f19 100644 --- a/tests/test-output-flex-nogeom.cpp +++ b/tests/test-output-flex-nogeom.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-relation-changes.cpp b/tests/test-output-flex-relation-changes.cpp index 58802157a..51b586dcf 100644 --- a/tests/test-output-flex-relation-changes.cpp +++ b/tests/test-output-flex-relation-changes.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-relation-combinations.cpp b/tests/test-output-flex-relation-combinations.cpp index a416ecca1..c2a90fe4b 100644 --- a/tests/test-output-flex-relation-combinations.cpp +++ b/tests/test-output-flex-relation-combinations.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-relations.cpp b/tests/test-output-flex-relations.cpp index 95d405546..4148996b5 100644 --- a/tests/test-output-flex-relations.cpp +++ b/tests/test-output-flex-relations.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-schema.cpp b/tests/test-output-flex-schema.cpp index 247e2162b..35b66de15 100644 --- a/tests/test-output-flex-schema.cpp +++ b/tests/test-output-flex-schema.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-stage2.cpp b/tests/test-output-flex-stage2.cpp index 888feb537..97e443176 100644 --- a/tests/test-output-flex-stage2.cpp +++ b/tests/test-output-flex-stage2.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-tablespace.cpp b/tests/test-output-flex-tablespace.cpp index 7b7aee432..426b7f576 100644 --- a/tests/test-output-flex-tablespace.cpp +++ b/tests/test-output-flex-tablespace.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-types.cpp b/tests/test-output-flex-types.cpp index 6f9076ac7..417f2e01a 100644 --- a/tests/test-output-flex-types.cpp +++ b/tests/test-output-flex-types.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-uni.cpp b/tests/test-output-flex-uni.cpp index 7fa8f58d6..1fa9592a9 100644 --- a/tests/test-output-flex-uni.cpp +++ b/tests/test-output-flex-uni.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-update.cpp b/tests/test-output-flex-update.cpp index 7f68acc87..dba363d27 100644 --- a/tests/test-output-flex-update.cpp +++ b/tests/test-output-flex-update.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-validgeom.cpp b/tests/test-output-flex-validgeom.cpp index fdeb5f6ee..f6cf05b30 100644 --- a/tests/test-output-flex-validgeom.cpp +++ b/tests/test-output-flex-validgeom.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-way-add.cpp b/tests/test-output-flex-way-add.cpp index af815a72d..38ef840c0 100644 --- a/tests/test-output-flex-way-add.cpp +++ b/tests/test-output-flex-way-add.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-way-change.cpp b/tests/test-output-flex-way-change.cpp index d7b52dd80..29fc4be61 100644 --- a/tests/test-output-flex-way-change.cpp +++ b/tests/test-output-flex-way-change.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-way-del.cpp b/tests/test-output-flex-way-del.cpp index d384baff5..58a6f0a09 100644 --- a/tests/test-output-flex-way-del.cpp +++ b/tests/test-output-flex-way-del.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-way-relation-add.cpp b/tests/test-output-flex-way-relation-add.cpp index d9db69e72..273cffb97 100644 --- a/tests/test-output-flex-way-relation-add.cpp +++ b/tests/test-output-flex-way-relation-add.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex-way-relation-del.cpp b/tests/test-output-flex-way-relation-del.cpp index 51f6010a0..b226c22a8 100644 --- a/tests/test-output-flex-way-relation-del.cpp +++ b/tests/test-output-flex-way-relation-del.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-flex.cpp b/tests/test-output-flex.cpp index 8452a6512..a04e9a9b2 100644 --- a/tests/test-output-flex.cpp +++ b/tests/test-output-flex.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-gazetteer.cpp b/tests/test-output-gazetteer.cpp index 20ae69d7a..3435bd9a8 100644 --- a/tests/test-output-gazetteer.cpp +++ b/tests/test-output-gazetteer.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include diff --git a/tests/test-output-multi-line-storage.cpp b/tests/test-output-multi-line-storage.cpp index 9e338aa69..cd7c34aad 100644 --- a/tests/test-output-multi-line-storage.cpp +++ b/tests/test-output-multi-line-storage.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-multi-line.cpp b/tests/test-output-multi-line.cpp index ad23594f7..e7a119cd5 100644 --- a/tests/test-output-multi-line.cpp +++ b/tests/test-output-multi-line.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "geometry-processor.hpp" diff --git a/tests/test-output-multi-point-multi-table.cpp b/tests/test-output-multi-point-multi-table.cpp index 42039c033..d9ee8b2a2 100644 --- a/tests/test-output-multi-point-multi-table.cpp +++ b/tests/test-output-multi-point-multi-table.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "geometry-processor.hpp" diff --git a/tests/test-output-multi-point.cpp b/tests/test-output-multi-point.cpp index 103c45a95..f208d58f2 100644 --- a/tests/test-output-multi-point.cpp +++ b/tests/test-output-multi-point.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "geometry-processor.hpp" diff --git a/tests/test-output-multi-poly-trivial.cpp b/tests/test-output-multi-poly-trivial.cpp index 66af1190a..b8915c5c9 100644 --- a/tests/test-output-multi-poly-trivial.cpp +++ b/tests/test-output-multi-poly-trivial.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-multi-polygon.cpp b/tests/test-output-multi-polygon.cpp index 467105b5a..4aab173c7 100644 --- a/tests/test-output-multi-polygon.cpp +++ b/tests/test-output-multi-polygon.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "geometry-processor.hpp" diff --git a/tests/test-output-multi-tags.cpp b/tests/test-output-multi-tags.cpp index 343c65907..4e87ef9e7 100644 --- a/tests/test-output-multi-tags.cpp +++ b/tests/test-output-multi-tags.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-pgsql-area.cpp b/tests/test-output-pgsql-area.cpp index b0fd5e832..96f4b2502 100644 --- a/tests/test-output-pgsql-area.cpp +++ b/tests/test-output-pgsql-area.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-pgsql-hstore-match-only.cpp b/tests/test-output-pgsql-hstore-match-only.cpp index 3db7192e2..63a0c9560 100644 --- a/tests/test-output-pgsql-hstore-match-only.cpp +++ b/tests/test-output-pgsql-hstore-match-only.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-pgsql-int4.cpp b/tests/test-output-pgsql-int4.cpp index bb2ca38c6..6476ffb73 100644 --- a/tests/test-output-pgsql-int4.cpp +++ b/tests/test-output-pgsql-int4.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-pgsql-schema.cpp b/tests/test-output-pgsql-schema.cpp index fc310364c..b1a4b9a11 100644 --- a/tests/test-output-pgsql-schema.cpp +++ b/tests/test-output-pgsql-schema.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-pgsql-tablespace.cpp b/tests/test-output-pgsql-tablespace.cpp index 4eb2b44da..e183138c8 100644 --- a/tests/test-output-pgsql-tablespace.cpp +++ b/tests/test-output-pgsql-tablespace.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-pgsql-validgeom.cpp b/tests/test-output-pgsql-validgeom.cpp index 59baa1629..0b5628db7 100644 --- a/tests/test-output-pgsql-validgeom.cpp +++ b/tests/test-output-pgsql-validgeom.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-pgsql-z_order.cpp b/tests/test-output-pgsql-z_order.cpp index e6978a32c..b790d848b 100644 --- a/tests/test-output-pgsql-z_order.cpp +++ b/tests/test-output-pgsql-z_order.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-output-pgsql.cpp b/tests/test-output-pgsql.cpp index 2fc712d3f..ab188817c 100644 --- a/tests/test-output-pgsql.cpp +++ b/tests/test-output-pgsql.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-parse-osmium.cpp b/tests/test-parse-osmium.cpp index 71365dd1f..8ec47bf58 100644 --- a/tests/test-parse-osmium.cpp +++ b/tests/test-parse-osmium.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "middle.hpp" diff --git a/tests/test-persistent-cache.cpp b/tests/test-persistent-cache.cpp index b397bdc78..f40c294c5 100644 --- a/tests/test-persistent-cache.cpp +++ b/tests/test-persistent-cache.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "node-persistent-cache.hpp" diff --git a/tests/test-pgsql.cpp b/tests/test-pgsql.cpp index 0ada0d323..1abc00bc2 100644 --- a/tests/test-pgsql.cpp +++ b/tests/test-pgsql.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "common-import.hpp" diff --git a/tests/test-ram-cache.cpp b/tests/test-ram-cache.cpp index fae245bf5..e9faf735f 100644 --- a/tests/test-ram-cache.cpp +++ b/tests/test-ram-cache.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include diff --git a/tests/test-reprojection.cpp b/tests/test-reprojection.cpp index 76cffe0cc..579b9a493 100644 --- a/tests/test-reprojection.cpp +++ b/tests/test-reprojection.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "reprojection.hpp" diff --git a/tests/test-taginfo.cpp b/tests/test-taginfo.cpp index 87538d6bc..b4bec2b42 100644 --- a/tests/test-taginfo.cpp +++ b/tests/test-taginfo.cpp @@ -1,3 +1,11 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ #include diff --git a/tests/test-util.cpp b/tests/test-util.cpp index b00d343c6..711fce081 100644 --- a/tests/test-util.cpp +++ b/tests/test-util.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "util.hpp" diff --git a/tests/test-wildcard-match.cpp b/tests/test-wildcard-match.cpp index 13f3cbf22..2f243a06c 100644 --- a/tests/test-wildcard-match.cpp +++ b/tests/test-wildcard-match.cpp @@ -1,3 +1,12 @@ +/** + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of osm2pgsql (https://osm2pgsql.org/). + * + * Copyright (C) 2006-2020 by the osm2pgsql developer community. + * For a full list of authors see the git log. + */ + #include #include "wildcmp.hpp"