The "fillxsectionkeyvalues" web service provides meta data about a 2D line.
A typical URL is: http://myserver.mycompany.com:8080/INTGeoServer/json/fillxsectionkeyvalues?json={"filePath":"Linea-22.xgy","traceIndex":1,"epsgCode":4326,"query":{"queryType":"seismicRange","keys":[{"name":"TraceNumber","min":0,"max":100,"step":1.0}]}}
The following parameters are available:
filePath: the relative path of the specified dataset. This web service only works with 2D lines. This is a required parameter. If a path encoder is used, this path is encoded.
traceIndex: the trace index which values will be filled for. If this value is not a valid trace index, the response will be empty. This is a required parameter.
query: the query which will be used before getting the trace index. See more about queries here. This is a required parameter.
epsgCode: the EPSG code to transform the values to. This is an optional parameter.
Here is an example response. This response has been formatted to improve readability
{
"X":470029.5,
"Y":9822740.0,
"projectedX":428313.6,
"projectedY":7583948.2
}
The X entry is the x value of the 2D line for the given trace.
The Y entry is the y value of the 2D line for the given trace.
The projectedX entry is the x value after being transformed to the new EPSG code.
The projectedY entry is the y value after being transformed to the new EPSG code.