Apply Gaussian or Uniform geomasking to a set of spatial coordinates.

geomasking(locations, displacement, delta)

Arguments

locations

A two column matrix containing the locations (coordinates x and y) to which apply geomasking.

displacement

The type of geomasking to be applied: either "gaussian" or "uniform".

delta

A number that specify the standard deviation of the positional error in the case of Gaussian geomasking or the maximum displacement distance in the case of Uniform geomasking.

Value

A matrix with the displaced locations.