[postgis-users] Function for creating TIN using tripack fortran codes(Adding convex hull)
Hisaji ONO
hi-ono at mn.xdsl.ne.jp
Thu Jun 6 10:55:20 PDT 2002
Hello.
I added Convex Hull function(result will be POLYGON) into my "tin.c"
codes.
Comiling is in same manner as former one.
And create chull (convex hull) function like this.
CREATE FUNCTION chull(GEOMETRY)
RETURNS GEOMETRY
AS 'C:/cygwin/usr/src/postgresql-7.2.1/contrib/postgis-0.7.1/postgis.dll',
'create_chull'
LANGUAGE 'c' with (isstrict);
You can use this function like this.
select chull(collect(the_geom)) from point_table;
However, I know JTS supports Convex Hull.
Regards.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tin.c
Type: application/octet-stream
Size: 12046 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20020607/bfa70f77/attachment.obj>
More information about the postgis-users
mailing list