將一個Esri Wkt規范的字符串轉為OGC規范的字符串。

語法

cstring ST_SrFromEsriWkt(cstring sr);

參數

參數名稱 描述
sr1 基于Esri Wkt規范的空間參考字符串。

示例

SELECT ST_srFromEsriWkt('GEOGCS["China Geodetic Coordinate System 2000",DATUM["D_China_2000",SPHEROID["CGCS2000",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]');

st_srfromesriwkt                                                                             
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 GEOGCS["China Geodetic Coordinate System 2000",DATUM["China_2000",SPHEROID["CGCS2000",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]