Search
⌃K
Links

Geo (GeoGenerator)

The Geo generator is used to mask latitude or longitude values.
The Geo generator supports linking. Typically, the Geo generator is assigned to a latitude and longitude column and then the columns are linked.
The Geo generator does not support consistency. You cannot configure differential privacy.
The metadata object is populated from the GeoMetadata object. geoType indicates the type of value (latitude or longitude) that is in the column.
{
"presetId": "string",
"generatorId": "GeoGenerator",
"schema": "string",
"table": "string",
"column": "string",
"dataType": "string" //MongoDB only
"metadata": {
"geoType": "enum"
},
"encryptionProcessor": "x-on", //To use configured Tonic data encryption
"customValueProcessor": "string" //If custom value processor applied
}

Example replacement

In this example replacement for the Geo generator, the lat and long columns are assigned the Geo generator and linked.
{
"name": "lat,long",
"schema": "public",
"table": "latlong",
"links": [
{
"presetId": "GeoGenerator",
"generatorId": "GeoGenerator",
"schema": "public",
"table": "latlong",
"column": "lat",
"metadata": {
"geoType": "Latitude"
}
},
{
"presetId": "GeoGenerator",
"generatorId": "GeoGenerator",
"schema": "public",
"table": "latlong",
"column": "long",
"metadata": {
"geoType": "Longitude"
}
}
]
}