geomfilter

Description

Use the geomfilter command to specify points of a bounding box for clipping choropleth maps.

For more information about choropleth maps, see "Mapping data" in the Dashboards and Visualizations Manual.

Syntax

geomfilter [min_x=<float>] [min_y=<float>] [max_x=<float>] [max_y=<float>]

Optional arguments

min_x

Syntax: min_x=<float>

Description: The x coordinate of the bounding box's bottom-left corner, in the range [-180, 180].

Default: -180

min_y

Syntax: min_y=<float>

Description: The y coordinate of the bounding box's bottom-left corner, in the range [-90, 90].

Default: -90

max_x

Syntax: max_x=<float>

Description: The x coordinate of the bounding box's up-right corner, in the range [-180, 180].

Default: 180

max_y

Syntax: max_y=<float>

Description: The y coordinate of the bounding box's up-right corner, in the range [-90, 90].

Default: max_y=90

Usage

The geomfilter command accepts two points that specify a bounding box for clipping choropleth maps. Points that fall outside of the bounding box will be filtered out.

Examples

Example 1: This example uses the default bounding box, which will clip the entire map.

Example 2: This example clips half of the whole map.