This adds a copyright notice to all C++ files and the README clarifying
the license. (There is no change of the license.) This also removes a
few names explicitly mentioned as copyright holders, instead refering to
the git log which has a full list of all osm2pgsql developers. (There is
also still the AUTHORS file which names the most important developers.)
The only exception is the sprompt.cpp file which was taken from
PostgreSQL and keeps its original license information (and, of course,
the files in contrib).
There was already support in progress for schemas in the flex backend,
which is likely to replace the pgsql backend at some point. Until then,
it's useful to be able to import data directly into a schema.
This is the original PR from Matt Amos with some changes from me: There
are two different options now for setting the schema for the middle and
the pgsql output, respectively. There are some docs and tests now.
This fixes pretty much exclusively unsued-parameter
warnings. Removes some function parameters which have
fallen out of use and also the permutating parameter
test. The latter did not really do what it promised
and was pretty much beyond repair.
This commit includes some larger structural changes:
- parse_t and parse_delegate_t removed, osm2pgsql now directly
creates a parse_osmium_t object
- bbox class replaced with osmium::Box
- code duplication in parse_stats_t cleaned up
- add generic parse() function for tests, also to avoid code duplication