From 37bc67c9ff80e143b86e3823b8e423683b373f72 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Tue, 20 Jun 2017 16:23:56 +0500 Subject: Do revers geocoding after filtering --- src/org/traccar/BasePipelineFactory.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') 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); } -- cgit v1.2.3