Releases: osmcode/osmium-tool
Releases · osmcode/osmium-tool
Version 1.18.0
Changed
- If the newest libosmium is used, the
extractcommand will now work with relation ids that do not fit into 32bit. - Set header timestamp in
time-filteroutput file in some situations. - Allow GeoJSON extract boundary with only geometry in
extractcommand instead of a complete feature in the GeoJSON.
Fixed
- Fixed various issues introduced in 1.17.0 when using the
exportcommand to create GeoJSON files.
Version 1.17.0
Added
- Add options to the "diff" command to ignore changeset, uid, and/or user attributes.
- More tests.
Changed
- Needs at least libosmium version 2.20.0.
- Switch from RapidJSON to NLohman JSON. RapidJSON hasn't seen an update in a long time, so we are using a different JSON library.
- Removed "spaten" output format.
- Open writer in some commands earlier, so we see potential errors earlier.
- Lots of small code cleanups.
Fixed
- Fix reading from STDIN for sort command.
- Make tests using binary files optional, because they don't work with zlib-ng that some distributions use. Use
-DRUN_TESTS_WITH_BINARY_COMPARE=OFFto switch off those tests.
Version 1.16.0
Added
- Add "tags" strategy option for smart extract strategy. This checks relations for the specified keys/tags. For a relation to be completed it has to match the keys/tags.
Changed
- Limit the number of extracts possible with osmium extract to 500. Prevents us from running out of file descriptors.
Fixed
- Extract with a polygon could fail in some circumstances.
- Compile problem on Windows due to our use of
GetObject()function from RapidJSON.
Version 1.15.0
Changed
- Now requires libosmium version 2.17.0 or newer.
- Remove the long-deprecated
--remove-deleted/--simplifyoption on theapply-changescommand. - Remove the long-deprecated
--omit-rsoption on theexportcommand. - Remove the long-deprecated
--historyoption on thegetidcommand. - Update included Catch to v2.13.10.
- Various small code cleanups.
Fixed
- Fix for polygon extracts. Sometimes objects outside the polygon used for extraction could end up in the output.
- Correctly detect relative paths on Windows.
- Fixes cross-compiling for mingw.
Version 1.14.0
Added
- Add
--keep-member-nodesoption toadd-locations-to-wayscommand. When this is set, all nodes referenced directly from relations are kept in the output. If this is used, the input file is read twice an a bit more memory is needed. Osmium will run around 15% longer than without this option. - Add
-S relations=falseoption tocomplete_waysextract strategy. If you don't need any relations you can set this when usingosmium extractand the extract will be done more quickly. - New
--cleanoption toosmium extractcommand to clean attributes.
Changed
- Switch to C++14 and CMake 3.5.0 as a minimum requirements.
- Switch to Catch version 2 testing framework.
Fixed
- Fix possible crash when pager set for
osmium showcommand was less then 4 characters long. - Fixed hangup in
osmium showwhen a non-existing pager was used. - Fixed some tests.
- Fix/improve error detection in export code. More errors are detected now
which makes a difference when the-eor-Eoptions are used.
Version 1.13.2
Added
- New
osmium removeidcommand to remove all objects with the specified IDs from an OSM file. (This is, in a way, the opposite of theosmium getidcommand.) - New
osmium-output-headers(5)man page with details about the settings supported by the--output-headercommand line option. - New
-g header.boxesoutput option toosmium fileinfoto get the bounding box(es) set in the header. - New option
--attributesfor the export command to specified attributes that should show up in the output files. (This needed a config file before.) - New option
--buffer-dataforosmium catcommand to buffer all read data in memory before writing it out again. Can be used for benchmarking.
Changed
- The
osmium mergecommand now checks that the input files are ordered correctly and warns or stops if this is not the case. - Improved messages about files read in verbose mode for
osmium cat.
Fixed
- Fixed relation member recursion in tags-filter so that objects referenced from matching relations are also in the output.
- Fix point-in-polygon-check in extract command. More nodes directly on the boundary should now be inside the polygon. This fixes a problem with extracts on the antimeridian.
- When an output file name for the extract command contains multiple dots (.), the file type could not always be deduced correctly. This improves detection for .json and .poly files.
- Do not show progress when any of the inputs is stdin. Because we don't know how large the input file is we can't display a reliable progress indicator.
- Allow
noneindex type onosmium export.
Version 1.13.1
Changed
- Update
osmium-file-formatsman page to include newer file format options.
Fixed
- The
extractcommand did not work correctly on history files. Sometimes deleted objects were not detected as such and the resulting file was not a correct history file. - Open input file only once in
tags-filtercommand if-R,--omit-referencedis used. This way it works when reading from STDIN.
Version 1.13.0
Added
- Add support for negative IDs in add-locations-to-ways command.
- Show setting of
-i,--invert-matchoption on tags-filter command. - Show bytes read and written in verbose mode in
osmium catoutput.
Changed
- Now depends on libosmium 2.16.0 or greater.
- Has support for PBF lz4 compression which is enabled by default if the library is found. Disable by setting CMake option
WITH_LZ4toOFF. - An OSM file header can now be set based on the input file header in extract command from the config file. Set the header to the special
nullvalue for this. - The
fileinfocommand now shows a Metadata section as described in the man page.
Fixed
- When using the
-I,--id-osm-fileoption in thetags-filtercommand, not only the objects in the specified file were marked but also the nodes referenced from ways and the members referenced from relations. This had two results: a) When not using-r,--add-referenced: too many objects ended up in the resulting file. b) When using-t,--remove-tags: tags from those member objects were not removed. - When change files have been created from extracts it is possible that they contain objects with the same type, id, version, and timestamp. In that case we still want to get the last object available. This is now done correctly.
- Various man page fixes.
Version 1.12.1
Changed
- Require libosmium 2.15.6 which has an important fix related to multipolygons assembly (needed for "osmium export").
Version 1.12.0
Added
- New
osmium tags-countcommand. - New
--cleanoption toosmium catcommand to clean attributes.
Fixed
- Allow index types with file name in export command.