<div dir="ltr">Salut Pierre<div><br></div><div>Can you help on how to display PostGIS Raster in QGIS 2.x exactly?</div><div>I've found this</div><div><span style="font-size:9pt;font-family:'DejaVu Sans',sans-serif"><a href="http://postgis.17.x6.nabble.com/Problem-with-postgis-raster-td5006344.html">http://postgis.17.x6.nabble.com/Problem-with-postgis-raster-td5006344.html</a></span><br>
</div><div>but it's not specific on how to achieve this.</div><div><br></div><div>In addition, do you think QGIS needs a Python plugin (before it manages to be adapted by QGIS core)?</div><div><br></div><div>Yours, Stefan</div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-05 20:40 GMT+02:00 Pierre Racine <span dir="ltr"><<a href="mailto:Pierre.Racine@sbf.ulaval.ca" target="_blank">Pierre.Racine@sbf.ulaval.ca</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">These variables are system variables, not PostgreSQL variables. to know how to set them in your system search for "set environment variable os x".<br>
<br>
Pierre<br>
<div><div class="h5"><br>
> -----Original Message-----<br>
> From: <a href="mailto:postgis-users-bounces@lists.osgeo.org">postgis-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:postgis-users-">postgis-users-</a><br>
> <a href="mailto:bounces@lists.osgeo.org">bounces@lists.osgeo.org</a>] On Behalf Of John Payne<br>
> Sent: Sunday, June 01, 2014 10:25 AM<br>
> To: <a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
> Subject: [postgis-users] raster support<br>
><br>
> I want to store raster data in PostGIS. I am using Postgresql 9.2.4 with<br>
> PostGIS 9.1.0 on a Mac Powerbook running OS X 10.8.5. I want to use the<br>
> command "raster2pgsql" but I get an error message saying that the type<br>
> "raster" was not recognized.<br>
><br>
> I think the problem may be (from Chapter 2.1 of the PostGIS manual):<br>
><br>
><br>
> "As of PostGIS 2.1.3, out-of-db rasters and all raster drivers are disabled by<br>
> default. In order to re-enable these, you need to set the following<br>
> environment variables:POSTGIS_GDAL_ENABLED_DRIVERS and<br>
> POSTGIS_ENABLE_OUTDB_RASTERS in the server environment"<br>
><br>
><br>
> I tried adding the following to the end of my postgresql.conf file:<br>
> POSTGIS_GDAL_ENABLED_DRIVERS=ENABLE_ALL<br>
> POSTGIS_ENABLE_OUTDB_RASTERS=1<br>
> However, it generated an error message saying that the variables weren't<br>
> recognized. Can anyone tell me how to set them?<br>
><br>
> Thanks,<br>
><br>
> John<br>
</div></div>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br></div>