このトピックでは、ST_FromSuperMap関数について説明します。 この関数は、ハイパーグラフベースのsfmeshオブジェクトを、WGS84 (World Geodetic System 1984) ベースのsfmeshオブジェクトに変換します。
構文
sfmesh ST_FromSuperMap(sfmesh mesh);Parameters
パラメーター | 説明 |
メッシュ | 変換するsfmeshオブジェクト。 |
説明
この関数は、計算を容易にするために、ハイパーグラフベースのsfmeshオブジェクトをWGS84-basedのsfmeshオブジェクトに変換します。 ハイパーグラフベースのsfmeshオブジェクトは、ENU (east-north-up) システムとローカル座標システムを使用して記述されます。 これは、計算およびクエリを不便にする。
例
SELECT ST_AsText(ST_FromSupermap(the_mesh))
FROM t_sm_mesh
numによる注文;
-----------------
{"version" : 1, "srid" : 4326, "root" : 0, "meshes" : [{"root" : 0, "meshgeoms" : ["MESHGEOM(PATCH(POINT Z (116.375228273102 40.000091623698 13.8479756591842)))"]]] 、"primitives" : [{"meshgeom" : 0}] 、"nodes" : [{"primitive"]: 0}], "primitives" : [{"mesh" : 0}], "nodes" : [{"children" : [1]}, {"primitive" : 0}]}