<div dir="ltr"><div>Hi Brian<br><br></div>Thx for the info, but what I really need is where to <br><pre class="">postgis.gdal_enabled_drivers = 'ENABLE_ALL'<br><br></pre><pre class="">and postgis.enable_outdb_rasters=1<br><br></pre><pre class="">in Ubuntu 14.04, and system wide<br><br></pre><pre class="">I did it previously in my .bashrc, but for some reason its not working now.<br><br></pre><pre class="">Pieter<br></pre></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 23, 2016 at 6:58 PM, Brian M Hamlin <span dir="ltr"><<a href="mailto:maplabs@light42.com" target="_blank">maplabs@light42.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<p>Hi Pieter --</p>
<p> </p>
<p> I have an a2 build running in a VM.</p>
<p> </p>
<p>user@live95a:~$ locate raster.tif <= there is an example
file for a QGis plugin called this</p>
<p>user@live95a:~$ gdalinfo /path/to/raster.tif</p>
<p> hmm non-trivial .. open qgis to let qgis do the work</p>
<p> qgis shows the projection is EPSG:32633</p>
<p> </p>
<p>user@live95a:~$ createdb raster_test</p>
<p>user@live95a:~$ psql -c 'create extension postgis' raster_test</p>
<p>user@live95a:~$ psql -c 'select postgis_full_version()' raster_test</p>
<p> yes, RASTER is enabled</p>
<p> use raster2pgsql to load a raster, as per PostGIS raster manual</p>
<p> </p>
<p>user@live95a:~$ raster2pgsql -s 32633 -I -C /path/to/raster.tif raster_test
| less</p>
<p> inspect output, yes looks valid</p>
<p> </p>
<p>user@live95a:~$ raster2pgsql -s 32633 -I -C /path/to/raster.tif raster_test
| psql raster_test</p>
<p>user@live95a:~$ psql -c '\d raster_test'</p>
<p> note rid, rast columns.. lots of other detail</p>
<p> better command line would name the tables, split into tiles,
etc...</p>
<p> </p>
<p> hth --Brian</p><div><div class="h5">
<p> </p>
<p><br><br>On Sat, 23 Jan 2016 16:45:50 +0200, Pieter du Plooy
<<a href="mailto:pjduplooy@zpanelcp.com" target="_blank">pjduplooy@zpanelcp.com</a>> wrote:</p>
</div></div><blockquote style="border-left:2px solid #000000;padding-right:0px;padding-left:5px;margin-left:5px;margin-right:0px"><div><div class="h5">
<div>
<div>
<div>
<div>I am struggling to enable postgis gdal drivers and outdb rasters on Ubuntu
(using postgis from the osgeolive nightly, so its for trusty.<br><br>How do I go
about enabling them in Ubuntu Trusty?<br><br>I have tried setting it in
.profile, as well as .bashrc systemwide etc..., but no luck.<br><br>Any
help?<br><br>
</div>
Regards<br><br>
</div>
Pieter</div>
</div>
<br></div></div><hr>
<br> _______________________________________________<br> Live-demo mailing
list<br> <a href="mailto:Live-demo@lists.osgeo.org" target="_blank">Live-demo@lists.osgeo.org</a><br><a href="http://../hwebmail/services/go.php?url=http%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Flive-demo" target="_blank">http://lists.osgeo.org/mailman/listinfo/live-demo</a><br><a href="http://../hwebmail/services/go.php?url=http%3A%2F%2Flive.osgeo.org" target="_blank">http://live.osgeo.org</a><br><a href="http://../hwebmail/services/go.php?url=http%3A%2F%2Fwiki.osgeo.org%2Fwiki%2FLive_GIS_Disc" target="_blank">http://wiki.osgeo.org/wiki/Live_GIS_Disc</a>
</blockquote>
<p><br><br></p>
<p><br> --<br>Brian M Hamlin<br> OSGeo California Chapter<br>
<a href="http://blog.light42.com" target="_blank">blog.light42.com</a><br></p>
<p> </p>
</div>
</blockquote></div><br></div>