@Test
public void testGetLengthMeters() {

    LOG.info("testGetLengthMeters");
    final GeoPoint o = new GeoPoint(-0.5, 10.0); // Note that the values are chosen symmetrically around lat=0!
    final GeoPoint x = new GeoPoint(0.5, 10.0);
    final GeoPoint y = new GeoPoint(0.5, 11.0);
    final GeoLine ver = new GeoLine(o, x);
    final GeoLine dia = new GeoLine(o, y);
    final double len1 = Geo.METERS_PER_DEGREE_LAT;
    final double len2 = ver.getLengthMeters();
    Assert.assertEquals(0, Double.compare(len1, len2));
    final double len = 157000;
    Assert.assertTrue(Math.abs(len - dia.getLengthMeters()) < 200.0);
}