Skip to content

Commit 7f68fd6

Browse files
committed
Remove long-deprecated option --omit-rs on the export command
1 parent c4c92e2 commit 7f68fd6

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

man/osmium-export.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,6 @@ files created with JOSM).
9696
OSM tags, not attributes (like id, version, uid, ...) without the tags
9797
removed by the **exclude_tags** or **include_tags** settings.
9898

99-
-r, \--omit-rs
100-
: Do not print the RS (0x1e, record separator) character when using the
101-
GeoJSON Text Sequence Format. Ignored for other formats. THIS OPTION
102-
IS DEPRECATED, PLEASE USE "-x print_record_separator=false" INSTEAD.
103-
10499
-u, \--add-unique-id=TYPE
105100
: Add a unique ID to each feature. TYPE can be either *counter* in which
106101
case the first feature will get ID 1, the next ID 2 and so on. The type

src/command_export.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,6 @@ bool CommandExport::setup(const std::vector<std::string>& arguments) {
274274
("stop-on-error,E", "Stop on the first error encountered")
275275
("show-index-types,I", "Show available index types")
276276
("attributes,a", po::value<std::string>(), "Comma-separated list of attributes to add to the output (default: none)")
277-
("omit-rs,r", "Do not print RS (record separator) character when using JSON Text Sequences")
278277
;
279278

280279
const po::options_description opts_common{add_common_options()};
@@ -459,14 +458,6 @@ bool CommandExport::setup(const std::vector<std::string>& arguments) {
459458
}
460459
}
461460

462-
if (vm.count("omit-rs")) {
463-
m_options.format_options.set("print_record_separator", false);
464-
warning("The --omit-rs/-r option is deprecated. Please use '-x print_record_separator=false' instead.\n");
465-
if (m_output_format != "geojsonseq") {
466-
warning("The --omit-rs/-r option only works for GeoJSON Text Sequence (geojsonseq) format. Ignored.\n");
467-
}
468-
}
469-
470461
if (vm.count("show-errors")) {
471462
m_show_errors = true;
472463
}

0 commit comments

Comments
 (0)