* RandomLocationGenerator
*SDV Enterprise Feature. This feature is available to our licensed users and is not currently in our public library. To learn more about the SDV Enterprise and its extra features, visit our website.
The RandomLocationGenerator
creates realistic GPS coordinates from a list of countries. It transforms the real data by dropping all the GPS-related columns. Then when reverse transforming, it generates random, realistic coordinates from around the world. Use this transformer when you want to completely anonymize your coordinates.
Parameters
locales
: An optional list of locales to use when generating GPS coordinates. All coordinates will be chosen from the list of available countries
(default) | Create locations from the US |
|
missing_value_generation
: Add this argument to determine how to recreate missing values during the reverse transform phase
(default) | Randomly assign missing values in roughly the same proportion as the original data. |
| Do not recreate missing values. |
Examples
This transformer takes exactly 2 columns as input. Make sure that you have 1 column with sdtype latitude
and 1 column with sdtype longitude
.
FAQs
Worldwide, regional data is provided by www.geonames.org.
Last updated