[postgis-devel] [PostGIS] #926: ST_GeometryN, ST_PointN (input of array) return set
PostGIS
trac at osgeo.org
Fri Apr 29 13:32:31 PDT 2011
#926: ST_GeometryN, ST_PointN (input of array) return set
-------------------------+--------------------------------------------------
Reporter: robe | Owner: pramsey
Type: enhancement | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Keywords: |
-------------------------+--------------------------------------------------
Comment(by bitner):
So.... I haven't quite figured out how to actually use this or if I am
even barking down the right tree, but I have been trying to make sense of
using loess/lowess for some data smoothing.
CREATE OR REPLACE FUNCTION lowess(real[], real[])
RETURNS real[] AS
$BODY$
x <- arg1
y <- arg2
ret <- lowess(y,x,1,1)
return(data.frame(ret))
$BODY$
LANGUAGE plr VOLATILE STRICT
COST 100;
select lowess(ARRAY[0.1,.51,.98,1.53,1.95,2.5],ARRAY[0,1,2,3,4,5]);
I'm testing smoothing x vs. m, y vs. m for flight path data.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/926#comment:5>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list