The "seismicline" web service provides meta data about a seismic dataset.
A typical URL is: http://myserver.mycompany.com:8080/INTGeoServer/json/seismicline?json={"filePath":"linea-22.xgy","includeRawValues":true, "includeProjectedValues":true, "epsgCode":4326}
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.
includeRawValues: if this is true, the original x and y values of the dataset will be included in the response. These values will not be modified in any way. The default value is true. This is an optional parameter.
includeProjectedValues: if this is true, and the epsgCode parameter has been set, the x and y values will be transformed to the new EPSG code. If the dataset does not have an EPSG code set, this parameter will be ignored. Additionally, if no transform exists between the original and new EPSG codes, the transformed values will be omitted. The default value is true. This is an optional parameter.
epsgCode: the EPSG code to transform the raw values to. If this value has not been set, the projected values will not be a part of the response. This is an optional parameter.
Here is an example response. This response has been formatted to improve readability.
{
"projectedTrajectory":{
"isProjectionComplete":true,
"xValues":[
235014.75,
235020.375,
235026.0,
235031.75,
235037.575,
235043.25,
235049.125,
235054.81,
235060.59,
235066.295
],
"yValues":[
4911370.0,
4911372.0,
4911375.0,
4911377.0,
4911380.0,
4911382.0,
4911385.0,
4911387.0,
4911389.5,
4911392.0
]
},
"trajectory":{
"xValues":[
470029.5,
470040.75,
470052.0,
470063.5,
470075.15,
470086.5,
470098.25,
470109.62,
470121.18,
470132.59
],
"yValues":[
9822740.0,
9822744.0,
9822750.0,
9822754.0,
9822760.0,
9822764.0,
9822770.0,
9822774.0,
9822779.0,
9822784.0
]
},
"multiplierType":1,
"multiplierFieldName":"LOC SCALER",
"xFieldName":"CDPX",
"yFieldName":"CDPY",
"canFillMapKeyValues":true,
"canFillXSectionKeyValues":true,
"epsgCode":"32140:1188"
}
The projectedTrajectory section contains the x and y values after being transformed to the new EPSG code.
The isProjectionComplete entry will be true if all x and y pairs were able to be calculated. One way that the transformation may not be able to calculate a value is that 2D lines can sometimes be barely outside of their area of use. If this were to happen, that particular pair will be returned as Double.NaN, and this entry will be false.
The xValues entry contains the x values after being transformed to the new EPSG code.
The yValues entry contains the y values after being transformed to the new EPSG code.
The trajectory section contains the x and y values as they exist in the original file.
The xValues entry contains the x values as they exist in the original file.
The yValues entry contains the y values as they exist in the original file.
The multiplierType entry contains an integer representing the type of multiplier applied to the values, where 0 is no multiplier, 1 is using a trace header as the multiplier (typically LOC SCALER), and 2 is a constant multiplier.
The multiplierFieldName entry contains the name of the header used as a multiplier. If the multiplier type is none or constant, this entry will not be contained in the response.
The xFieldName entry contains the name of the header field containing the x values.
The yFieldName entry contains the name of the header field containing the y values.
The canFillMapKeyValues entry is true if the key values can be filled for a map view.
The canFillXSectionKeyValues entry is true if the key values can be filled for a XSection view.
The epsgCode entry contains the EPSG code of the dataset. If the dataset does not have an EPSG code, this entry will not be contained in the response.