[postgis-devel] [PostGIS] #901: [raster] ST_AsGDALRaster and the helper functions ST_getGDALDrivers and ST_srtext

PostGIS trac at osgeo.org
Mon May 16 19:03:58 PDT 2011


#901: [raster] ST_AsGDALRaster and the helper functions ST_getGDALDrivers and
ST_srtext
-----------------------------+----------------------------------------------
  Reporter:  dustymugs       |       Owner:  dustymugs    
      Type:  task            |      Status:  reopened     
  Priority:  medium          |   Milestone:  PostGIS 2.0.0
 Component:  postgis raster  |     Version:  trunk        
Resolution:                  |    Keywords:  history      
-----------------------------+----------------------------------------------

Comment(by robe):

 If I change your function to this:

 {{{
 CREATE OR REPLACE FUNCTION st_gdaldrivers(OUT idx text, OUT short_name
 text, OUT long_name text, OUT create_options text)
   RETURNS SETOF record AS
 '$libdir/rtpostgis-2.0', 'RASTER_getGDALDrivers'
   LANGUAGE c IMMUTABLE STRICT
   COST 1
   ROWS 1000;
 }}}

 It works and gives this output (all the idx are "" or null it seems);


 {{{
         VRT     Virtual Raster
         NITF    National Imagery Transmission Format    <lots of xml>

 :
 :


 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/901#comment:9>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list