<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Le 14 oct. 2013 à 17:12, Rémi Cura a écrit :</div><div><br></div><div>Rémi,</div></div><div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">[SOLVED]</div></blockquote><div><br></div><div>Goodie,</div><br><blockquote type="cite"><div dir="ltr"><div>I had to put permissive rights on the libSFCGAL.* file in "/usr/local/lib"</div><div>(chmod 777)</div></div></blockquote><div><br></div><div>755 should be enough…</div><div><br></div><div><br></div><blockquote type="cite"><div dir="ltr">Thanks again Olivier for help !</div></blockquote><div><br></div><div>You're welcome, any feedback at this stage is really appreciated...</div><div><br></div><br><blockquote type="cite"><div dir="ltr"><div>PS : may I suggest to add those lines at the end of the "installation" page in the github of SFCGAL.</div><div>""""""""</div><div><div style="font-family:arial,sans-serif;font-size:12.666666984558105px">
<b>Right now (and until 2.2.0) sfcgal doesn't use EXTENSION</b></div><div style="font-family:arial,sans-serif;font-size:12.666666984558105px"><b>so we need to create the spatial database with the old school method:</b></div>
<div style="font-family:arial,sans-serif;font-size:12.666666984558105px"><b><br></b></div><div style="font-family:arial,sans-serif;font-size:12.666666984558105px"><b>cd /usr/share/postgresql/9.3/contrib/postgis-2.1</b></div>
<div style="font-family:arial,sans-serif;font-size:12.666666984558105px"><b><span style="font-family:arial;font-size:small">psql -d your_database -f postgis.sql</span><br></b></div><div style="font-family:arial,sans-serif;font-size:12.666666984558105px">
<b>psql <span style="font-family:arial;font-size:small">your_database </span><span style="font-family:arial;font-size:small">-f </span> spatial_ref_sys.sql</b></div><div style="font-family:arial,sans-serif;font-size:12.666666984558105px">
<b>psql <span style="font-family:arial;font-size:small">your_database </span><span style="font-family:arial;font-size:small">-f </span> sfcgal.sql</b></div></div></div></blockquote><br></div><div><br></div><div>Well even if SFCGAL is for now use in conjunction with PostGIS,</div><div>we could imagine to use it without PostGIS…</div><div>(as others softwares than PostGIS use GEOS too)</div><div><br></div><div><br></div><div>So this documentation installation step is more relevant in PostGIS doc…</div><div>And your right i was supposed to write SFCGAL Install Part in 8.10,</div><div>and still not done it... </div><div><a href="http://postgis.net/docs/manual-dev/reference.html#reference_sfcgal">http://postgis.net/docs/manual-dev/reference.html#reference_sfcgal</a></div><div><br></div><div>I will so do it soon !</div><div><br></div><div><br></div><div>Right now the more recent documentation related to installation/usage</div><div>is the FOSS4G Workshop about PostGIS 3D:</div><div><a href="https://github.com/Oslandia/Workshops/tree/master/FOSS4G_2013_PostGIS_3D">https://github.com/Oslandia/Workshops/tree/master/FOSS4G_2013_PostGIS_3D</a></div><div><br></div><div><br></div><div>HTH,</div><div><br></div><div><br></div><div>O.</div></body></html>