日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

ST_RasterDrivers

獲得所有Ganos Raster支持的數據源驅動列表。

語法

setof record ST_RasterDrivers(out idx integer,
            out short_name text,
          out long_name text,
          out can_read boolean,
              out can_export boolean,
          out can_asfile boolean,
              out create_options text);

參數

參數名稱

描述

idx

驅動序號。

short_name

驅動名稱縮寫。

long_name

驅動名稱全稱。

can_read

返回值:

can_export

返回值:

  • true:表示文件類型可以在ST_ExportTo函數中使用。

  • false:表示文件類型在ST_ExportTo函數中使用會報錯。

can_asfile

返回值:

create_options

可以使用在ST_ExportToST_AsDatasetFile時創建參數。

示例

-- 查詢netCDF驅動相關信息。
SELECT * FROM
st_rasterdrivers()
where short_name='netCDF';

 idx | short_name |         long_name          | can_read | can_export | can_asfile | 
create_options    

-----+------------+----------------------------+----------+------------+-----------

 36 | netCDF     | Network Common Data Format | t        | t          | t          
| <CreationOptionList>   <Option name='FORMAT' type='string-select' 
default='NC'>     <Value>NC</Value>     <Value>NC2</Value> 
    <Value>NC4</Value>     <Value>NC4C</Value>   </Option>   <Option 
name='COMPRESS' type='string-select' default='NONE'>     <Value>NONE</Value>     
<Value>DEFLATE</Value>   </Option>   <Option name='ZLEVEL' ty
pe='int' description='DEFLATE compression level 1-9' default='1'/>   <Option 
name='WRITE_BOTTOMUP' type='boolean' default='YES'>   </Option>   <Option 
name='WRITE_GDAL_TAGS' type='boolean' default='YES'>   </Opt
ion>   <Option name='WRITE_LONLAT' type='string-select'>     <Value>YES</Value>     
<Value>NO</Value>     <Value>IF_NEEDED</Value>   </Option>   <Option 
name='TYPE_LONLAT' type='string-select'>     <Value>float<
/Value>     <Value>double</Value>   </Option>   <Option name='PIXELTYPE' 
type='string-select' description='only used in Create()'>       
<Value>DEFAULT</Value>       <Value>SIGNEDBYTE</Value>   </Option>   <Opti
on name='CHUNKING' type='boolean' default='YES' description='define chunking 
when creating netcdf4 file'/>   <Option name='MULTIPLE_LAYERS' type='string-
select' description='Behaviour regarding multiple vector l
ayer creation' default='NO'>       <Value>NO</Value>       
<Value>SEPARATE_FILES</Value>       <Value>SEPARATE_GROUPS</Value>   </Option>   
<Option name='CONFIG_FILE' type='string' description='Path to a XML con
figuration file (or content inlined)'/></CreationOptionList>

-- 查詢所有 ST_ImportFrom和ST_CreateRast支持的驅動名稱。
select short_name from 
st_rasterdrivers()  
where can_read =true;

-- 查詢所有 ST_ExportTo 支持的驅動名稱。
select short_name from 
st_rasterdrivers()  
where can_export =true;

-- 查詢所有 ST_AsDatasetFile 支持的驅動名稱。
select short_name from 
st_rasterdrivers()  
where can_asfile =true;