Package slash.navigation.gpx

Examples of slash.navigation.gpx.Gpx10Format


        convertRoundtrip(TEST_PATH + "from.nmea", new NmeaFormat(), new GpsTunerFormat());
    }

    @Test
    public void testConvertNmeaToGpx() throws IOException {
        convertRoundtrip(TEST_PATH + "from.nmea", new NmeaFormat(), new Gpx10Format());
        convertRoundtrip(TEST_PATH + "from.nmea", new NmeaFormat(), new Gpx11Format());
    }
View Full Code Here


        convertRoundtrip(SAMPLE_PATH + "logpos1.itn", new TomTom5RouteFormat(), new GpsTunerFormat());
    }

    @Test
    public void testConvertLogposTrackToGpx() throws IOException {
        convertRoundtrip(SAMPLE_PATH + "logpos1.itn", new TomTom5RouteFormat(), new Gpx10Format());
        convertRoundtrip(SAMPLE_PATH + "logpos2.itn", new TomTom5RouteFormat(), new Gpx11Format());
    }
View Full Code Here

    @Test
    public void testConvertGpx10ToOziExplorerRoute() throws IOException {
        // differences in conversion: Longitude 0 does not match expected:<-10.76617> but was:<-53.69928>
        assertTestFails(new NavigationTestCaseThrowsException() {
            public void run() throws Exception {
                convertRoundtrip(TEST_PATH + "from10.gpx", new Gpx10Format(), new OziExplorerRouteFormat());
            }
        });
    }
View Full Code Here

        convertRoundtrip(TEST_PATH + "from-ozi.wpt", new OziExplorerWaypointFormat(), new NavigatingPoiWarnerFormat());
    }

    @Test
    public void testConvertGpx10ToOziExplorerTrack() throws IOException {
        convertRoundtrip(TEST_PATH + "from10.gpx", new Gpx10Format(), new OziExplorerTrackFormat());
    }
View Full Code Here

        convertRoundtrip(TEST_PATH + "from10.gpx", new Gpx10Format(), new OziExplorerTrackFormat());
    }

    @Test
    public void testConvertGpx10ToOziExplorerWaypoints() throws IOException {
        convertRoundtrip(TEST_PATH + "from10trk.gpx", new Gpx10Format(), new OziExplorerWaypointFormat());
    }
View Full Code Here

        readFile(new File(SAMPLE_PATH, "tripmastr-with-3-routes-3.kml"), 3, true, false, Track, Waypoints, Route);
    }

    @Test
    public void testTripmaster1dot4GpxTrack() throws Exception {
        List<GpxRoute> routes = readGpxFile(new Gpx10Format(), SAMPLE_PATH + "tripmaster1.gpx");
        assertNotNull(routes);
        assertEquals(1, routes.size());
        GpxRoute route = routes.get(0);
        assertEquals(Track, route.getCharacteristics());
        assertEquals(881, route.getPositionCount());
View Full Code Here

        assertEquals("Abstand 211", position3.getReason());
    }

    @Test
    public void testTripmasterGpxTrack() throws Exception {
        List<GpxRoute> routes = readGpxFile(new Gpx10Format(), SAMPLE_PATH + "tripmaster2.gpx");
        assertNotNull(routes);
        assertEquals(1, routes.size());
        GpxRoute route = routes.get(0);
        assertEquals(Track, route.getCharacteristics());
        assertEquals(735, route.getPositionCount());
View Full Code Here

        convertRoundtrip(TEST_PATH + "from-mtp0607.bcr", new MTP0607Format(), new TomTom5RouteFormat());
    }

    @Test
    public void testConvertGpxToTomTomRoute() throws IOException {
        convertRoundtrip(TEST_PATH + "from10.gpx", new Gpx10Format(), new TomTom8RouteFormat());
    }
View Full Code Here

        convertRoundtrip(TEST_PATH + "from-iblue747.csv", new Iblue747Format(), new CompeGPSDataRouteFormat());
    }

    @Test
    public void testConvertApeMapToGpx() throws IOException {
        convertRoundtrip(TEST_PATH + "from-apemap.trk", new ApeMapFormat(), new Gpx10Format());
    }
View Full Code Here

        convertRoundtrip(TEST_PATH + "from-apemap.trk", new ApeMapFormat(), new Gpx10Format());
    }

    @Test
    public void testConvertCompeGPSDataToGpx() throws IOException {
        convertRoundtrip(TEST_PATH + "from-compegps.rte", new CompeGPSDataRouteFormat(), new Gpx10Format());
        convertRoundtrip(TEST_PATH + "from-compegps.trk", new CompeGPSDataTrackFormat(), new Gpx10Format());
        convertRoundtrip(TEST_PATH + "from-compegps.wpt", new CompeGPSDataWaypointFormat(), new Gpx11Format());
    }
View Full Code Here

TOP

Related Classes of slash.navigation.gpx.Gpx10Format

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.