From: tsteven4 <13596209+tsteven4@users.noreply.github.com>
Date: Sun, 4 Jun 2023 23:11:07 +0000 (-0600)
Subject: fix nits with trackfilter (#1124)
X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~1^2~51
X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=dd4a9872ca42d42e61a1f8a16db1903c1b5eb2ce;p=gpsbabel.git
fix nits with trackfilter (#1124)
* fix nits with trackfilter
* deprecate mapconverter readme.
mapconverter style file was removed in #870
* catch reference files up
---
diff --git a/README.mapconverter b/README.mapconverter
deleted file mode 100644
index 9c0791d43..000000000
--- a/README.mapconverter
+++ /dev/null
@@ -1,35 +0,0 @@
-Mapconverter is an application used to create userland maps and map data for
-Mapopolis.com's Mapopolis program. The mapconverter format is essentially
-waypoint data prepared in a format that the mapconverter application will
-accept.
-
-The steps for using GPSBabel and Mapconverter go something like this:
-
-Step 1: Create a mapconverter file using gpsbabel.
- ./gpsbabel -i geo -f geocaching.loc -o mapconverter -F foo.txt
-
-Step 2: Launch mapconverter.exe and choose foo.txt as your input file.
- Click the begin button to have mapconverter process foo.txt.
-
-If all goes successfully, you should have a file called "foo.pdb" ready
-for syncing with your PDA. Put it wherever Mapopolis thinks it should be
-on your PDA.
-
-NOTES:
-
-o GPSBabel will write the name of its own output file in the output file
- it creates as the input for Mapconverter. Mapconverter will replace
- the extension of this filename with ".pdb".
-
-o The PocketPC version of Mapopolis doesn't notice files with the ".pdb"
- extension. To make this work, change the extension to ".mlp" when
- copying the mapconverter output to your PocketPC PDA.
-
-o Mapconverter only works with Mapopolis version 3.x. Mapopolis version
- 4 will refuse to load mapconverter maps. There is no known work-around
- for this at the time of this writing.
-
-o Mapconverter is no longer available from the Mapopolis website. If you
- need a copy of mapconverter, ask on your local GPS Software discussion
- forum and I'm sure someone will have it. As far as I know, It was never
- actually acknowledged/supported by Mapopolis to begin with.
diff --git a/reference/filter1.txt b/reference/filter1.txt
index cab7d2b7c..8241c29ba 100644
--- a/reference/filter1.txt
+++ b/reference/filter1.txt
@@ -30,7 +30,7 @@ option height wgs84tomsl Converts WGS84 ellipsoidal height to orthometric height
track Manipulate track lists https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html
option track move Correct trackpoint timestamps by a delta string https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html#fmt_track_o_move
option track pack Pack all tracks into one boolean https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html#fmt_track_o_pack
-option track split Split by date or time interval (see README) string https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html#fmt_track_o_split
+option track split Split by date or time interval string https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html#fmt_track_o_split
option track sdistance Split by distance string https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html#fmt_track_o_sdistance
option track merge Merge multiple tracks for the same way string https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html#fmt_track_o_merge
option track name Use only track(s) where title matches given name string https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html#fmt_track_o_name
diff --git a/reference/help.txt b/reference/help.txt
index 9b17ea274..7dfed5b0f 100644
--- a/reference/help.txt
+++ b/reference/help.txt
@@ -462,7 +462,7 @@ Supported data filters:
track Manipulate track lists
move Correct trackpoint timestamps by a delta
pack Pack all tracks into one
- split Split by date or time interval (see README)
+ split Split by date or time interval
sdistance Split by distance
merge Merge multiple tracks for the same way
name Use only track(s) where title matches given name
diff --git a/style/deprecated/README.mapconverter b/style/deprecated/README.mapconverter
new file mode 100644
index 000000000..9c0791d43
--- /dev/null
+++ b/style/deprecated/README.mapconverter
@@ -0,0 +1,35 @@
+Mapconverter is an application used to create userland maps and map data for
+Mapopolis.com's Mapopolis program. The mapconverter format is essentially
+waypoint data prepared in a format that the mapconverter application will
+accept.
+
+The steps for using GPSBabel and Mapconverter go something like this:
+
+Step 1: Create a mapconverter file using gpsbabel.
+ ./gpsbabel -i geo -f geocaching.loc -o mapconverter -F foo.txt
+
+Step 2: Launch mapconverter.exe and choose foo.txt as your input file.
+ Click the begin button to have mapconverter process foo.txt.
+
+If all goes successfully, you should have a file called "foo.pdb" ready
+for syncing with your PDA. Put it wherever Mapopolis thinks it should be
+on your PDA.
+
+NOTES:
+
+o GPSBabel will write the name of its own output file in the output file
+ it creates as the input for Mapconverter. Mapconverter will replace
+ the extension of this filename with ".pdb".
+
+o The PocketPC version of Mapopolis doesn't notice files with the ".pdb"
+ extension. To make this work, change the extension to ".mlp" when
+ copying the mapconverter output to your PocketPC PDA.
+
+o Mapconverter only works with Mapopolis version 3.x. Mapopolis version
+ 4 will refuse to load mapconverter maps. There is no known work-around
+ for this at the time of this writing.
+
+o Mapconverter is no longer available from the Mapopolis website. If you
+ need a copy of mapconverter, ask on your local GPS Software discussion
+ forum and I'm sure someone will have it. As far as I know, It was never
+ actually acknowledged/supported by Mapopolis to begin with.
diff --git a/trackfilter.h b/trackfilter.h
index 83ad47b6a..699146b86 100644
--- a/trackfilter.h
+++ b/trackfilter.h
@@ -137,7 +137,7 @@ private:
},
{
TRACKFILTER_SPLIT_OPTION, &opt_split,
- "Split by date or time interval (see README)", nullptr,
+ "Split by date or time interval", nullptr,
ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
{
diff --git a/xmldoc/filters/options/track-sdistance.xml b/xmldoc/filters/options/track-sdistance.xml
index 0846b6b01..9ca5f96e9 100644
--- a/xmldoc/filters/options/track-sdistance.xml
+++ b/xmldoc/filters/options/track-sdistance.xml
@@ -13,7 +13,7 @@
gpsbabel -t
-i gpx -f in.gpx
- -x track,pack,sdistance=0.1k"
+ -x track,pack,sdistance=0.1k
-o gpx -F out.gpx
The sdistance option can be combined with the split option.