A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

Recent Releases of OSMCoastline

OSMCoastline - Version 2.4.1

Added

  • Add option -e, --exit-ignore-warnings: Return with exit code 0 even if there are warnings.

Changed

  • Modernized code and CMake config, updates for new versions of libraries used.

Hydrosphere - Coastal and Reefs - C++
Published by joto 3 months ago

OSMCoastline - Version 2.4.0

Added

  • --format option to osmcoastline_filter to set output file format.

Changed

  • Now needs at least C++14 and CMake 3.10.
  • Various small code cleanups.

Fixed

  • Do not create empty polygons in water output.

Hydrosphere - Coastal and Reefs - C++
Published by joto over 2 years ago

OSMCoastline - Version 2.3.1

Added

  • GPKG output support

Changed

  • More tests, specifically for EPSG:3857.
  • More error checks.
  • Some shell script cleanups.

Fixed

  • 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.

Hydrosphere - Coastal and Reefs - C++
Published by joto over 3 years ago

OSMCoastline - Version 2.3.0

Added

  • Add -g, --gdal-driver=DRIVER option to osmcoastline. This allows writing results to a shapefile or other format, not only to sqlite files.

Changed

  • 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 to OFF.

Fixed

  • Segfault in osmcoastline with newer GDAL versions (#39)

Hydrosphere - Coastal and Reefs - C++
Published by joto over 4 years ago

OSMCoastline - Version 2.2.4

Changed

  • Also look for newer clang-tidy versions in CMake config.

Fixed

  • Put Antarctic closure to exactly +/- 180 degree longitude.
  • Add try/catch around most of main so we don't end with exception.

Hydrosphere - Coastal and Reefs - C++
Published by joto about 6 years ago

OSMCoastline - Version 2.2.3

Fixed

  • Compile with NDEBUG in RelWithDebInfo mode.
  • Better error reporting on some exceptions.

Hydrosphere - Coastal and Reefs - C++
Published by joto about 6 years ago

OSMCoastline - Version 2.2.2

Fixed

  • Make --output-lines work even if --output-polygons is set to none.

Hydrosphere - Coastal and Reefs - C++
Published by joto about 6 years ago

OSMCoastline - Version 2.2.1

Added

  • We have now proper test cases. Just a few, but at least there is a framework for automated testing now.

Changed

  • Various small changes in the code and manuals to make it clearer.

Fixed

  • Various small bugs were fixed that lead to crashes in unusual circumstances.

Hydrosphere - Coastal and Reefs - C++
Published by joto over 6 years ago

OSMCoastline - Version 2.2.0

Added

  • Add spatialite scripts for creating grids for splitting.
  • CMake config adds clang-tidy target.

Changed

  • Use OGC_FID instead of ID 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.

Fixed

  • 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.

Hydrosphere - Coastal and Reefs - C++
Published by joto over 6 years ago

OSMCoastline - Version 2.1.4

Changed

  • Miscellaneous code cleanups.

Fixed

  • Windows build.

Hydrosphere - Coastal and Reefs - C++
Published by joto over 8 years ago

OSMCoastline - Version 2.1.3

Added

  • Add verbose option to osmcoastline_filter.
  • osmcoastline_filter now shows memory used in verbose mode.

Changed

  • Optimized osmcoastline_filter program.
  • Use more features from newest libosmium.

Fixed

  • Setting the sqlite output to unsynchronized speeds up writing to database.
  • Now also works on GDAL 2. Fixes an error in the transaction handling.

Hydrosphere - Coastal and Reefs - C++
Published by joto about 9 years ago