[postgis-devel] sfcgal && extensions

Paragon Corporation lr at pcorp.us
Mon Sep 30 19:34:50 PDT 2013


 >  So if i hear you, there's a need to something like postgis_sfcgal
extension,
 >  in the next 2.2 that's it ? 
Correct. I think its too early to demand people compile with sfcgal (heck I
haven't yet and I don't think anyone except you and Bborie on core PostGIS
dev team have).  
Perhaps in a later release after others have done it we can fold the 2 into
one extension again.
 
 
> 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'

So are you saying you can't use SFCGAL functionality unless you load the
sfcgal.sql since that contains the backend call to switch the backend?
 
  
What about the scenario where you 
1) compile with PostGIS with SFCGAL
2) you just do regular CREATE EXTENSION?
 
I presume that will just use GEOS and sfcgal will stay dormant.
 
That would suggest that the 
 
CREATE EXTENSION postgis_sfcgal;
 
should load the functions and switch the backend.  Though not sure how
doable that is.
 
On a separate note Sandro was saying we should have a section in the docs
that describes these GUCS.  I believe raster has one as well in 2.2
and Sandro and Paul were threatening to create more for things like
ST_Simplify behavior and some other thing like curve output behavior. 


 Thanks,
Regina 


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


More information about the postgis-devel mailing list