aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/geocode/GoogleReverseGeocoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-03-23 21:07:56 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2014-03-23 21:07:56 +1300
commit23086613c6e88aa768afa795340fe9ac0ac3a7db (patch)
tree9536d308574a113215a58f3d1d24ec15618ef855 /src/org/traccar/geocode/GoogleReverseGeocoder.java
parent35701e0a14782d67320a7c667d7afd980bbc5dd0 (diff)
downloadtrackermap-server-23086613c6e88aa768afa795340fe9ac0ac3a7db.tar.gz
trackermap-server-23086613c6e88aa768afa795340fe9ac0ac3a7db.tar.bz2
trackermap-server-23086613c6e88aa768afa795340fe9ac0ac3a7db.zip
Add Nominatim reverse geocoding (fix #615)
Diffstat (limited to 'src/org/traccar/geocode/GoogleReverseGeocoder.java')
-rw-r--r--src/org/traccar/geocode/GoogleReverseGeocoder.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/geocode/GoogleReverseGeocoder.java b/src/org/traccar/geocode/GoogleReverseGeocoder.java
index 9aebbf8a0..4ec6e10af 100644
--- a/src/org/traccar/geocode/GoogleReverseGeocoder.java
+++ b/src/org/traccar/geocode/GoogleReverseGeocoder.java
@@ -16,6 +16,7 @@
package org.traccar.geocode;
import java.io.BufferedReader;
+import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
@@ -49,7 +50,7 @@ public class GoogleReverseGeocoder implements ReverseGeocoder {
reader.close();
- } catch(Exception error) {
+ } catch(IOException error) {
Log.warning(error);
}