aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-06-20 16:23:56 +0500
committerAbyss777 <abyss@fox5.ru>2017-06-20 16:23:56 +0500
commit37bc67c9ff80e143b86e3823b8e423683b373f72 (patch)
tree2cc6b16091bd09a8a90feae91ed4b2f4184f7007 /src
parent98ba0e282a64ecddb7bb8f1b2075b5bab0ef3eac (diff)
downloadtraccar-server-37bc67c9ff80e143b86e3823b8e423683b373f72.tar.gz
traccar-server-37bc67c9ff80e143b86e3823b8e423683b373f72.tar.bz2
traccar-server-37bc67c9ff80e143b86e3823b8e423683b373f72.zip
Do revers geocoding after filtering
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/BasePipelineFactory.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java
index 0997e6f11..a6446dbaa 100644
--- a/src/org/traccar/BasePipelineFactory.java
+++ b/src/org/traccar/BasePipelineFactory.java
@@ -198,9 +198,6 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory {
pipeline.addLast("distance", distanceHandler);
}
- if (geocoderHandler != null) {
- pipeline.addLast("geocoder", geocoderHandler);
- }
pipeline.addLast("remoteAddress", new RemoteAddressHandler());
addDynamicHandlers(pipeline);
@@ -209,6 +206,10 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory {
pipeline.addLast("filter", filterHandler);
}
+ if (geocoderHandler != null) {
+ pipeline.addLast("geocoder", geocoderHandler);
+ }
+
if (motionHandler != null) {
pipeline.addLast("motion", motionHandler);
}