API Reference GeoSQL v#1.3.0

View Source

Modules

GeoSQL provides access to GIS functions in SQL databases via Ecto. PostGIS 3.x and Spatialite are currently supported.

Commonly supported, but non-standard, GIS SQL functions. These are found in multiple database implementations, though they may differ in minor syntactical details in each implementation.

Non-standard but commonly implemented 3D functions

Non-standard but commonly implement Topological functions which can be applied to a toplogy object.

Geometry types for use with ecto. Supported types include

A utility type to pin a number to a 32-bit integer, as required by some SQL functions. Can be used in Ecto schemas as GeoSQL.Int4 or dynamically in queries such as type(^layer.srid, GeoSQL.Int4).

Functions from the SQL/MM standard that can used in Ecto queries.

SQL/MM3 3D functions, typically prefixed with ST_3D or CG_3D in the standard.

SQL/MM3 Topological functions which can be applied to a toplogy object.

Non-standard GIS functions found in PostGIS.

A type extension for PostGIS data in PostgreSQL databases.

Non-standard GIS operators found in PostGIS.

Non-standard PostGIS 3D functions

Topological functions implemented in PostGIS which can be applied to a toplogy object.

In addition to support for functions related to Mapbox vector tiles, this module also provides support for generating complete tiles via generate/6.

Utilities to make queries easier to produce

A wrapper around WKB binaries to allow them to be differentiated from other binaries.

Helpers for working with Ecto Repo modules.

Non-standard GIS functions found in Spatialite.

A type extension for ecto_sqlite3 that implements storage and retrieval of geo structs for Spatialite databases.