Skip to content

Commit

Permalink
added north america to tweet source
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Grimmer committed May 18, 2016
1 parent 5f4732a commit e52a1ef
Showing 1 changed file with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,17 @@ protected void initializeConnection() {

this.queue = new LinkedBlockingQueue(this.queueSize);
StatusesFilterEndpoint endpoint = new StatusesFilterEndpoint(false)
//.trackTerms(Arrays.asList("berlin","hamburg", "münchen", "köln", "frannkfurt", "stuttgart", "düsseldorf", "dortmund", "essen", "bremen", "leipzig", "dresden", ))

.locations(Arrays.asList(new Location(
// leipzig: 12.26,51.27,12.51,51.41
// deutschland: 6.20,46.93,15.50,74.10
// europa: -32.0 34.0 40.0 75.0
new Location.Coordinate(-32.0, 34.0), // south west
new Location.Coordinate(40.0, 75.0)))); // north east
.locations(Arrays.asList(
new Location(
// europa: -32.0 34.0 40.0 75.0
new Location.Coordinate(-32.0, 34.0), // south west
new Location.Coordinate(40.0, 75.0)),
new Location(
// north america: -168.48633, 13.23995 -50.36133, 72.76406
new Location.Coordinate(-168.48633, 13.23995), // south west
new Location.Coordinate(-50.36133, 72.76406))
)
);
endpoint.stallWarnings(false);
OAuth1 auth = this.authenticate();
this.initializeClient(endpoint, auth);
Expand Down

0 comments on commit e52a1ef

Please sign in to comment.