readDGGSJSON

Module: dggal

DGGSJSON readDGGSJSON(File f)

Description

Function to read DGGS-JSON data files, storing raster data quantized to a particular DGGRS for a specific DGGRS zone at one or more depths relative to that parent zone

Parameters

File  Opened file object 
 
Return Value DGGSJSON  An object representing the DGGS-JSON data 

Example

File f = FileOpen("someFile.dggs.json", read);
if(f)
{
DGGSJSON dggsJSON = readDGGSJSON(f);
if(dggsJSON)
{
// See DGGAL/commands/togeo.ec for full example converting DGGS-JSON to GeoJSON
delete dggsJSON;
}
delete f;
}

See Also


FileOpen