Skip to content

Latest commit

 

History

History
153 lines (111 loc) · 5.25 KB

CHANGELOG.md

File metadata and controls

153 lines (111 loc) · 5.25 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

Added

Changed

Fixed

2.4.1 - 2015-08-29

Fixed

  • CRC calculation of tags and changesets.

2.4.0 - 2015-08-29

Added

  • Checks that user names, member roles and tag keys and values are not longer than 256 * 4 bytes. That is the maximum length 256 Unicode characters can have in UTF-8 encoding.
  • Support for GDAL 2. GDAL 1 still works.

Changed

  • Improved CMake build scripts.
  • Updated internal version of Protozero to 1.1.0.
  • Removed toogr* examples. They are in their own repository now. See https://github.com/osmcode/osm-gis-export.
  • Files about to be memory-mapped (for instance index files) are now set to binary mode on Windows so the application doesn't have to do this.

Fixed

  • Hanging program when trying to open file with an unknown file format.
  • Building problems with old boost versions.
  • Initialization errors in PBF writer.
  • Bug in byte swap code.
  • Output on Windows now always uses binary mode, even when writing to stdout, so OSM xml and opl files always use LF line endings.

2.3.0 - 2015-08-18

Added

  • Allow instantiating osmium::geom::GEOSFactory with existing GEOS factory.
  • Low-level functions to support generating a architecture- and endian- independant CRC from OSM data. This is intended to be uses with boost::crc.
  • Add new debug output format. This format is not intended to be read automatically, but for human consumption. It formats the data nicely.
  • Make writing of metadata configurable for XML and OPL output (use add_metadata=false as file option).

Changed

  • Changed add_user() and add_role() in builders to use string length without the 0-termination.
  • Improved code setting file format from suffix/format argument.
  • Memory mapping utility class now supports readonly, private writable or shared writable operation.
  • Allow empty version (0) in PBF files.
  • Use utf8cpp header-only lib instead of boost for utf8 decoding. The library is included in the libosmium distribution.
  • New PBF reader and writer based on the protozero. A complete rewrite of the code for reading and writing OSM PBF files. It doesn't use the Google protobuf library and it doesn't use the OSMPBF/OSM-Binary library any more. Instead is uses the protozero lightweight protobuf header library which is included in the code. Not only does the new code have less dependencies, it is faster and more robust. https://github.com/mapbox/protozero

Fixed

  • Various smaller bug fixes.
  • Add encoding for relation member roles in OPL format.
  • Change character encoding to new format in OPL: variable length hex code between % characters instead of a % followed by 4-digit hex code. This is necessary because unicode characters can be longer than the 4-digit hex code.
  • XML writer: The linefeed, carriage return, and tab characters are now escaped properly.
  • Reading large XML files could block.

2.2.0 - 2015-07-04

Added

  • Conversion functions for some low-level types.
  • BoolVector index class.
  • min_op/max_op utility functions.
  • More tests here and there.
  • Helper methods is_between() and is_visible_at() to DiffObject.
  • GeoJSON factory using the RapidJSON library.
  • Support for tile calculations.
  • Create simple polygons from ways in geom factories.
  • MemoryMapping and TypedMemoryMapping helper classes.
  • close() function to mmap_vector_base class.
  • Function on Buffer class to get iterator to specific offset.
  • Explicit cast operator from osmium::Timestamp to uint32_t.

Changed

  • Throw exception on illegal values in functions parsing strings to get ids, versions, etc.
  • Improved error message for geometry exceptions.

Fixed

  • Throw exception from dump_as_array() and dump_as_list() functions if not implemented in an index.
  • After writing OSM files, program could stall up to a second.
  • Dense location store was written out only partially.
  • Use uint64_t as counter in benchmarks, so there can be no overflows.
  • Example programs now read packed XML files, too.
  • Refactoring of memory mapping code. Removes leak on Windows.
  • Better check for invalid locations.
  • Mark cbegin() and cend() of mmap_vector_base as const functions.

2.1.0 - 2015-03-31

Added

  • When writing PBF files, sorting the PBF stringtables is now optional.
  • More tests and documentation.

Changed

  • Some functions are now declared noexcept.
  • XML parser fails now if the top-level element is not osm or osmChange.

Fixed

  • Race condition in PBF reader.
  • Multipolygon collector was accessing non-existent NodeRef.
  • Doxygen documentation wan't showing all classes/functions due to a bug in Doxygen (up to version 1.8.8). This version contains a workaround to fix this.