Can scripted fields calculated from geo_shape objects


(yanbamf) #1

I have been using scripted fields generated from a geo_point object in a document (using distanceInKmWithDefault).

I wish to move to using geo_shape rather than geo_point to support a wider array of data. Is is possible to generate scripted values from geo_shape objects?

I'm trying to calculate the nearest point in the geo_shape to a given location.

Many Thanks


(system) #2