layout: default title: WCSLayer parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Layers

WCSLayer Class

WCS presents raster data from a OGC Web Coverage Service. Raster data are projected and rendered on the client-side.
It supports versions 1.0.0, 1.1.0, 1.1.1, 1.1.2 and 2.0.1. For version 2.0.1, it supports servers that support
GEOTIFF coverage and implements the following extensions: Scaling, Interpolation, Range Subsetting, CRS, and KVP/Get.
ArcGIS Maps SDK for JavaScript

public class WCSLayer : dymaptic.GeoBlazor.Core.Components.Layers.Layer

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 Layer 🡒 WCSLayer

Constructors

WCSLayer() Constructor

Constructor for use as a razor component

public WCSLayer();

WCSLayer(string, List, RasterStretchRenderer, Nullable, string, PortalItem) Constructor

Constructor for use in code

public WCSLayer(string? url=null, System.Collections.Generic.List<dymaptic.GeoBlazor.Core.Components.Renderers.DimensionalDefinition>? multidimensionalDefinition=null, dymaptic.GeoBlazor.Core.Components.Renderers.RasterStretchRenderer? renderer=null, System.Nullable<double> opacity=null, string? title=null, dymaptic.GeoBlazor.Core.Components.PortalItem? portalItem=null);

Parameters

url System.String

The url for the WCS Layer source data.

multidimensionalDefinition System.Collections.Generic.List<DimensionalDefinition>

renderer RasterStretchRenderer

opacity System.Nullable<System.Double>

title System.String

portalItem PortalItem

Properties

WCSLayer.LayerType Property

Used internally to identify the sub type of Layer

public override string LayerType { get; }

Property Value

System.String

WCSLayer.MultidimensionalDefinition Property

The multidimensional definitions associated with the layer.

public System.Collections.Generic.List<dymaptic.GeoBlazor.Core.Components.Renderers.DimensionalDefinition>? MultidimensionalDefinition { get; set; }

Property Value

System.Collections.Generic.List<DimensionalDefinition>

WCSLayer.PortalItem Property

The portal item for the WCS Layer source data.

public dymaptic.GeoBlazor.Core.Components.PortalItem? PortalItem { get; set; }

Property Value

PortalItem

WCSLayer.Renderer Property

The renderer assigned to the layer. The renderer defines how to visualize pixels in the WCSLayer.
Depending on the renderer type, the pixels may be stretched across the color ramp or classified.
Currently, only the RasterStretchRenderer has been implemented, ClassBreaksRenderer will be implemented
in the future.

public dymaptic.GeoBlazor.Core.Components.Renderers.RasterStretchRenderer? Renderer { get; set; }

Property Value

RasterStretchRenderer

WCSLayer.Url Property

The url for the particular WCS Layer source data.

public string? Url { get; set; }

Property Value

System.String

Methods

WCSLayer.RegisterChildComponent(MapComponent) Method

Called from dymaptic.GeoBlazor.Core.Components.MapComponent.OnInitializedAsync to “Register” the current component with it’s parent.

public override System.Threading.Tasks.Task RegisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);

Parameters

child MapComponent

The calling, child component to register

Returns

System.Threading.Tasks.Task

Exceptions

InvalidChildElementException
Throws if the current child is not a valid sub-component to the parent.

Remarks

This method is an implementation detail and should not be called directly by consumers. In future versions, this may be changed to an internal method. If you see no other way to register a child component, please open an issue on GitHub.

WCSLayer.UnregisterChildComponent(MapComponent) Method

Undoes the “Registration” of a child with its parent.

public override System.Threading.Tasks.Task UnregisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);

Parameters

child MapComponent

The child to unregister

Returns

System.Threading.Tasks.Task

Remarks

This method is an implementation detail and should not be called directly by consumers. In future versions, this may be changed to an internal method.