Skip to content
This repository

h1. PostGis Adapter

h2. Functions

h3. Geometry

  • envelope
  • centroid, center
  • simplify

h3. Line Strings

  • length
  • length_spheroid
  • length3d_spheroid
  • locate_point

h3. Points

  • where_on_line

h3. Polygons

  • area
  • perimeter
  • perimeter3d

h3. Relational

  • spattially_equal
  • azimuth

  • distance - Cartesian

  • distance_sphere
  • distance_spheroid, distance_spheric

  • max_distance Returns the largest distance between two line strings. (Not implemented in PostGis)

  • intersects?(geometry) - Do not call with a GeometryCollection as an argument

  • touches?(geometry)
  • crosses?(geometry)

  • within(geometry) - A has to be completely inside B.

  • contains(geometry, geometry)
  • covers(geometry, geometry)
  • covered_by?, inside?(geometry) true if no point in Geometry B is outside Geometry A
  • outside?
  • d_within?, in_bounds?(geometry, geometry, float) - if geom is within dist(float)

  • relate(geometry, geometry, intersectionPatternMatrix)

  • disjoint(geometry, geometry)
  • overlaps
Something went wrong with that request. Please try again.