diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-06-20 23:28:04 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-20 23:28:04 +1200 |
commit | 87d3a5d2a2782f57c3dfa50de64052697ca9250d (patch) | |
tree | 2cc6b16091bd09a8a90feae91ed4b2f4184f7007 | |
parent | 98ba0e282a64ecddb7bb8f1b2075b5bab0ef3eac (diff) | |
parent | 37bc67c9ff80e143b86e3823b8e423683b373f72 (diff) | |
download | traccar-server-87d3a5d2a2782f57c3dfa50de64052697ca9250d.tar.gz traccar-server-87d3a5d2a2782f57c3dfa50de64052697ca9250d.tar.bz2 traccar-server-87d3a5d2a2782f57c3dfa50de64052697ca9250d.zip |
Merge pull request #3271 from Abyss777/geocoder_after_filter
Do reverse geocoding after filtering
-rw-r--r-- | src/org/traccar/BasePipelineFactory.java | 7 |
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); } |