From de754dfdf50db3a877681525ac20ad776f13fc71 Mon Sep 17 00:00:00 2001 From: Andrew Yates Date: Tue, 12 Nov 2013 16:01:02 -0500 Subject: [PATCH] fix coord ordering --- .../edu/georgetown/cs/ir/hbc/NorthAmericaFilter.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/edu/georgetown/cs/ir/hbc/NorthAmericaFilter.java b/src/main/java/edu/georgetown/cs/ir/hbc/NorthAmericaFilter.java index a9fad7c..29607cf 100644 --- a/src/main/java/edu/georgetown/cs/ir/hbc/NorthAmericaFilter.java +++ b/src/main/java/edu/georgetown/cs/ir/hbc/NorthAmericaFilter.java @@ -36,12 +36,11 @@ public void oauth(String consumerKey, String consumerSecret, String token, Strin BlockingQueue queue = new LinkedBlockingQueue(10000); StatusesFilterEndpoint endpoint = new StatusesFilterEndpoint(); - // add bounding box for North America (erring on the side of including extra regions) - // SW 14.12, -172.07 - // NE 71.92, -49.73 + // add bounding box for US + Canada (erring on the side of including extra regions) ArrayList locations = new ArrayList(); - locations.add(new Location(new Location.Coordinate(14.12, 172.07), - new Location.Coordinate(71.92, -49.73))); + locations.add(new Location( + new Location.Coordinate(-166.992188, 24.846565), + new Location.Coordinate(-53.789063, 70.020587))); endpoint.locations(locations); Authentication auth = new OAuth1(consumerKey, consumerSecret, token, secret);