User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_layerpixel

ITGIS_LayerPixel interface

DK for ActiveX | TatukGIS_XDK11.ITGIS_LayerPixel | Interfaces | Methods | Properties

Abstract base class for georeferenced pixel and raster layers, providing shared bitmap and numeric grid infrastructure.

Available also on: Delphi | .NET | Java | ActiveX | Python.

Syntax

// C#
public interface ITGIS_LayerPixel: ITGIS_Layer
{
}
' VisualBasic
Public Interface ITGIS_LayerPixel
  Implements ITGIS_Layer
End Class
// Oxygene
type
  ITGIS_LayerPixel = public interface( ITGIS_Layer )
  end;

Implements

Methods

Inherited Overrides Protected
Name Visibility Description
Alive public Makes a layer non-dormant.
(Inherited from ITGIS_Layer)
ApplyAntialiasSettings public Applies antialias settings used in scaling operations.
ApplyAntialiasSettings_2 public Applies antialias settings used in scaling operations.
ApplyAutoStyle public Applies auto-styling to the layer.
(Inherited from ITGIS_Layer)
ApplyAutoStyle_2 public Applies auto-styling to the layer.
(Inherited from ITGIS_Layer)
ApplyCuttingPolygon public Sets a clipping polygon for the layer.
(Inherited from ITGIS_Layer)
AssignedParentLayerInternal public Assigns a parent pixel layer for hierarchical layer types such as WMTS (Web Map Tile Service).
AttachDelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
Build public Builds an in-memory georeferenced bitmap or grid layer.
Build_2 public Builds a georeferenced bitmap or grid layer.
Build_3 public Builds a georeferenced bitmap image layer.
Build_4 public Builds an in-memory georeferenced bitmap or grid layer using the specified pixel size.
Build_5 public Builds a georeferenced bitmap or grid layer using the specified pixel size.
Build_6 public Builds a georeferenced bitmap image layer using the specified pixel size.
ChangeHash public Changes the hash used to verify layer modifications.
(Inherited from ITGIS_Layer)
ClearModified public Sets IsModified flag to false for a layer and its sublayers.
(Inherited from ITGIS_Layer)
Create_2 public Creates a layer and sets the Path property.
(Inherited from ITGIS_Layer)
DelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
Dormant public Makes a layer dormant.
(Inherited from ITGIS_Layer)
DormantGain public Calculates the approximate memory gain in megabytes that can be achieved by calling Dormant.
(Inherited from ITGIS_Layer)
Draw public Draws a layer.
(Inherited from ITGIS_Layer)
DrawEx public Draws a layer within a defined extent.
(Inherited from ITGIS_Layer)
DrawFlash public Draws a flash.
(Inherited from ITGIS_Layer)
DrawSelected public Draws only the selected item(s) on layer.
(Inherited from ITGIS_Layer)
DrawSelectedEx public Draws only the selected item(s) on layer that are within a defined extent.
(Inherited from ITGIS_Layer)
ExportLayer public Exports pixel, raster, or grid data from this layer to another pixel layer.
FinalizeWrite public Performs any operation required to safely finalize a write operation, such as building quad trees for TGIS_FilePixelStore.
ForEachSubLayer public Calls the callback for the layer and all of its sublayers.
(Inherited from ITGIS_Layer)
GenerateRamp public Generates a color ramp for grid or DEM (Digital Elevation Model) rendering.
GenerateRampEx public Generates a color ramp for grid or DEM (Digital Elevation Model) rendering from a mapped color array.
GenerateRampEx_2 public Generates a color ramp for grid or DEM (Digital Elevation Model) rendering from a mapped color array.
GenerateRamp_2 public Generates a color ramp for grid or DEM (Digital Elevation Model) rendering.
GetAltitudeMapZone public Gets an altitude zone definition used for altitude-to-color mapping.
GetAvailableLayers public Gets a list of layers available in storage.
(Inherited from ITGIS_Layer)
GetBitmap public Fills the provided _bitmap array with values for _extent.
GetColorRamp public Calculates the default color ramp color for a grid value.
GetGrid public Fills the provided _grid array with values for _extent.
GetRawBitmap public Fills the provided _bitmap array with values for _extent.
GetSubLayer public Retrieves the layer identified by name.
(Inherited from ITGIS_Layer)
HourglassShake public Notifies about a busy state using an hourglass.
(Inherited from ITGIS_Layer)
ImportLayer public Imports pixel data from an existing pixel layer.
ImportLayer_2 public Imports pixel data from an existing pixel layer.
ImportLayer_3 public Imports pixel data from an existing pixel layer.
InitializeWrite public Performs any operation required to safely initialize a write operation, such as batch preparation for TGIS_FilePixelStore.
IsGrid public Checks if the layer type is grid.
(Inherited from ITGIS_Layer)
IsPixel public Checks if the layer type is pixel.
(Inherited from ITGIS_Layer)
IsSupported public Checks if the operation is supported by the layer.
(Inherited from ITGIS_Layer)
IsTopology public Checks if the layer type is topology.
(Inherited from ITGIS_Layer)
IsVector public Checks if the layer type is vector.
(Inherited from ITGIS_Layer)
IsVector3D public Checks if the layer type is vector 3D.
(Inherited from ITGIS_Layer)
IsVisible public Checks if the layer is visible in a defined extent and current params.
(Inherited from ITGIS_Layer)
Locate public If a given point is located within the image area, returns True and sets output values.
LocateEx public If a given point is located within the image area, returns True and sets output values.
Lock public Locks the layer for burst-mode operation.
(Inherited from ITGIS_Layer)
LockEstimate public Estimates the memory size required to lock and update a pixel layer area.
LockPixels public Locks a fragment of the pixel layer for bitmap or grid update operations.
LockPixels_2 public Locks a fragment of the pixel layer for bitmap or grid update operations.
LockPixels_3 public Locks a fragment of the pixel layer for single-band update operations.
LockPixels_4 public Locks a fragment of the pixel layer for single-band update operations.
LockPixels_5 public Locks a fragment of the pixel layer for bitmap or grid update operations.
LockPixels_6 public Locks a fragment of the pixel layer for single-band update operations.
LockPixels_7 public Locks a fragment of the pixel layer for tile-based update operations.
Loop public Prepares an enumerator to iterate pixels along or within a shape.
Loop_2 public Prepares an enumerator to iterate the layer over an extent.
Loop_3 public Prepares an enumerator to iterate pixels in the layer.
Loop_4 public Prepares an enumerator to iterate the layer with pixels treated as points.
Loop_5 public Prepares an enumerator to iterate pixels along or within a shape.
Loop_6 public Prepares an enumerator to iterate pixels in the layer.
Loop_7 public Prepares an enumerator to iterate the layer over an extent.
Loop_8 public Prepares an enumerator to iterate the layer with pixels treated as points.
MapColorValue public Maps a color value to a pixel color.
MapGridValue public Maps a grid value to a pixel color.
MapToRaster public Converts map coordinates to a raster pixel location.
MapToRasterRect public Converts a map extent to a raster rectangle.
MarkModified public Sets IsModified flag to true for a layer and its sublayers.
(Inherited from ITGIS_Layer)
MergeLayer public Merges pixel, raster, or grid data from another pixel layer into this layer over the specified extent.
Move public Moves a layer up or down in the viewer zorder list.
(Inherited from ITGIS_Layer)
MoveEx public Moves a layer up or down in the viewer zorder list (only visible layers).
(Inherited from ITGIS_Layer)
MustCalculateStatistics public Verifies whether all statistics required to render the layer are available.
(Inherited from ITGIS_Layer)
MustReproject public Checks whether the layer must be reprojected.
(Inherited from ITGIS_Layer)
MustSave public Checks whether the layer was modified by editing.
(Inherited from ITGIS_Layer)
Open public Opens the layer.
(Inherited from ITGIS_Layer)
Paint public Draws the layer or fires PaintLayer event (if defined).
(Inherited from ITGIS_Layer)
Prepare public Opens the layer for non-drawing operations.
(Inherited from ITGIS_Layer)
PreRecognize public Checks if the layer can read the file.
(Inherited from ITGIS_Layer)
Project public Applies a projection on the single point.
(Inherited from ITGIS_Layer)
Project3D public Applies a projection on the single point in 3D.
(Inherited from ITGIS_Layer)
Project3D_Ref public Applies projection to a single 3D point.
(Inherited from ITGIS_Layer)
ProjectExtent public Applies a projection on the extent.
(Inherited from ITGIS_Layer)
Project_Ref public Applies projection to a single point.
(Inherited from ITGIS_Layer)
PutGrid public Writes grid values into the layer for the area defined by _extent.
RaiseBusyEvent public Fires Busy event of the layer.
(Inherited from ITGIS_Layer)
RaiseBusyPrepare public Fires BusyPrepare method of the assigned viewer.
(Inherited from ITGIS_Layer)
RaiseBusyRelease public Fires BusyRelease method of the assigned viewer.
(Inherited from ITGIS_Layer)
RaiseBusyShake public Fires BusyShake method of the assigned viewer.
(Inherited from ITGIS_Layer)
RasterToMap public Converts a raster pixel location to map coordinates.
RasterToMapRect public Converts a raster rectangle to a map extent.
ReadConfig public Reads the layer configuration files.
(Inherited from ITGIS_Layer)
ReadConfigParam public Reads a layer configuration parameter.
(Inherited from ITGIS_Layer)
ReadGridLine public Reads a specific grid line into the preallocated buffer.
RecalcExtent public Recalculates the layer extent.
(Inherited from ITGIS_Layer)
RecalcProjectedExtent public Recalculates the projected extent.
(Inherited from ITGIS_Layer)
Recalculate public Recalculates the minimum and maximum elevation values for the grid.
ReOpen public Reopens the layer.
(Inherited from ITGIS_Layer)
RereadConfig public Rereads the layer configuration files.
(Inherited from ITGIS_Layer)
RevertAll public Reverts layer to its original content.
(Inherited from ITGIS_Layer)
RootLayer public Returns the absolute parent layer.
(Inherited from ITGIS_Layer)
SaveAll public Saves the layer and destroys mirrored items.
(Inherited from ITGIS_Layer)
SaveData public Saves layer and destroys mirrored items.
(Inherited from ITGIS_Layer)
ScaleGrid public Scales a grid array using the default linear resampling filter.
ScaleGrid_2 public Scales a grid array using the specified resampling filter.
SetCSByEPSG public Sets the coordinate system using an EPSG code.
(Inherited from ITGIS_Layer)
SetCSByWKT public Sets the coordinate system from a WKT (Well-Known Text) string containing a GEOGCS or PROJCS definition.
(Inherited from ITGIS_Layer)
SetCSByWKTFile public Sets the coordinate system from a file containing a WKT (Well-Known Text) string, such as a Shapefile .PRJ file.
(Inherited from ITGIS_Layer)
SetCurrentFileScale public Sets the current internal file scale, where 1.0 means no scaling.
SetWorld public Sets world file affine transformation parameters.
Unlock public Unlocks the layer from burst-mode operation.
(Inherited from ITGIS_Layer)
UnlockPixels public Unlocks a fragment and posts any pending changes back to the layer.
Unproject public Applies reverse projection (recovers from the projection) on the single point.
(Inherited from ITGIS_Layer)
Unproject3D public Applies reverse projection to a single 3D point.
(Inherited from ITGIS_Layer)
Unproject3D_Ref public Applies reverse projection to a single 3D point.
(Inherited from ITGIS_Layer)
UnprojectExtent public Applies reverse projection (recovers from the projection) on the extent.
(Inherited from ITGIS_Layer)
Unproject_Ref public Applies reverse projection to a single point.
(Inherited from ITGIS_Layer)
ViewerReParent public Sets the viewer for the layer and its sublayers.
(Inherited from ITGIS_Layer)
WriteConfig public Writes the layer configuration files.
(Inherited from ITGIS_Layer)

Properties

Inherited Protected
Name Visibility Description
Active public True if the layer is visible and can be localized.
(Inherited from ITGIS_Layer)
Addition public Additional blending value.
(Inherited from ITGIS_Layer)
Age public Time elapsed since the layer was created.
(Inherited from ITGIS_Layer)
AltitudeMapZonesCount public Number of altitude map zones.
Antialias public Antialias scaling for selected layers such as PNG and JPG.
AntialiasFilter public Scaling filter (such as Linear or Lanczos) used for scaling images and grids.
BandsCount public Number of bands in a file.
Basemap public True if the layer must be treated as a basemap for background painting.
(Inherited from ITGIS_Layer)
BasemapDraw public True if the layer is currently being drawn in a basemap thread.
(Inherited from ITGIS_Layer)
BitHeight public Height of the layer in pixels.
BitWidth public Width of the layer in pixels.
CachedPaint public False if the layer must be painted directly, bypassing the cache.
(Inherited from ITGIS_Layer)
Capabilities public Pixel sub-format list available for write operations.
Caption public Layer caption; if not assigned directly, it will be filled with Name when the layer is added to the viewer.
(Inherited from ITGIS_Layer)
CellHeight public Height of a cell in pixels.
CellWidth public Width of a cell in pixels.
CodePage public Code page used to store text.
(Inherited from ITGIS_Layer)
Collapsed public True if the layer is collapsed in the legend, meaning only the layer title is visible.
(Inherited from ITGIS_Layer)
Comments public Additional user comments.
(Inherited from ITGIS_Layer)
ConfigFile public Configuration file handle.
(Inherited from ITGIS_Layer)
ConfigName public Configuration file name.
(Inherited from ITGIS_Layer)
CS public Coordinate Reference System (CRS) assigned to the layer.
(Inherited from ITGIS_Layer)
CurrentPage public Current page of multipage file.
CustomData public List of custom, user-defined data saved to and restored from config and project files.
(Inherited from ITGIS_Layer)
CuttingPolygon public Cutting polygon that defines the valid area of the input image.
DefaultSubFormat public Default subformat information.
DirectMode public True if the layer is direct-mode (bypassing cache).
(Inherited from ITGIS_Layer)
DormantMode public Memory-management mode for the layer.
(Inherited from ITGIS_Layer)
Driver public The layer's driver name.
(Inherited from ITGIS_Layer)
Extent public Extent of the layer.
(Inherited from ITGIS_Layer)
Extent3D public Three-dimensional extent of the layer.
(Inherited from ITGIS_Layer)
ExtentPixelAdjustment public Modifies draw extent calculation to be performed on pixel centers rather than on pixel borders.
FileCopyrights public Copyright information about the layer.
(Inherited from ITGIS_Layer)
FileInfo public Additional textual information about the layer such as compression, number of pixels, copyright, etc.
(Inherited from ITGIS_Layer)
ForcedBandsDefinition public Forced interpretation of bands in a layer.
GridBand public Grid band number.
GUID public Unique layer identifier.
(Inherited from ITGIS_Layer)
HideFromLegend public False if the layer should not be visible in the legend.
(Inherited from ITGIS_Layer)
Icon public Layer icon presented in the legend.
(Inherited from ITGIS_Layer)
InPaint public True while the layer is being painted.
(Inherited from ITGIS_Layer)
Interpretation public Determines whether the layer is interpreted as a grid or as an image.
IsExportable public True if the layer is exportable.
(Inherited from ITGIS_Layer)
IsGridImage public True if the image is interpreted as a grid.
IsLocked public True if the layer is in locked state.
(Inherited from ITGIS_Layer)
IsModified public True if structure (field, geometry etc) was modified.
(Inherited from ITGIS_Layer)
IsNativeGridImage public True if the image is stored as a native grid.
IsOpened public True if the layer is opened and is ready for operations.
(Inherited from ITGIS_Layer)
IsPersistent public True if the layer is persistent.
(Inherited from ITGIS_Layer)
IsReadOnly public True if the layer is read-only.
(Inherited from ITGIS_Layer)
IsTiled public True if the layer is tiled.
IsTopmost public True if the layer can be interpreted as the topmost (trackable) layer.
(Inherited from ITGIS_Layer)
Layer3D public Mode of 3D layer operations.
(Inherited from ITGIS_Layer)
MaxHeight public Maximum elevation value of the grid.
MaxHeightThreshold public Maximum threshold of the grid elevation values to display.
MaxTileSize public Maximum allowed tile size for the layer.
(Inherited from ITGIS_Layer)
MinHeight public Minimum elevation value of the grid.
MinHeightThreshold public Minimum threshold of the grid elevation values to display.
MultiUserMode public Multiuser access mode for the layer.
(Inherited from ITGIS_Layer)
Name public Layer name.
(Inherited from ITGIS_Layer)
NoDataColor public Default color used by PixelExportManager to fill empty areas.
NoDataValue public Grid NoData value used to identify unassigned-data areas in a grid.
OverlappedExtentMargin public Overlap margin applied to the layer extent.
(Inherited from ITGIS_Layer)
PageCount public Number of pages in an image file.
Params public Returns the parameter section for the pixel layer.
ParamsList public List of all parameter sections attached to the current layer.
(Inherited from ITGIS_Layer)
Params_ public Parameters (colors, fills, etc.) object.
(Inherited from ITGIS_Layer)
ParentLayer public Parent layer of a sublayer.
(Inherited from ITGIS_Layer)
Path public Path to file holding the layer's data.
(Inherited from ITGIS_Layer)
PathTAB public Path to a TAB reference file.
PathWithDriver public Path to file with the layer's data extended with driver name.
(Inherited from ITGIS_Layer)
Progressive public If True (default), the layer can be drawn progressively.
ProjectedExtent public Extent of the layer in projected units.
(Inherited from ITGIS_Layer)
Renderer public Handle to a renderer used for drawing shapes.
(Inherited from ITGIS_Layer)
Statistics public Layer statistics engine.
(Inherited from ITGIS_Layer)
Stream public Stream providing layer data as an alternative to reading from the file specified by Path.
(Inherited from ITGIS_Layer)
SubFormat public Current sub-format information.
SubLayers public List of sublayers belonging to the layer.
(Inherited from ITGIS_Layer)
SubType public Subtype flags describing the layer role within a layer hierarchy.
(Inherited from ITGIS_Layer)
SupportsAsync public Indicates whether the layer implements asynchronous operations.
(Inherited from ITGIS_Layer)
SupportsAutoStyle public Indicates whether the layer supports auto styling.
(Inherited from ITGIS_Layer)
SupportsTiledPaint public Indicates whether the layer supports tiled paint.
(Inherited from ITGIS_Layer)
Tag public Tag has no predefined meaning.
(Inherited from ITGIS_Layer)
TagInternal public TagInternal has no predefined meaning.
(Inherited from ITGIS_Layer)
TagPointer public TagPointer has no predefined meaning.
(Inherited from ITGIS_Layer)
Tileable public True if the layer is currently being printed or exported using tiles.
(Inherited from ITGIS_Layer)
TiledDrawMode public Indicates whether the layer is currently being drawn by the tiler.
(Inherited from ITGIS_Layer)
Transform public Custom coordinate transformation applied to the layer.
(Inherited from ITGIS_Layer)
Transparency public Transparency value for the layer (0..100).
(Inherited from ITGIS_Layer)
UnSupportedOperations public Set of operations not supported by the layer.
(Inherited from ITGIS_Layer)
UseConfig public True if the configuration file is active.
(Inherited from ITGIS_Layer)
UserObject public Associates a user-defined object with the layer.
(Inherited from ITGIS_Layer)
Viewer public Reference to the viewer that owns or displays this layer.
(Inherited from ITGIS_Layer)
ZOrder public Layer position relative to all other layers.
(Inherited from ITGIS_Layer)
ZOrderEx public Layer position relative to other visible layers.
(Inherited from ITGIS_Layer)

Remarks

Pixel.Params operations

For specifying some more advanced pixel layer appearances, such as color mapping, transparent zones, etc., the property Pixel.Params should be used.

Color Map Zones

For properties, such as: RedMapZones, BlueMapZones, GreenMapZones, it is possible to create a section for different values zones:

lp.Params.Pixel.RedMapZones.Add("1, 100, 0, 127"); 
lp.Params.Pixel.RedMapZones.Add("200, 100, 127, 255"); 

The general format is:

"start_value,end_value,start_value_mapped,end_value_mapped"

Where:

  • start_value
    is the starting value of a zone expressed in native layer values (so for 16-bit layers it can be above 255);
  • end_value
    is a the end value of a zone expressed in native layer values (so for 16-bit layers can be above 255);
  • start_value_mapped
    is the starting value of a zone expressed as a RGB channel value (0..255);
  • end_value_mapped
    is the end value of a zone expressed as a RGB channel value (0..255).

Values between the start_value and end_value will be smoothly mapped to values between the start_value_mapped and end_value_mapped. start_value_mapped can be smaller then end_value_mapped to achieve inversion.

Accepted values are integer, like 37 or hexadecimal like $25.

FullRGB zones

FullRGB zones are used to map one color to another.

lp.Params.Pixel.RedMapZones.Add("$EFEFEF, $FFFFFF, $00FF00"); 
lp.Params.Pixel.RedMapZones.Add("$000000, $0F0F0F, $0000FF"); 

The general format is:

"start_color,end_color,mapped_color"

Where:

  • start_color
    is the starting color expressed as a RGB value;
  • end_color
    is the end color expressed as a RGB value;
  • mapped_color
    is the mapped color expressed as a RGB value.

If a color is between the start_color and end_color, then it will be mapped to a mapped_color.

The operation “between” is done per channel. So, construction between $102030 and $A0B0C0 means that any color with R:$10..$A0, G:$20..$B0 and B:$30..$C0 will be mapped. This can be used, for example, to match any color that is close to white to another color.

Accepted color values are RGB integer, like 255, hexadecimal like $0000FF, R:G:B like 0:0:255, or using names: AQUA, BLACK, BLUE, FUCHSIA, GRAY, GREEN, LIME, MAROON, NAVY, OLIVE, PURPLE, RED, SILVER, TEAL, WHITE and YELLOW.

If the last provided parameter is BGR, like $112233,$AABBCCF,BGR, then the color will be interpreted as BGR, not RGB.

Gray zones

Gray zones are used to map gray to color:

lp.Params.Pixel.GrayMapZones.Add("0, 127, $0000A0, $0000FF"); 
lp.Params.Pixel.GrayMapZones.Add("127, 255, $A00000, $FF0000FF"); 

The general format is:

"start_value, end_value, start_color, end_color"

Where:

  • start_value
    is the starting value of a gray-scale image (0..255);
  • end_value
    is a the end value of a gray-scale image (0..255);
  • start_color
    is the starting color expressed as a RGB value;
  • end_color
    is the end color expressed as a RGB value.

Values between the start_value and end_value will be smoothly mapped to values between the start_color and endcolor. start_value can be smaller then the end_value to achieve an inversion.

The operation “between” is done per channel. So construction between $102030 and $A0B0C0 means that any color with R:$10..$A0, G:$20..$B0 and B:$30..$C0 will be mapped.

Accepted color values are RGB integer like 255, hexadecimal like $0000FF, R:G:B like 0:0:255, or names: AQUA, BLACK, BLUE, FUCHSIA, GRAY, GREEN, LIME, MAROON, NAVY, OLIVE, PURPLE, RED, SILVER, TEAL, WHITE and YELLOW.

If the last provided parameter is BGR, like $112233, $AABBCCF, BGR, the color will be interpreted as BGR, not RGB.

Transparency zones

Transparency zones are used to define which color should be transparent:

lp.Params.Pixel.TransparentZones.Add("$EFEFEF, $FFFFFF"); 
lp.Params.Pixel.TransparentZones.Add("$000000, $0F0F0F"); 

The general format is:

"start_color, end_color"

Where:

  • start_color
    is the starting color expressed as a RGB value;
  • end_color
    is the end color expressed as a RGB value;

If color is between the start_color and end_color, it will be mapped as transparent.

This operation “between” is done per channel. So construction between $102030 and $A0B0C0 means that any color with R:$10..$A0, G:$20..$B0 and B:$30..$C0 will be mapped. This can be used, for example, to match any color that is close to white to transparent.

Accepted color values are RGB integer like 255, hexadecimal like $0000FF, R:G:B like 0:0:255, or names: AQUA, BLACK, BLUE, FUCHSIA, GRAY, GREEN, LIME, MAROON, NAVY, OLIVE, PURPLE, RED, SILVER, TEAL, WHITE and YELLOW.

If the last provided parameter is BGR, like $112233, $AABBCCF, BGR, then the color will be interpreted as BGR, not RGB.

Altitude zones

Altitude zones are used to apply grid layer coloring:

lp.Params.Pixel.AltitudeMapZones.Add("100.45, 800.12, $FF0000"); 
lp.Params.Pixel.AltitudeMapZones.Add("800.12, 900.45, $FFFF00"); 

The general format is:

"start_value, end_value, color"

Where:

  1. start_value
    is the starting value of the zone expressed in native layer values;
  2. end_value
    is the end value of the zone expressed in native layer values;
  3. color
    is the RGB value representing the zone color.

Accepted grid values are float values with dot decimal point, like “123.45”.

Accepted color values are RGB integer like 255, hexadecimal like $0000FF, R:G:B like 0:0:255, or names: AQUA, BLACK, BLUE, FUCHSIA, GRAY, GREEN, LIME, MAROON, NAVY, OLIVE, PURPLE, RED, SILVER, TEAL, WHITE and YELLOW.

If the last provided parameter is BGR, like $112233, $AABBCCF, BGR then the color will be interpreted as BGR, not RGB.

Order of operation

Image layers

  1. Selecting which channel will be used to form RGB.
  2. Mapping native layer values to 0..255 (RGB) zone with the use of RedMapZones, GreenMapZones, and BlueMapZones, if any of these exists.
  3. Mapping color-to-color, if FullRGMMapZones exits.
  4. Firing event for additional custom color mapping.
  5. Applying TransparentZoneMaps, if any exists.
  6. Making grayscale, if requested.
  7. Applying GreyScaleZones, if any exist.
  8. Applying histogram correction, if requested.
  9. Applying brightness, contrast, inverse, and RGB channel value modifications.

Grid Layers

  1. Selecting which channel will be used as the grid source.
  2. Applying AltitudeMapZones, if these exist; if not, perform simple mapping to a grayscale image.

All properties of Params.Pixel are available as: TGIS_ParamsPixel class.

Metadata

Available metadata keys:

Metadata Values Default Description
TGIS_LayerPixel.MemoryLayerLimit value in MB 100 Create layers whose size exceeds the value and are backed by a temporary file.
TGIS_LayerPixel.Timeout milliseconds 30000 Timeout for progressive layers (e.g., webtiles) to wait for the complete image .

2026/08/28 01:23

Page Tools