[postgis-users] Concave hull problem & delaunay triangulation - help needed please

Simon Greener simon at spatialdbadvisor.com
Sat Sep 1 00:08:17 PDT 2012


Brent,

> I have Simon's code working fine, at least using his example invocation, from:
> http://www.spatialdbadvisor.com/postgis_tips_tricks/290/r-based-delaunay-triangulation-function-for-postgis-using-the-deldir-package
>
> But I can't figure out how to make it work with my point data. I don't know R or PL/R well enough to adapt it.
>
> I have a set of sample points in a table:
>
>  Column |      Type       |                                  --------+-----------------+-----------------
>  id     | integer         | not null default
>  geom   | geometry(Point) |
> Can anyone explain, ideally in words of one syllable or less, how Simon's function from the link above needs to be adapted to read my points >dataset as input?


Try something like this:

>
>> Once I get the triangles as an output set I can use Postgis for the rest...
>
> Thanks,
>
>   Brent Wood
>
>




-- 
Holder of "2011 Oracle Spatial Excellence Award for Education and Research."
SpatialDB Advice and Design, Solutions Architecture and Programming,
Oracle Database 10g Administrator Certified Associate; Oracle Database 10g SQL Certified Professional
Oracle Spatial, SQL Server, PostGIS, MySQL, ArcSDE, Manifold GIS, FME, Radius Topology and Studio Specialist.
39 Cliff View Drive, Allens Rivulet, 7150, Tasmania, Australia.
Website: www.spatialdbadvisor.com
Email: simon at spatialdbadvisor.com
Voice: +61 362 396397
Mobile: +61 418 396391
Skype: sggreener
Longitude: 147.20515 (147° 12' 18" E)
Latitude: -43.01530 (43° 00' 55" S)
GeoHash: r22em9r98wg
NAC:W80CK 7SWP3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120901/0e82bf2a/attachment.html>


More information about the postgis-users mailing list