Last active
August 29, 2015 14:15
-
-
Save MikeTrizna/418ca36b2eb5808b7b7a to your computer and use it in GitHub Desktop.
GPS Fuzzing Example - IBUNAM Computer Lab
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The real "decimalLatitude" and "decimalLongitude" values of this record are 19.320514 and -99.194494, but we want to "fuzz" the coordinates to protect it. To do that, we'll use the "coordinatePrecision" field.
If we choose a "coordinatePrecision" value of "1.0 (nearest degree)", "decimalLatitude" and "decimalLongitude" become 19 and -99. This means that the specimen's coordinates have been rounded to the closest whole degree, and it could have come from anywhere in the largest rectangle.
If we choose a "coordinatePrecision" value of "0.1 (nearest 10th of a degree)", "decimalLatitude" and "decimalLongitude" become 19.3 and -99.2. This means that the specimen's coordinates have been rounded to the closest whole 10th of a degree, and it could have come from anywhere in the smaller rectangle.