<div dir="ltr">Not that I have a vote, but I'd agree with Regina. Wipe away the crust, begin anew. Awesome additions!<div><br></div><div>Best,</div><div>Steve</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 21, 2015 at 9:43 PM, Paragon Corporation <span dir="ltr"><<a href="mailto:lr@pcorp.us" target="_blank">lr@pcorp.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm all for supporting just the newer SFCGAL if no distributions currently<br>
provide it.<br>
<br>
Thanks,<br>
Regina<br>
<div><div class="h5"><br>
-----Original Message-----<br>
From: <a href="mailto:postgis-devel-bounces@lists.osgeo.org">postgis-devel-bounces@lists.osgeo.org</a><br>
[mailto:<a href="mailto:postgis-devel-bounces@lists.osgeo.org">postgis-devel-bounces@lists.osgeo.org</a>] On Behalf Of Vincent Mora<br>
Sent: Wednesday, January 21, 2015 1:15 PM<br>
To: PostGIS Development Discussion<br>
Subject: [postgis-devel] SFCGAL 1.1.0 support<br>
<br>
Hi all,<br>
<br>
We released SFCGAL 1.1.0 this week, and here is a patch to support it.<br>
<br>
Spoiler: the new functions are ST_3DUnion, ST_3DDifference and ST_Volume<br>
(and an SFCGAL backend for ST_Union, ST_Difference).<br>
<br>
This patch is not meant to be included as is, but to provide a base for<br>
discussion. A summary of the modifications in the patch follows.<br>
<br>
There are parts of the patch that are bug fixes and that do not depend on<br>
SFCGAL 1.1.0 and can be included right away.<br>
<br>
The points that I'd most like feedback on are:<br>
- do we need to support older versions of SFCGAL ?<br>
- how to make a nice section in the doc explaining the backend mechanism ?<br>
<br>
My two cents on the first question: there is no distro provided binaries of<br>
SFCGAL that I'm aware of, so, since you have to recompile SFCGAL, you may as<br>
well recompile the new shiny one rather than an old dusty one.<br>
<br>
Thanks,<br>
<br>
V.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Summary of the modifications in the patch (the parts specific to SFCGAL<br>
1.1.0 are tagged as such):<br>
<br>
<br>
In liblwgeom/lwgeom_sfcgal.c<br>
- fix bug for conversion of multisolid (caused extruded multypolygon to<br>
miss the solid flag)<br>
<br>
In postgis/lwgeom_backend_api.c<br>
- added backend switch for difference and union *SFCGAL 1.1.0*<br>
<br>
In postgis/lwgeom_geos.h and postgis/lwgeom_geos.c<br>
- changed the name of difference and union *SFCGAL 1.1.0*<br>
- exposed those renamed functions *SFCGAL 1.1.0*<br>
<br>
In postgis/lwgeom_sfcgal.c<br>
- added difference, union, volume *SFCGAL 1.1.0*<br>
- added makesolid and issolid<br>
<br>
In postgis/<a href="http://sfcgal.sql.in" target="_blank">sfcgal.sql.in</a><br>
- added ST_3DDifference, ST_3DUnion and ST_Volume *SFCGAL 1.1.0*<br>
- added ST_MakeSolid and ST_IsSolid<br>
<br>
In regress/sfcgal/concave_hull.sql<br>
- fixed test failure caused by insufficient tolerance *SFCGAL 1.1.0*<br>
<br>
In regress/sfcgal/empty.sql, regress/sfcgal/empty_expected,<br>
regress/sfcgal/regress_ogc.sql and regress/sfcgal/regress_ogc_expected<br>
- fixed test to avoid failure on equivalent representation of a polygon<br>
(different starting point for a ring) *SFCGAL 1.1.0*<br>
<br>
<br>
<br>
<br>
</div></div>_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org">postgis-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel</a><br>
</blockquote></div><br></div>