The "welltrajectory" web service provides the coordinates of a well's trajectory
A typical URL for the well trajectory is: http://myserver.mycompany.com:8080/INTGeoServer/json/welltrajectory?json={"filePath":"34/10-A-6A.las"}
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.
compatibleZUnitSymbol: a measurement symbol, such as "m" or "s". If the requested symbol does not match one of the compatibleZUnitSymbol in the welldata web service, the server will return a bad request response (error 400) in the HTTP header. This is an optional parameter. By default, the trajectory will be returned in its native vertical unit.
If the specified filePath doesn't match a valid well, no JSON response will be provided. The HTTP response will only show a "File or Directory Not Found" (error 404) in its headers.
Here is an example response. The response has been formatted to improve readability
{
"bottom":[
454255.796,
6782942.049,
2350,
2349.65
],
"top":[
454244.829,
6782931.745,
0,
0
],
"crsMode":2,
"kb":0,
"position":[
454244.829,
6782931.745
],
"verticalShift":0,
"numberOfValues":79,
"mds":[
0,
159,
289.3,
301.26,
307.43,
319.63
],
"tvds":[
0,
159,
289.3,
301.26,
307.43,
319.63
],
"xCoords":[
454244.829,
454244.829,
454244.786,
454244.796,
454244.806,
454244.805
],
"yCoords":[
6782931.745,
6782931.745,
6782931.955,
6782931.995,
6782932.005,
6782932.035
]
}
The bottom entry represents the bottom X-Coordinates, Y-Coordinates, MD ("Measured Depth") and TVD ("True Vertical Depth") values of this deviation.
The top entry represents the top X-Coordinates, Y-Coordinates, MD ("Measured Depth") and TVD ("True Vertical Depth") values of this deviation.
The crsMode entry represents the CRS mode of the "Well head" position. This can be either of the following:
ICRSProvider.LAT_LONG
ICRSProvider.XY
The kb value represents the kelly bushing value detected or entered during import.
The position entry represents the location of this well data in X-Y or Lat-Long mode, as defined by the crsMode entry. This could return null if the position is not specified in the data file.
The verticalShift entry is the vertical shift that is applied to this trajectory when displayed next to seismic data. If none is specified, this entry will be zero.
The numberOfValues entry is the number of values contained within the trajectory.
The mds entry contains the list of all measured depth values for this trajectory. The values are always returned in increasing order. These values are expressed in Time or Depth, as specified in the Z unit of the associated well data
The tvds entry contains the list of all true vertical depth values for this trajectory. These values are expressed in Time or Depth, as specified in the Z unit of the associated well data
The xCoords entry contains the list of all x coordinates for this trajectory.
The yCoords entry contains the list of all y coordinates for this trajectory.
The HTTP header also contains a "dataHash" header. The hash code can be used to track whether the data file underlying the specified dataset has been changed since the last time it was loaded from disk.