Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The filter() function, from the documentation:

 

Panel

geopoints filter ( geopoints,geopoints )

A filter function to extract a subset of its geopoints input using a second geopoints as criteria. The two input geopoints must have the same number of values. The resulting output geopoints contains the values of the first geopoints where the value of the second geopoints is non-zero. It is usefully employed in conjunction with the comparison operators :

freeze

=

filter(temperature,temperature

<

273.15)

The

variable

freeze

will

contain

a

subset

of

temperature

where

the

value

is

below

273.15.

Use this in combination with what you have already done to produce a geopoints variable consisting only of the points within 10km of your chosen location.

...