Skip to content
Last updated

API / geotoolkit / ivaapbackend / well / RemoteWellLogDataSource / RemoteWellLogDataSource

Class: RemoteWellLogDataSource

well.RemoteWellLogDataSource.RemoteWellLogDataSource

Provides utility class to load wells data from IVAAP backend

Hierarchy

Table of contents

Constructors
  • [new RemoteWellLogDataSource(options)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.ivaapbackend.well.remotewelllogdatasource.remotewelllogdatasource.md#new remotewelllogdatasource(options))
Methods
Css Properties
Name Type Description
hostnamestringThe host name for requests

Contents

Constructors

new RemoteWellLogDataSource(options)

• new RemoteWellLogDataSource(options?)

Parameters

Name Type
Optional optionsOptions

Inherited from

CommonRemoteDataSource.constructor

Methods

createRasterLogTileProvider

▸ createRasterLogTileProvider(dataset, options?): RasterLogProvider

Creates a RasterLogProvider for displaying a raster log image. The provider wraps the IVAAP tile service and applies WebGL image transformation (morphing correction) on each tile.

Throws

if no matching image section is found in the dataset

Parameters

Name Type Description
datasetRasterLogDatasetthe raster log dataset returned by loadRasterLogData
Optional optionsObjecttile provider options
Optional options.contentTypestringimage section type to display; defaults to 'body'
Optional options.metadataUrlstringfull URL used to load the dataset; when provided, the provider uses it to fetch image types not present in the dataset (e.g. 'TopScale' header images) by substituting the content-type value in the URL and appending /content
Optional options.segmentIdstringspecific segment id; if omitted, the first matching section is used

Returns

RasterLogProvider

configured raster log tile provider


dispose

▸ dispose(): void

Dispose

Returns

void

Inherited from

CommonRemoteDataSource.dispose


getClassName

▸ getClassName(): string

Returns

string

Inherited from

CommonRemoteDataSource.getClassName


getHostName

▸ getHostName(): string

Gets host name

Returns

string

Inherited from

CommonRemoteDataSource.getHostName


getHttpService

▸ getHttpService(): AbstractHttpService

Gets a http service associated with this data source

Returns

AbstractHttpService

Inherited from

CommonRemoteDataSource.getHttpService


getProperties

▸ getProperties(): OptionsOut

Gets all the properties pertaining to this object

Returns

OptionsOut

An object containing the properties

Inherited from

CommonRemoteDataSource.getProperties


loadCollection

▸ Protected loadCollection<T&gt;(url): Promise<DataCollection<T&gt;&gt;

Loads datasets collection

Type parameters

NameType
Textends Dataset<Record<string, any&gt;&gt;

Parameters

Name Type Description
urlstringthe collection url

Returns

Promise<DataCollection<T&gt;&gt;

Inherited from

CommonRemoteDataSource.loadCollection


loadDataSet

▸ Protected loadDataSet<T&gt;(url): Promise<T&gt;

Loads an individual dataset

Type parameters

NameType
Textends Dataset<Record<string, any&gt;&gt; = Dataset<Record<string, any&gt;&gt;

Parameters

Name Type Description
urlstringthe data url

Returns

Promise<T&gt;

Inherited from

CommonRemoteDataSource.loadDataSet


loadDeviationCurveValues

▸ loadDeviationCurveValues(deviationData, curveIds?, minIndex?, maxIndex?, indexType?): Promise<CurveInfo[]&gt;

Loads the values of an individual well deviation curve along with the values of its index curve

Parameters

Name Type Description
deviationDataDataset<Record<string, any&gt;&gt;the well deviation dataset
Optional curveIdsnumber[]the collection of curve indices within the specified well
Optional minIndexnumberthe minimum index of the values to query
Optional maxIndexnumberthe maximum index of the values to query
Optional indexTypestringthe hint on the type of min/max index being passed. This can be <em>datetime</em> or <em>long</em>, otherwise <em>double</em> will be used

Returns

Promise<CurveInfo[]&gt;


loadDeviationData

▸ loadDeviationData<T&gt;(data): Promise<T&gt;

Loads info about an individual well deviation

Type parameters

NameType
Textends Dataset<Record<string, any&gt;&gt; = DeviationDataset

Parameters

Name Type Description
dataDataset<Record<string, any&gt;&gt;the dataset containing link to well deviation metadata

Returns

Promise<T&gt;


loadDeviationsMeta

▸ loadDeviationsMeta<T&gt;(data): Promise<DataCollection<T&gt;&gt;

Loads info about all well deviations of an individual well

Type parameters

NameType
Textends Dataset<Record<string, any&gt;&gt; = DeviationDataset

Parameters

Name Type Description
dataDataset<Record<string, any&gt;&gt;the dataset containing link to well deviations collection

Returns

Promise<DataCollection<T&gt;&gt;


loadLogCurveValues

▸ loadLogCurveValues(logData, curveIds?, minIndex?, maxIndex?, indexType?): Promise<CurveInfo[]&gt;

Loads the values of an individual well curve along with the values of its index curve

Parameters

Name Type Description
logDataDataset<Record<string, any&gt;&gt;the well log dataset
Optional curveIdsnumber[]the collection of curve indices within the specified well
Optional minIndexnumberthe minimum index of the values to query
Optional maxIndexnumberthe maximum index of the values to query
Optional indexTypestringthe hint on the type of min/max index being passed. This can be <em>datetime</em> or <em>long</em>, otherwise <em>double</em> will be used

Returns

Promise<CurveInfo[]&gt;


loadLogData

▸ loadLogData<T&gt;(data): Promise<T&gt;

Loads info about an individual well log

Type parameters

NameType
Textends Dataset<Record<string, any&gt;&gt; = LogDataset

Parameters

Name Type Description
dataDataset<Record<string, any&gt;&gt;the dataset containing link to well log metadata

Returns

Promise<T&gt;


loadLogsMeta

▸ loadLogsMeta<T&gt;(data): Promise<DataCollection<T&gt;&gt;

Loads info about all well logs of an individual well

Type parameters

NameType
Textends Dataset<Record<string, any&gt;&gt; = LogDataset

Parameters

Name Type Description
dataDataset<Record<string, any&gt;&gt;the dataset containing link to well logs collection

Returns

Promise<DataCollection<T&gt;&gt;


loadMeta

▸ loadMeta(url): Promise<Data&gt;

Loads meta data

Parameters

Name Type Description
urlstringurl of meta information

Returns

Promise<Data&gt;

Inherited from

CommonRemoteDataSource.loadMeta


loadMudLogData

▸ loadMudLogData<T&gt;(mudLogMeta): Promise<T&gt;

Loads info about an individual well mud log

Type parameters

NameType
Textends Dataset<Record<string, any&gt;&gt; = MudLogDataset

Parameters

Name Type Description
mudLogMetaDataset<Record<string, any&gt;&gt;the dataset containing link to well mud log metadata

Returns

Promise<T&gt;


loadMudLogsMeta

▸ loadMudLogsMeta<T&gt;(data): Promise<DataCollection<T&gt;&gt;

Loads info about all well mud logs of an individual well bore

Type parameters

NameType
Textends Dataset<Record<string, any&gt;&gt; = MudLogDataset

Parameters

Name Type Description
dataDataset<Record<string, any&gt;&gt;the dataset containing link to well mud logs collection

Returns

Promise<DataCollection<T&gt;&gt;


loadRasterLogData

▸ loadRasterLogData<T&gt;(data): Promise<T&gt;

Loads metadata for an individual raster log from the IVAAP rasterlogimages endpoint. The returned dataset contains the list of available image sections (body, header, etc.) with depth range and tile link information.

Example

const dataset = await remoteWellLogDataSource.loadRasterLogData(RASTER_LOG_URL);
const provider = remoteWellLogDataSource.createRasterLogTileProvider(dataset);

Type parameters

NameType
Textends Dataset<Record<string, any&gt;&gt; = RasterLogDataset

Parameters

Name Type Description
datastring | Dataset<Record<string, any&gt;&gt;the raster log metadata URL, or a dataset whose self link points to the metadata

Returns

Promise<T&gt;

promise that resolves to the raster log metadata dataset


loadWellBoreData

▸ loadWellBoreData<T&gt;(data): Promise<T&gt;

Loads info about an individual well bore

Type parameters

NameType
Textends Dataset<Record<string, any&gt;&gt; = WellBoreDataset

Parameters

Name Type Description
dataDataset<Record<string, any&gt;&gt;the dataset containing link to well bore metadata

Returns

Promise<T&gt;


loadWellBoreProperties

▸ loadWellBoreProperties(data): Promise<DatasetInfo&gt;

Loads info about available properties of an individual well bore

Parameters

Name Type Description
dataDataset<Record<string, any&gt;&gt;the dataset containing link to well bore metadata

Returns

Promise<DatasetInfo&gt;


loadWellBoresMeta

▸ loadWellBoresMeta<T&gt;(data): Promise<DataCollection<T&gt;&gt;

Loads info about well bores of an individual well

Type parameters

NameType
Textends Dataset<Record<string, any&gt;&gt; = WellBoreDataset

Parameters

Name Type Description
dataDataset<Record<string, any&gt;&gt;the dataset containing link to well bores collection

Returns

Promise<DataCollection<T&gt;&gt;


loadWellData

▸ loadWellData<T&gt;(data): Promise<T&gt;

Loads info about an individual well

Type parameters

NameType
Textends Dataset<Record<string, any&gt;&gt; = WellDataset

Parameters

Name Type Description
datastring | Dataset<Record<string, any&gt;&gt;the dataset containing link to well metadata or well metadata url

Returns

Promise<T&gt;


loadWellProperties

▸ loadWellProperties(data): Promise<DatasetInfo&gt;

Loads info about available properties of an individual well

Parameters

Name Type Description
dataDataset<Record<string, any&gt;&gt;the dataset containing link to well metadata

Returns

Promise<DatasetInfo&gt;


loadWellsMeta

▸ loadWellsMeta<T&gt;(data): Promise<DataCollection<T&gt;&gt;

Loads info about wells collection

Type parameters

NameType
Textends Dataset<Record<string, any&gt;&gt; = WellDataset

Parameters

Name Type Description
datastring | Dataset<Record<string, any&gt;&gt;the dataset containing link to wells collection or wells collection url

Returns

Promise<DataCollection<T&gt;&gt;


setHostName

▸ Protected setHostName(host): RemoteWellLogDataSource

Sets host name

Parameters

Name Type Description
hoststringthe host name

Returns

RemoteWellLogDataSource

Inherited from

CommonRemoteDataSource.setHostName


setHttpService

▸ Protected setHttpService(service): RemoteWellLogDataSource

Sets a http service associated with this data source

Parameters

Name Type Description
serviceAbstractHttpServicethe http service

Returns

RemoteWellLogDataSource

Inherited from

CommonRemoteDataSource.setHttpService


setProperties

▸ setProperties(properties?): RemoteWellLogDataSource

Sets all the properties pertaining to this object

Parameters

Name Type Description
Optional propertiesOptionsAn object containing the properties to set

Returns

RemoteWellLogDataSource

this

Inherited from

CommonRemoteDataSource.setProperties


getClassName

▸ Static getClassName(): string

Returns

string

Inherited from

CommonRemoteDataSource.getClassName