Changes between Version 34 and Version 35 of UsersWikiplpgsqlfunctions


Ignore:
Timestamp:
08/05/20 15:50:59 (4 years ago)
Author:
mdavis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiplpgsqlfunctions

    v34 v35  
    44This is an area to put utility functions or wrappers around PostGIS.
    55
    6 == Rotate Geometry around a point(geom,x,y) ==
    7 {{{
    8 #!sql
    9 CREATE OR REPLACE FUNCTION RotateAtPoint(the_geom geometry, pt_x double precision, pt_y double precision, rotrads double precision)
     6== Rotate Geometry around a Point ==
     7{{{
     8#!sql
     9CREATE OR REPLACE FUNCTION RotateAtPoint(
     10  geom geometry, pt_x double precision, pt_y double precision, angle double precision)
    1011 RETURNS geometry AS
    1112$$
     
    1516}}}
    1617
    17 == Construct Ellipse ( x,y, rx,ry [,rotation [,#of segments in 1/4 of ellipse] ] ) ==
    18 {{{
    19 #!sql
    20 CREATE OR REPLACE FUNCTION ST_Ellipse(x double precision, y double precision,
     18== Construct Ellipse ==
     19{{{
     20#!sql
     21CREATE OR REPLACE FUNCTION ST_Ellipse(
     22  x double precision, y double precision,
    2123  rx double precision, ry double precision,
    2224  rotation double precision DEFAULT 0.0,
     
    175177{{{
    176178#!sql
    177  CREATE OR REPLACE FUNCTION daylength(geometry, date)
     179CREATE OR REPLACE FUNCTION daylength(geometry, date)
    178180 RETURNS double precision AS
    179181$$