Liking cljdoc? Tell your friends :D

psql.spatial

Constructors for PostGIS geometry objects.

(require '[psql.spatial :as st])

Constructors for PostGIS geometry objects.

(require '[psql.spatial :as st])
raw docstring

geographyclj

(geography geometry)

Tag a geometry with SRID 4326 (WGS84) so it can be stored in a PostGIS geography column, which requires a known SRID.

Tag a geometry with SRID 4326 (WGS84) so it can be stored in a PostGIS
`geography` column, which requires a known SRID.
sourceraw docstring

line-stringclj

(line-string points)

Make a LineString from a collection of points.

Make a LineString from a collection of points.
sourceraw docstring

linear-ringclj

(linear-ring points)

Used for constructing Polygons from Points.

Used for constructing Polygons from Points.
sourceraw docstring

multi-line-stringclj

(multi-line-string line-strings)

Make a MultiLineString from a collection of LineStrings.

Make a MultiLineString from a collection of LineStrings.
sourceraw docstring

multi-pointclj

(multi-point points)

Make a MultiPoint from a collection of Points.

Make a MultiPoint from a collection of Points.
sourceraw docstring

multi-polygonclj

(multi-polygon polygons)

Make a MultiPolygon from a collection of Polygons.

Make a MultiPolygon from a collection of Polygons.
sourceraw docstring

pg-geomclj

(pg-geom geometry)

Wrap a geometry in the lightweight PGgeometry envelope for JDBC.

Wrap a geometry in the lightweight PGgeometry envelope for JDBC.
sourceraw docstring

pointclj

(point coll-or-str)
(point x y)
(point x y z)

Make a 2D or 3D Point.

Make a 2D or 3D Point.
sourceraw docstring

polygonclj

(polygon linear-rings)

Make a Polygon from a collection of LinearRings.

Make a Polygon from a collection of LinearRings.
sourceraw docstring

sridclj

(srid geometry)

Return the SRID of a geometry object.

Return the SRID of a geometry object.
sourceraw docstring

with-srid!clj

(with-srid! geometry srid)

Return the geometry object with SRID set. Mutates the object.

Return the geometry object with SRID set. Mutates the object.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close