2017-05-05 13:40:17 -04:00
|
|
|
[[ml-geo-functions]]
|
|
|
|
=== Geographic Functions
|
|
|
|
|
|
|
|
The {xpackml} features include the following geographic functions:
|
|
|
|
|
|
|
|
* `lat_long`
|
|
|
|
|
|
|
|
The geographic functions detect anomalies in the geographic location of the
|
|
|
|
input data.
|
|
|
|
|
|
|
|
The `field_name` that you supply must be a string of the form
|
|
|
|
`latitude,longitude`. The `latitude` and `longitude` must be in the range -180
|
|
|
|
to 180 and represent a point on the surface of the Earth.
|
2017-05-05 14:57:20 -04:00
|
|
|
|
|
|
|
|
|
|
|
////
|
|
|
|
|
|
|
|
[source,js]
|
|
|
|
--------------------------------------------------
|
|
|
|
{ "function" : "lat_long", "fieldName" : "transactionCoordinates", "byFieldName" : "creditCardNumber" }
|
|
|
|
--------------------------------------------------
|
|
|
|
|
|
|
|
////
|