/**
* Class to manage the list of file formats supported by Gpsbabel
* (older versions of gpsbabel might not support all of these, of course).
- * Certain supported formats such as txt, csv, gpx are not included here
+ * Certain supported formats such as txt, csv are not included here
* as GpsPrune can already load them directly.
*/
public abstract class BabelFileFormats
/**
* @return an object array for the format descriptions
*/
- public static Object[] getDescriptions() {
+ public static String[] getDescriptions() {
return getColumn(0);
}
{
final String[] suffixes = getColumn(2);
for (int i=0; i<suffixes.length; i++)
+ {
if (suffixes[i] != null && suffixes[i].equalsIgnoreCase(inSuffix))
return i;
+ }
}
return -1;
}
"Bushnell GPS Waypoint file", "bushnell", null,
"Cambridge/Winpilot glider software", "cambridge", null,
"CarteSurTable data file", "cst", null,
- "Cetus for Palm/OS", "cetus", null,
- "CoastalExplorer XML", "coastexp", null,
"Columbus/Visiontac V900 files", "v900", ".csv",
"CompeGPS data files", "compegps", ".wpt/.trk/.rte",
- "CoPilot Flight Planner for Palm/OS", "copilot", null,
- "cotoGPS for Palm/OS", "coto", null,
"Data Logger iBlue747 csv", "iblue747", null,
- "Dell Axim Navigation System file format", "axim_gpb", ".gpb",
+ "Data Logger iBlue757 csv", "iblue757", null,
"DeLorme .an1 (drawing) file", "an1", null,
"DeLorme GPL", "gpl", null,
"DeLorme PN-20/PN-30/PN-40 USB protocol", "delbin", null,
"Destinator Points of Interest", "destinator_poi", ".dat",
"Destinator TrackLogs", "destinator_trl", ".dat",
"EasyGPS binary format", "easygps", null,
+ "Energym training watch", "energympro", null,
"Enigma binary waypoint file", "enigma", ".ert",
+ "F90G log file", "f90g", null,
"FAI/IGC Flight Recorder Data Format", "igc", null,
+ "FlySight", "flysight", null,
"Franson GPSGate Simulation", "gpssim", null,
"Fugawi", "fugawi", null,
"G7ToWin data files", "g7towin", ".g7t",
"Garmin 301 Custom position and heartrate", "garmin301", null,
+ "Garmin FIT activity file", "garmin_fit", ".fit",
"Garmin Logbook XML", "glogbook", null,
"Garmin MapSource - gdb", "gdb", null,
"Garmin MapSource - mps", "mapsource", null,
+ "Garmin Mobile XT Track files", "garmin_xt", null,
"Garmin PCX5", "pcx", null,
"Garmin POI database", "garmin_poi", null,
"Garmin Points of Interest", "garmin_gpi", ".gpi",
- "Garmin Training Center", "gtrnctr", null,
"Garmin Training Center", "gtrnctr", ".tcx",
"Geocaching.com .loc", "geo", null,
"GeocachingDB for Palm/OS", "gcdb", null,
"Geogrid-Viewer ascii overlay file", "ggv_ovl", ".ovl",
"Geogrid-Viewer tracklogs", "ggv_log", ".log",
"GEOnet Names Server (GNS)", "geonet", null,
- "GeoNiche .pdb", "geoniche", null,
- "GlobalSat DG-100/BT-335 Download", "dg-100", null,
+ "GlobalSat DG-100/BT-335", "dg-100", null,
+ "GlobalSat DG-200", "dg-200", null,
+ "Google Directions", "googledir", null,
"Google Maps XML", "google", null,
"Google Navigator Tracklines", "gnav_trl", ".trl",
"GoPal GPS track log", "gopal", ".trk",
- "GpilotS", "gpilots", null,
"GPS TrackMaker", "gtm", null,
- "GpsDrive Format", "gpsdrive", null,
- "GpsDrive Format for Tracks", "gpsdrivetrack", null,
"GPSman", "gpsman", null,
- "GPSPilot Tracker for Palm/OS", "gpspilot", null,
"gpsutil", "gpsutil", null,
+ "GPX", "gpx", ".gpx",
"HikeTech", "hiketech", null,
"Holux (gm-100) .wpo Format", "holux", null,
"Holux M-241 (MTK based) Binary File Format", "m241-bin", null,
"Holux M-241 (MTK based) download", "m241", null,
"Honda/Acura Navigation System VP Log File Format", "vpl", null,
- "HSA Endeavour Navigator export File", "hsandv", null,
"Humminbird tracks", "humminbird_ht", ".ht",
"Humminbird waypoints and routes", "humminbird", ".hwr",
"IGN Rando track files", "ignrando", null,
"IGO8 .trk", "igo8", null,
"Jelbert GeoTagger data file", "jtr", null,
"Jogmap.de XML format", "jogmap", null,
- "Kartex 5 Track File", "ktf2", null,
- "Kartex 5 Waypoint File", "kwf2", null,
"Kompass (DAV) Track", "kompass_tk", ".tk",
"Kompass (DAV) Waypoints", "kompass_wp", ".wp",
"KuDaTa PsiTrex text", "psitrex", null,
"Lowrance USR", "lowranceusr", null,
+ "Lowrance USR version 4", "lowranceusr4", null,
"Magellan Explorist Geocaching", "maggeo", null,
"Magellan Mapsend", "mapsend", null,
- "Magellan NAV Companion for Palm/OS", "magnav", null,
"Magellan SD files (as for eXplorist)", "magellanx", null,
"Magellan SD files (as for Meridian)", "magellan", null,
"Magellan serial protocol", "magellan", null,
"MagicMaps IK3D project file", "ik3d", ".ikt",
"Map&Guide 'TourExchangeFormat' XML", "tef", null,
- "Map&Guide to Palm/OS exported files", "mag_pdb", ".pdb",
"MapAsia track file", "mapasia_tr7", ".tr7",
"Mapopolis.com Mapconverter CSV", "mapconverter", null,
"MapTech Exchange Format", "mxf", null,
+ "MediaTek Locus", "mtk_locus", null,
"Memory-Map Navigator overlay files", "mmo", ".mmo",
- "Microsoft AutoRoute 2002 (pin/route reader)", "msroute", null,
- "Microsoft Streets and Trips (pin/route reader)", "msroute", null,
"Microsoft Streets and Trips 2002-2007", "s_and_t", null,
- "Mobile Garmin XT Track files", "garmin_xt", null,
"Motorrad Routenplaner (Map&Guide) .bcr files", "bcr", null,
- "MS PocketStreets 2002 Pushpin", "psp", null,
"MTK Logger (iBlue 747,...) Binary File Format", "mtk-bin", null,
"MTK Logger (iBlue 747,Qstarz BT-1000,...) download", "mtk", null,
+ "MyNav TRC format", "mynav", null,
"National Geographic Topo .tpg (waypoints)", "tpg", null,
"National Geographic Topo 2.x .tpo", "tpo2", null,
"National Geographic Topo 3.x/4.x .tpo", "tpo3", null,
"Nokia Landmark Exchange", "lmx", null,
"OpenStreetMap data files", "osm", ".osm",
"OziExplorer", "ozi", null,
- "PalmDoc Output", "palmdoc", null,
- "PathAway Database for Palm/OS", "pathaway", null,
"PocketFMS breadcrumbs", "pocketfms_bc", null,
"PocketFMS flightplan", "pocketfms_fp", ".xml",
"PocketFMS waypoints", "pocketfms_wp", ".txt",