matchBoundingBox method
- required double westLongitude,
- required double southLatitude,
- required double eastLongitude,
- required double northLatitude,
Matches against the place.geo.coordinates
object of the Tweet when
present, and in Twitter, against a place geo polygon, where the place
polygon is fully contained within the defined region.
-
westLongitude
,southLatitude
represent the southwest corner of the bounding box wherewestLongitude
is the longitude of that point, andsouthLatitude
is the latitude. -
eastLongitude
northLatitude
represent the northeast corner of the bounding box, whereeastLongitude
is the longitude of that point, andnorthLatitude
is the latitude. -
Width and height of the bounding box must be less than 25mi
-
Longitude is in the range of ±180
-
Latitude is in the range of ±90
-
All coordinates are in decimal degrees.
-
Rule arguments are contained within brackets, space delimited.
You can only pass a single geo polygons per this operator.
Note: This operator will not match on Retweets, since Retweet's places are attached to the original Tweet. It will also not match on places attached to the original Tweet of a Quote Tweet.
Parameters
-
westLongitude
: West Longitude to be matched. -
southLatitude
: South Latitude to be matched. -
eastLongitude
: East Longitude to be matched. -
northLatitude
: North Latitude to be matched.
Type
Availability
- Elevated
Implementation
LogicalChannel matchBoundingBox({
required double westLongitude,
required double southLatitude,
required double eastLongitude,
required double northLatitude,
}) =>
_buffer.appendOperator(
_standaloneOperation.createBoundingBox(
westLongitude,
southLatitude,
eastLongitude,
northLatitude,
),
);