[postgis-users] Make a polygon

Ed Linde edolinde at gmail.com
Fri Nov 2 01:59:47 PDT 2012


Hi All,
I have 3D points generated from a script and I want to compute a convex
hull over these
points to make a polygon. Wondering how I can get these points in?
Is this a geometry collection or is MULTIPOINT?
I need to basically build this SQL in my script and add in all these points.

Cheers,
Ed.


Format of my points:

          {
            'sy' => '83.8422270354043',
            'sz' => '820.463109185838',
            'sx' => '16.1577729645957'
          },
          {
            'sy' => '84.0763234092944',
            'sz' => '820.369470636282',
            'sx' => '15.9236765907056'
          },
          {
            'sy' => '84.0763234092944',
            'sz' => '820.369470636282',
            'sx' => '15.9236765907056'
          },
          {
            'sy' => '84.0763234092944',
            'sz' => '820.369470636282',
            'sx' => '15.9236765907056'
          }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20121102/33e4e609/attachment.html>


More information about the postgis-users mailing list