fulcrumapp / fulcrum-expressions

Fulcrum expressions engine
http://developer.fulcrumapp.com/expressions/intro/
5 stars 0 forks source link

Add geometry functions #67

Closed zhm closed 11 months ago

zhm commented 11 months ago

Add the most commonly used GIS/Geometry functions as built-ins.

GEOMETRYAREA(geometry)
GEOMETRYBEARING(start, end, options)
GEOMETRYBUFFER(geometry, radius, options)
GEOMETRYCENTROID(geometry)
GEOMETRYCONVEX(geojson, options)
GEOMETRYDISTANCE(fromPoint, toPoint, options)
GEOMETRYFEATURE(geometry, proprties, options)
GEOMETRYFEATURECOLLECTION(features, options)
GEOMETRYINTERSECTS(feature1, feature2)
GEOMETRYLENGTH(geometry, options)
GEOMETRYLINESTRING(coordinates, properties, options)
GEOMETRYNEARESTPOINT(targetPoint, points)
GEOMETRYNEARESTPOINTONLINE(lines, point, options)
GEOMETRYPOINT(coordinates, properties, options)
GEOMETRYPOLYGON(coordinates, properties, options)
GEOMETRYTAG(points, polygons, field, outField)
GEOMETRYWITHIN(feature1, feature2)
ekatocd commented 11 months ago

Any potential conflicts with existing customer data events?

zhm commented 11 months ago

Any potential conflicts with existing customer data events?

No, I don't think so, we're only exposing these new function names to JS