[postgis-devel] SFCGAL 1.1.0 support

Stephen Mather stephen at smathermather.com
Wed Jan 21 20:03:37 PST 2015


Not that I have a vote, but I'd agree with Regina. Wipe away the crust,
begin anew. Awesome additions!

Best,
Steve


On Wed, Jan 21, 2015 at 9:43 PM, Paragon Corporation <lr at pcorp.us> wrote:

> I'm all for supporting just the newer SFCGAL if no distributions currently
> provide it.
>
> Thanks,
> Regina
>
> -----Original Message-----
> From: postgis-devel-bounces at lists.osgeo.org
> [mailto:postgis-devel-bounces at lists.osgeo.org] On Behalf Of Vincent Mora
> Sent: Wednesday, January 21, 2015 1:15 PM
> To: PostGIS Development Discussion
> Subject: [postgis-devel] SFCGAL 1.1.0 support
>
> Hi all,
>
> We released SFCGAL 1.1.0 this week, and here is a patch to support it.
>
> Spoiler: the new functions are ST_3DUnion, ST_3DDifference and ST_Volume
> (and an SFCGAL backend for ST_Union, ST_Difference).
>
> This patch is not meant to be included as is, but to provide a base for
> discussion.  A summary of the modifications in the patch follows.
>
> There are parts of the patch that are bug fixes and that do not depend on
> SFCGAL 1.1.0 and can be included right away.
>
> The points that I'd most like feedback on are:
> - do we need to support older versions of SFCGAL ?
> - how to make a nice section in the doc explaining the backend mechanism ?
>
> My two cents on the first question: there is no distro provided binaries of
> SFCGAL that I'm aware of, so, since you have to recompile SFCGAL, you may
> as
> well recompile the new shiny one rather than an old dusty one.
>
> Thanks,
>
> V.
>
>
>
>
>
>
>
>
>
>
> Summary of the modifications in the patch (the parts specific to SFCGAL
> 1.1.0 are tagged as such):
>
>
> In liblwgeom/lwgeom_sfcgal.c
> - fix bug for conversion of multisolid (caused extruded multypolygon to
> miss the solid flag)
>
> In postgis/lwgeom_backend_api.c
> - added backend switch for difference and union *SFCGAL 1.1.0*
>
> In postgis/lwgeom_geos.h and postgis/lwgeom_geos.c
> - changed the name of difference and union *SFCGAL 1.1.0*
> - exposed those renamed functions *SFCGAL 1.1.0*
>
> In postgis/lwgeom_sfcgal.c
> - added difference, union, volume *SFCGAL 1.1.0*
> - added makesolid and issolid
>
> In postgis/sfcgal.sql.in
> - added ST_3DDifference, ST_3DUnion and ST_Volume *SFCGAL 1.1.0*
> - added ST_MakeSolid and ST_IsSolid
>
> In regress/sfcgal/concave_hull.sql
> - fixed test failure caused by insufficient tolerance *SFCGAL 1.1.0*
>
> In regress/sfcgal/empty.sql, regress/sfcgal/empty_expected,
> regress/sfcgal/regress_ogc.sql and regress/sfcgal/regress_ogc_expected
> - fixed test to avoid failure on equivalent representation of a polygon
> (different starting point for a ring) *SFCGAL 1.1.0*
>
>
>
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20150121/3f7d43ce/attachment.html>


More information about the postgis-devel mailing list