All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
2.4.0 - 2022-12-22
--format
option toosmcoastline_filter
to set output file format.
- Now needs at least C++14 and CMake 3.10.
- Various small code cleanups.
- Do not create empty polygons in water output.
2.3.1 - 2021-09-02
- GPKG output support
- More tests, specifically for EPSG:3857.
- More error checks.
- Some shell script cleanups.
- Fix axis order problem with GDAL 3: In GDAL 3 the axis order for WGS84 changed from (lon, lat) to (lat, lon)! So we need to use the magic "CRS84" instead which does the same thing in GDAL 2 and GDAL 3. This is an important fix, without it osmcoastline doesn't work with GDAL 3 when using any output SRS other than WGS84.
2.3.0 - 2021-01-08
- Add
-g
,--gdal-driver=DRIVER
option toosmcoastline
. This allows writing results to a shapefile or other format, not only to sqlite files.
- Various small fixes and cleanups.
- Now depends on libosmium 2.16.0 or greater. This allows compiling with
support for PBF lz4 compression which is enabled by default if the
library is found. Disable by setting CMake option
WITH_LZ4
toOFF
.
- Segfault in osmcoastline with newer GDAL versions (#39)
2.2.4 - 2019-02-27
- Also look for newer clang-tidy versions in CMake config.
- Put Antarctic closure to exactly +/- 180 degree longitude.
- Add try/catch around most of main so we don't end with exception.
2.2.3 - 2019-02-06
- Compile with
NDEBUG
inRelWithDebInfo
mode. - Better error reporting on some exceptions.
2.2.2 - 2019-02-03
- Make
--output-lines
work even if--output-polygons
is set tonone
.
2.2.1 - 2018-12-07
- We have now proper test cases. Just a few, but at least there is a framework for automated testing now.
- Various small changes in the code and manuals to make it clearer.
- Various small bugs were fixed that lead to crashes in unusual circumstances.
2.2.0 - 2018-09-05
- Add spatialite scripts for creating grids for splitting.
- CMake config adds
clang-tidy
target.
- Use
OGC_FID
instead ofID
as id column in SQL scripts, that's how OGR expects it. - Update to newer Protozero and Libosmium.
- Various small code-cleanup changes.
- Output extended version information on
--verbose
and--version
. - Derive exception used from
std::runtime_error
. - Update to newest gdalcpp.
- Initialize stats with 0.
osmcoastline_ways
: Delete the copy and move constructor/assignment because we have a special destructor.- Add
-pthread
compiler and linker options. - Fix undefined behavior that resulted in more or less coastlines reported as "questionable".
- Lower right corner of Antarctica was being cut off in EPSG:3857.
- Very narrow water polygons were output near the anti-meridian in Antarctica.
2.1.4 - 2016-09-16
- Miscellaneous code cleanups.
- Windows build.
2.1.3 - 2016-03-30
- Add verbose option to
osmcoastline_filter
. osmcoastline_filter
now shows memory used in verbose mode.
- Optimized
osmcoastline_filter
program. - Use more features from newest libosmium.
- Setting the sqlite output to unsynchronized speeds up writing to database.
- Now also works on GDAL 2. Fixes an error in the transaction handling.
2.1.2 - 2016-01-05
- Add --help/-h and --version/-V options to all programs.
- Use a better approximation for the southernmost coordinate for Mercator projection.
- Updated for newest libosmium version (2.5.2).
- Uses gdalcpp.hpp from https://github.com/joto/gdalcpp instead of directly talking to GDAL/OGR. Makes this compatible with GDAL 2.
- Improved internal code using
unique_ptr
where possible.
- "Fixed" flag in rings layer now correct.
2.1.1 - 2015-08-31
- Use newest libosmium release.
2.1.0 - 2015-08-18
- Optionally writes out list of all coastline segments and the new program
osmcoastline_segments
can compare those lists in various ways.
- Updates for new libosmium version
2.0.1 - 2015-03-31
- Added man pages