[postgis-devel] Making SFCGAL mandatory

Darafei "Komяpa" Praliaskouski me at komzpa.net
Wed Nov 14 05:45:24 PST 2018


>
> If I understand correctly, it would help to have something like a
> postgis_sfcgal.so as an optional library that brings SFCGAL
> functionalities rather than having only one postgis.so with or without
> SFCGAL in it ?
>
> I am pretty sure there is a way to make the backend switch more
> "dynamic" and work with a separate library, but I would have to dig a
> bit deeper.


It would be beneficial. Right now there's no mechanism for third party to
bring in a replacement for PostGIS functions and get them selected in
postgis.backend GUC - the way it is done now is by providing a compile-time
list in postgis.so that will somehow delegate to one or other function.

If someone provides a javascript implementation for say
ST_DelaunayTriangles, they can't simply drop into it at all, apart from
renaming and wrapping it all into more layers and having strong
dependencies on creation order.
-- 
Darafei Praliaskouski
Support me: http://patreon.com/komzpa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20181114/55ed5baa/attachment.html>


More information about the postgis-devel mailing list