The "enumeratedtraces" web service provides all trace header and sample values for a selection of traces. This web service is typically used when a client doesn't need to download all traces matching a query, and only needs to download the visible/non-decimated/non-cached traces instead. For performance reasons, these values are provided in the form of a binary stream instead of JSON objects.
Unlike the seismictraces web service, which uses the HTTP GET method, the enumerated traces web service uses the HTTP POST method. This is done because an arbitrary number of traces can be requested, which may make the URL too long for the GET method.
A typical URL of that POST is:
http://myserver.mycompany.com:8080/INTGeoServer/json/enumeratedtraces
The following is a typical JSON object that is used as part of the POST request. The parameter name is json. This value of this parameter has been formatted to improve readability:
{
"file":"cdp_stack.xgy",
"byteOrder":"BIG_ENDIAN",
"query":{
"queryType":"seismicRange",
"keys":[
],
"traceOrder":1
},
"data":{
"samples":true,
"headers":true,
"byteOrder":"BIG_ENDIAN",
"traceIndexes":[
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14
]
}
}
The output of this web service is identical to the output of the seismictraces web service.