Delegate DatasetProbe
- Namespace
- EncDotNet.S100.Collections.Indexing
- Assembly
- EncDotNet.S100.Collections.dll
Reads cheap metadata (product specification, extent, display scale) from a loose dataset file that is not described by an exchange-set catalogue.
public delegate DatasetMetadata? DatasetProbe(string path, CancellationToken cancellationToken)
Parameters
pathstringThe absolute path of the candidate file.
cancellationTokenCancellationTokenCancels the probe.
Returns
- DatasetMetadata
- Reads cheap metadata (product specification, extent, display scale) from a loose dataset file that is not described by an exchange-set catalogue.
Remarks
Hosts supply the probe so the collections library does not depend on the dataset pipelines; the viewer backs it with its cached metadata reader. Return null when the file is not a recognised dataset. The Extent is only used when it is geographic (HorizontalCrsEpsg is null or 4326).