The "seismicfindtraceswithin" web service provides information about trace indices
A typical URL is http://myserver.mycompany.com:8080/INTGeoServer/api/ds/{datasourcetype}/v1/sources/{datasource}/seismic/{seismicuniqueid}/traceindices
where
datasourcetype: type of a datasource, i.e. geofiles, s3, etc.
datasource: unique id of a datasource
seismicuniqueid: unique id of a seismic
The following parameters are available:
query: the query that will be run on the dataset. See the seismicquery web service for more information.
subquery: a JSON object representing a query within a main query. This is an optional parameter. The default is entire dataset.
keepmissingtraces: indicates whether missing traces should be included. This is an optional parameter. The default is true.
searchorder: indicates the order of the traces to find. This is an optional parameter. The default is ascending.
maxnumberoftraces: indicates the maximum number of traces to find. This is an optional parameter. The default is 1.
Here is an example response. This response has been formatted to improve readability.
{
"from": {
"actor": "akka://DefaultActorSystemControllerActorSystem:FindTracesWithinJsonActor:FindTracesWithinResponse for FindTracesWithinRequest:FindTracesWithinRequest{klass=AbstractSeismicDataFinder, sourceName=0e704862-738a-4b07-9aba-09922ff13d94, uniqueId=c2Vpc21pYy9TRUdTZWlzbWljRGVwdGguSA==, sourceType=geofiles, queryString={\"keys\":[{\"name\":\"INLINE\",\"min\":596,\"max\":596,\"step\":1,\"order\":\"asc\"},{\"name\":\"XLINE\",\"min\":3760,\"max\":3760,\"step\":1,\"order\":\"asc\"}],\"queryType\":\"seismicRange\"}, rangeQueryString=null, maxMatchingTraces=1, scope=KeepMissingTraces, searchOrder=Ascending}"
},
"data": {
"content": [
0,
1,
2,
3
4,
5,
6,
7,
8,
9,
]
}
}
The content entry is the list of traces indices that match the query. If multiple queries are specified, they will appear in order here.
If the specified seismicuniqueid doesn't match a valid seismic dataset, no JSON response will be provided. The HTTP response will only show a "InvalidUniqueId" (error 404) in its headers.