Changes between Version 51 and Version 52 of WKTRaster/SpecificationWorking03


Ignore:
Timestamp:
Apr 6, 2011, 7:53:46 AM (13 years ago)
Author:
Bborie Park
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/SpecificationWorking03

    v51 v52  
    233233
    234234_ST_AsGDALRaster(rast raster, format text, options text[], srs text)
     235
     236----
     237
     238'''ST_getGDALDrivers() -> set of record'''
     239
     240As each GDAL installation may be different and ST_AsGDALRaster can be used to support formats other than GTiff, JPEG and PNG, a method is needed to expose to the end user the possible GDAL formats capable of being exported.  This function will output the following columns.
     241
     242  idx: the internal GDAL index number
     243
     244  short_name: the GDAL format code.  This is the value to pass to the format paramenter of ST_AsGDALRaster
     245
     246  long_name: the full name of the GDAL format
     247
     248  create_options: the creation options available for the format as an XML string.
     249
     250The formats outputted from ST_getGDALDrivers have been filtered to only those that the GDAL capabilities !CreateCopy and Virtual IO support.
     251
     252'''Open Question:''' Should the GDAL raster process be capable of supporting the GDAL capability Create?  As the GDAL raster process writes nothing to a file in the filesystem (via Virtual IO), should there be support for writing the output GDAL raster temporarily to the filesystem?  If so, how is it done in other PostgreSQL extensions in a secure manner?
     253
    235254
    236255----