Added
- Additional constructor for
builder::attr::member_type(_string)
taking char type making it even easier to generate test data. - Allow single C string or
std::string
as argument forbuilder::attr::_tag
. Must contain key and value separated by the equal sign. - New
builder::attr::_t()
function to set tags from comma-separated string. - New
nwr_array
iterator. - Support for the PROJ library has now been declared deprecated. The old PROJ API (up to version PROJ 6) is currently still available, but will be removed in a future version. Support for the new PROJ API will not be in libosmium. See https://github.com/osmcode/osmium-proj for some code that might help you if you need this.
Changed
- Check how much space is available in file system before resizing memory mapped file (not on Windows). This means we can, at least in some cases, show an error message instead of crashing the program.
Fixed
- Parsing coordinates in PBF files did not work correctly if an lat/lon offset was specified (which almost never happens).
- Make OPL parser more strict: Attributes can only be specified once.
- Do not close stdout after writing OSM file to it.