The "seismicfindtraceswithin" web service provides meta data about a CRS.
A typical URL is: http://myserver.mycompany.com:8080/INTGeoServer/json/seismicfindtraceswithin?json={"filePath":"cdp_stack.xgy","maxMatchingTraces":10,"scope":"SkipMissingTraces","searchOrder":"Ascending","query":"","findTracesWithinQueries":{"query":{"keys":{"key":{"name":"INLINE","min":170,"max":170}}}}}
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.
maxMatchingTraces: the maximum number of trace indices for each query that will be returned. This is a required parameter.
scope: the whether or not the search should skip missing traces or not. Valid values are "SkipMissingTraces" and "KeepMissingTraces". This is a required parameter.
searchOrder: the order in which traces are searched. Valid values are Ascending or Descending. This is a required parameter.
query: a query which will be used to to select a portion of the seismic data to search within. If left blank, the entire dataset will be used This is a required parameter.
findTracesWithinQueries: one or more queries which will be used to search for traces. This is a required parameter. At least one query needs to be specified here, otherwise no indices will be returned. See more information about seismic queries here.
Here is an example response. This response has been formatted to improve readability.
{
"traceIndexes":[
0,
1,
2,
3,
4,
5,
6,
7,
8,
9
]
}
The traceIndexes entry is the list of traces indices that match the query. If multiple queries are specified, they will appear in order here.