MvtUtil: Create New JSON Array, Export XY Coords from RefVec.
using JSON Pointer..
ASTER::ACTION::JSON::MvtUtil: Create a new 2D JSON array & export the XY coordinates from the Reference Vector
Specify a path and export the XY coordinates from the Reference Vector into a two-dimensional JSON array.
Create a new JSON array (two-dimensional array) for existing JSON data loaded into memory.
Parameter
Specify the path for creating a new JSON array using a JSON Pointer.
"/expFrmRefVec"Example result when there are Four XY coordinate pairs:
{
"expFrmRefVec":
[
[100, 100],
[100, 200],
[200, 100],
[200, 200]
]
}◆◆ <!-- Imagine this kind of arrangement -->
◆◆Caution:
パス指定先に他のデータがあった場合、既存データは上書きによって配列に置き換えられます。