Versions Compared

Key

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

...

A geopointset can be created with the create_geo_set() function, which takes any number of geopoints variables as arguments, or none. Both geopoints and geopointset variables can be concatenated to with a geopointset.

Code Block
languagepy
set1 = create_geo_set()             # creates an empty set
set2 = create_geo_set(g1, g2, g3)   # assuming that g1,g2,g3 are geopoints variables
set3 = set1 & g1 & g2               # set3 has 2 geopoints
set4 = set2 & set3                  # set4 has 5 geopoints

...