MapSafeMobile Application
Documentation

Anonymise

Anonymise without overwriting the source

Start with the selected point layer. The authoritative source remains unchanged while MapSafe creates a separate representation for recipients who need spatial patterns but not exact coordinates. The result card can be collapsed so the map remains visible while the owner decides whether to save, repeat, stop, upload, or continue.

Halo masking

Choose minimum and maximum displacement distances. Each point is moved to a random position within that interval. The inverted Spruill score provides a readable indication of parent-nearest disclosure risk; a higher score communicates lower risk.

Hexagonal binning

Choose an H3 resolution and aggregate points into counted hexagons. Darker cells indicate greater density while the individual source coordinates are no longer displayed as the shared representation.

Practical choice: use halo masking when approximate point locations are useful; use hexagonal binning when the recipient needs distribution or density rather than individual points.

Hexagonal-binning sequence

The following three panels are the hexbinning sequence used in the manuscript: choose the H3 resolution, compare the original points with the occupied cells, and collapse the result card to inspect the anonymised polygons only. These are the latest hexbin captures and are separate from the halo-masking captures above.

Using halo masking

Halo masking moves a point away from its original coordinates while retaining a point-based representation. The minimum displacement defines the lower bound of the interval and the maximum defines the upper bound. A narrow interval with short distances may leave locations easy to infer, while long distances may distort meaningful neighbourhood relationships or place observations outside their expected geographic context.

  1. Select the source point layer and choose the halo masking option.
  2. Set the minimum and maximum displacement distances. Use a minimum smaller than the maximum and select distances appropriate to the dataset and purpose.
  3. Apply the mask and inspect the result and privacy score. Compare the original and masked layers at relevant map scales.
  4. Collapse the result card to inspect the map without the panel obscuring it. Repeat or stop if the representation is unsuitable.
  5. Save the intended anonymised layer separately. Continue to encryption or authorised sharing only after reviewing the output.

The original screenshots show configuration, the expanded and collapsed result card, the saved layer, and the original and masked points together. They illustrate the procedure rather than establish a universally suitable displacement.

Interpreting the inverted Spruill score

The inverted Spruill measure is described in the original guide as a parent-nearest disclosure diagnostic. It indicates the extent to which masked points are closer to another original point than to their corresponding parent. A higher score is favourable under that specific test, but it is not a probability of anonymity against every attacker.

The score depends on point density and distribution as well as displacement. Two datasets subjected to the same settings can produce different scores. Consider auxiliary geographic knowledge, attribute linkage and repeated releases before drawing conclusions about privacy.

Using hexagonal binning

Hexagonal binning replaces the individual point representation with counted H3 cells. Lower H3 resolutions correspond to larger cells; higher resolutions correspond to smaller cells. The appropriate choice depends on the scale at which the recipient needs to interpret the distribution.

  1. Select the intended point layer and choose hexagonal binning.
  2. Choose an H3 resolution, then apply the aggregation.
  3. Compare original points with occupied hexagonal cells and inspect the distribution of counts.
  4. Collapse the result card and review the cells-only view shown in the current manuscript sequence.
  5. Save the intended representation if it meets the release requirements.

A cell containing very few observations can still disclose sensitive information, particularly when combined with outside knowledge. Do not regard the hexagon boundary or a darker colour as an anonymity guarantee.

Choose the appropriate method

ConsiderationHalo maskingHexagonal binning
RepresentationDisplaced pointsAggregated hexagonal cells
Main controlsMinimum and maximum displacementH3 resolution
Suitable useApproximate point patternsDistribution and density
ReviewDisplacement, spatial patterns and disclosure diagnosticCell sizes, counts and spatial coverage

After reviewing the release, continue to Encrypt if cryptographic access control is required, or read Share with the community for permitted artefacts.