Skip to content

Adding and updating geo filter presets

Geographic filter presets are predefined map areas used as convenience filters and also as a way to limit access to certain users to data.

These filters are applied on the fly to some assets and precomputed for others where calculating containement is heavier, so it's its important to keep them in sync so all functionality works as expected.

They can be used on the map views through the preset filters and in the admin section to restrict users areas.

image.png

image.png

Keeping presets in sync

Every time new presets are added or modified, this operation needs to be run to ensure the filters on the map views continue working.

  1. On Django Admin, click on the Filter Items link in the Geo Data section.
  2. Click on the Bulk update location presets button.

image.png

  1. Confirm the operation:

image.png

  1. Done! The update operation will run in the background and takes 20 to 30 minutes to finish.

Tip!

To avoid any downtime in map filters, consider running the indexing operation during low-traffic periods.