@Deprecated
    public static GeoPoint fromIntString(final String s) {
        final int commaPos1 = s.indexOf(',');
        final int commaPos2 = s.indexOf(',', commaPos1 + 1);

        if (commaPos2 == -1) {
            return new GeoPoint(
                    Integer.parseInt(s.substring(0, commaPos1)),
                    Integer.parseInt(s.substring(commaPos1 + 1, s.length())));
        } else {
            return new GeoPoint(
                    Integer.parseInt(s.substring(0, commaPos1)),
                    Integer.parseInt(s.substring(commaPos1 + 1, commaPos2)),
                    Integer.parseInt(s.substring(commaPos2 + 1, s.length()))
            );
        }
    }
@Test
    public void test_toFromString_withoutAltitude() {
        final GeoPoint in = new GeoPoint(52387524, 4891604);
        final GeoPoint out = GeoPoint.fromIntString("52387524,4891604");
        assertEquals("toFromString without altitude", in, out);
    }