The "gridsurfacequery" web service provides cell values of a grid surface dataset
A typical URL for horizon query is: http://myserver.mycompany.com:8080/INTGeoServer/json/gridsurfacequery?filePath=gridsurfaces_BaseSaltDepthSediM.grid
The following parameters are available:
filePath: the relative path of the specified dataset. This is a required parameter. If a path encoder is used, this path is encoded
dataName: to use in case a grid surface dataset is a collection of multiple grid surfaces. This specifies the name of the grid surface to retrieve
Here is an example response. This response has been formatted to improve readability
{
"attributes":[
{
"identifier":2,
"rowNumbers":[
116,
117,
118,
119,
120,
...],
"columnNumbers": [
45,
45,
45,
45,
45,
45,
...],
"values": [
3108.5225,
3222.2383,
3288.4558,
3365.7083,
3442.7954,
3542.7273
...],
}
]
}
The attributes node contains the values of all cells for the specified grid surface
Each value in the values node has a matching row and column number in the rowNumbers and columnNumbers nodes.
In the example above, the cell with the row number 116 and the column number 45 has a value of 3222.2383. Row and column numbers start at 0.