[postgis-users] LWGEOM update

David Blasby dblasby at refractions.net
Thu Apr 8 11:01:32 PDT 2004


There's been a lot of work done on the LWGEOM type - I thought I'd give 
a summary so people would know whats going on.

1.  Well Known Binary (WKB) parser  -- convert WKB to a LWGEOM object
2.  Well Known Binary (WKB) writer  -- convert LWGEOM object to WKB
3.  Supports 2D, 3D, and 4D coordinates
4.  Well Known Text   (WKT) writer  -- convert LWGEOM object to WKT
5.  The API is finished and somewhat tested.  I dont anticipate adding
     more functions to the base API.

TO DO:
-----

1. Well Know Text (WKT) parser -- convert WKT to a LWGEOM object
2. Better support for SRID's.  The canonical LWGEOM form is just WKB - I 
want to make it "SRID=<srid>;<wkb>" much like the current PostGIS 
canonical form.
3. GiST indexing support.  This might require some minor changes to the
    datatype to make it more efficient.
4. Testing of the above
5. Transfer all the OGC PostGIS functions to LWGEOM

I've also attached a PowerPoint presentation that has all sorts of 
information about adding custom types to PostgreSQL and details on using 
the LWGEOM type.

dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: custom_types_in_postgresql.ppt
Type: application/vnd.ms-powerpoint
Size: 382976 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20040408/4d3c4879/attachment.ppt>


More information about the postgis-users mailing list