[postgis-devel] sfcgal && extensions

Oliver Courtin olivier.courtin at oslandia.com
Mon Sep 30 08:59:15 PDT 2013


Le 27 sept. 2013 à 22:31, Paragon Corporation a écrit :

Hi,

> Yes,  It can't be part of postgis extension anyway.  It has to be a separate extension like point cloud. Otherwise we'd have to force everyone to start building with SFCGAL since it adds additional functions not supported natively by PostGIS or GEOS and we can't have two different postgis extensions of same version with disparate number of functions.

So if i hear you, there's a need to something like postgis_sfcgal extension,
in the next 2.2 that's it ?


>  Internally, and Olivier can correct me if I am wrong.  I think SFCGAL surplants some functions because of the flipping of back ends when compiled with SFCGAL so for the functions where SFCGAL overlaps with main PostGIS, SFCGAL overrides the GEOS behavior even when sfcgal.sql is not installed.  That part is very hazy to me though.


There's something somehow related in this specific use case:

 - You compile PostGIS with SFCGAL
 - You don't load sfcgal.sql
 - You choose to force PostGIS backend to sfcgal
 - You call a function related to PostGIS backend

And the result will be something like 'undefined function'



O.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20130930/3fe46ad8/attachment.html>


More information about the postgis-devel mailing list