aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Context.java
diff options
context:
space:
mode:
authorOlivier Girondel <olivier@biniou.info>2018-09-06 02:52:20 +0200
committerOlivier Girondel <olivier@biniou.info>2018-09-24 12:44:18 +0200
commit2e5d13c34227a6c636b78ee4a867dd45fe69afa8 (patch)
tree63da193abebbb77f2f98705e959408ed677123f3 /src/org/traccar/Context.java
parent33a04ec588f5f0f1145249a5c5163fef0f35fb1c (diff)
downloadtrackermap-server-2e5d13c34227a6c636b78ee4a867dd45fe69afa8.tar.gz
trackermap-server-2e5d13c34227a6c636b78ee4a867dd45fe69afa8.tar.bz2
trackermap-server-2e5d13c34227a6c636b78ee4a867dd45fe69afa8.zip
Add Base Adresse Nationale reverse geocoder (fix #3769)
Diffstat (limited to 'src/org/traccar/Context.java')
-rw-r--r--src/org/traccar/Context.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java
index 334503640..b310d6740 100644
--- a/src/org/traccar/Context.java
+++ b/src/org/traccar/Context.java
@@ -57,6 +57,7 @@ import org.traccar.geocoder.FactualGeocoder;
import org.traccar.geocoder.GeocodeFarmGeocoder;
import org.traccar.geocoder.GeocodeXyzGeocoder;
import org.traccar.geocoder.GisgraphyGeocoder;
+import org.traccar.geocoder.BanGeocoder;
import org.traccar.geocoder.GoogleGeocoder;
import org.traccar.geocoder.MapQuestGeocoder;
import org.traccar.geocoder.NominatimGeocoder;
@@ -339,6 +340,8 @@ public final class Context {
return new GeocodeFarmGeocoder(key, language, cacheSize, addressFormat);
case "geocodexyz":
return new GeocodeXyzGeocoder(key, cacheSize, addressFormat);
+ case "ban":
+ return new BanGeocoder(cacheSize, addressFormat);
default:
return new GoogleGeocoder(key, language, cacheSize, addressFormat);
}