Packages

Spatial databases and GIS SQL functions. Currently supports PostGIS, Spatialite, MySQL, MariaDB, and Geopackage.

Current section

Files

Jump to
geo_sql lib geo_sql common three_d.ex
Raw

lib/geo_sql/common/three_d.ex

defmodule GeoSQL.Common.ThreeD do
@moduledoc "Non-standard but commonly implemented 3D functions"
defmacro max_distance(geometryA, geometryB) do
quote do: fragment("ST_3DMaxDistance(?,?)", unquote(geometryA), unquote(geometryB))
end
end