aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/geocode/NominatimReverseGeocoderTest.java
blob: 74e03f271988420d7916c8224000d163183fdb49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package org.traccar.geocode;

import static org.junit.Assert.assertEquals;
import org.junit.Test;

public class NominatimReverseGeocoderTest {

    @Test
    public void testGetAddress() {

        ReverseGeocoder reverseGeocoder = new NominatimReverseGeocoder("http://nominatim.openstreetmap.org/reverse");
        
        /*assertEquals(
                "ulitsa Morskiye dubki, 2, Lisy Nos, Saint Petersburg, Russia, 197755",
                reverseGeocoder.getAddress(60.0, 30.0));*/

    }

}