From 2d71a31b1c589e3fb8f856c53da6ba7577b12ed1 Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Wed, 14 Apr 2010 14:48:28 +0000 Subject: [PATCH] another example of gdal_translate git-svn-id: http://svn.osgeo.org/postgis/trunk@5549 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/faq_wktraster.xml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/faq_wktraster.xml b/doc/faq_wktraster.xml index 6cebd672c..6c5a95fb8 100644 --- a/doc/faq_wktraster.xml +++ b/doc/faq_wktraster.xml @@ -81,7 +81,9 @@ will not translate easily to JPG or some others. Here is an example simple translation gdal_translate -of PNG -outsize 10% 10% "PG:host=localhost dbname='mygisdb' user='postgres' password=whatever' schema='someschema' table=sometable" C:\somefile.png - You can also use SQL where clauses in your export using the where=... in your driver connection string. + You can also use SQL where clauses in your export using the where=... in your driver connection string. + Below is one using a where clause + gdal_translate -of PNG -outsize 10% 10% "PG:host=localhost dbname='mygisdb' user='postgres' password=whatever' schema='someschema' table=sometable where="owner='jimmy'" " C:\somefile.png To see more examples and syntax refer to Reading Raster Data of PostGIS WKT Raster section @@ -92,14 +94,15 @@ - You can use MapServer compiled with GDAL 1.7+ and PostGIS WKT Raster driver support to view Raster data. In - theory any tool that renders data using GDAL can support PostGIS raster data or support it with fairly minimal effort. + You can use MapServer compiled with GDAL 1.7+ and PostGIS WKT Raster driver support to view Raster data. + In theory any tool that renders data using GDAL can support PostGIS raster data or + support it with fairly minimal effort. - How can I add a PostGIS raster layer to my Mapserver map. + How can I add a PostGIS raster layer to my Mapserver map? -- 2.40.0