Revision 7723
Added by Aaron Marcuse-Kubitza almost 12 years ago
schemas/functions.sql | ||
---|---|---|
142 | 142 |
|
143 | 143 |
|
144 | 144 |
-- |
145 |
-- Name: _dms_to_dd(text, text, text, text); Type: FUNCTION; Schema: functions; Owner: - |
|
146 |
-- |
|
147 |
|
|
148 |
CREATE FUNCTION _dms_to_dd(deg text DEFAULT NULL::text, min text DEFAULT NULL::text, sec text DEFAULT NULL::text, dir text DEFAULT NULL::text) RETURNS double precision |
|
149 |
LANGUAGE sql IMMUTABLE |
|
150 |
AS $_$ |
|
151 |
SELECT functions._dms_to_dd($1::double precision, $2::double precision, $3::double precision, $4::functions.compass_dir) |
|
152 |
$_$; |
|
153 |
|
|
154 |
|
|
155 |
-- |
|
145 | 156 |
-- Name: _eq(anyelement, anyelement); Type: FUNCTION; Schema: functions; Owner: - |
146 | 157 |
-- |
147 | 158 |
|
Also available in: Unified diff
schemas/functions.sql: Added _dms_to_dd() that takes text arguments and casts them to the appropriate type