DK for Delphi | GisLayerPixel.TGIS_LayerPixel | Classes | Constructors | Fields | Methods | Properties | Events
Encapsulation of a common image layer - abstract class.
// Delphi type TGIS_LayerPixel = class( TGIS_Layer ) end;
// C++ Builder class PASCALIMPLEMENTATION TGIS_LayerPixel : public TGIS_Layer { };
| Name | Visibility | Description | |
|---|---|---|---|
| Create | public | Create a layer with default parameters. (Overrides TGIS_Layer.Create) |
|
| Create(String) | public | Create a layer ans set Path property. (Inherited from TGIS_Layer) |
|
| Name | Visibility | Description | |
|---|---|---|---|
| activeTransform | protected | True when Transform is assigned with Active flag set on True. | |
| alphaAssociated | protected | Image with associated alpha data. | |
| alphaBuffer | protected | Alpha data buffer. | |
| altitudeZones | protected | Table with altitude zones | |
| assignedColorRamp | protected | increase coloring performance by storing Params.Pixel.ColorRamp property | |
| asWritable | protected | LockPixels used as writable. | |
| bandMask | protected | From function LockPixels on band. | |
| bandsDefinition | protected | Band definition. | |
| bandsMap | protected | Numbers of bands using as red, green, blue and alpha | |
| baseCellHeight | protected | To restore CellHeight after transformation. | |
| baseCellWidth | protected | To restore CellWidth after transformation. | |
| baseProjectedExtent | protected | Helper for rotations. | |
| baseRotation | protected | Rotation from World file | |
| bigEndian | protected | Byte order from most significant to least significant. | |
| bitPalette | protected | Bitmap palette (must follow infoHeader). | |
| bitsPerBand | protected | Bits per pixel for each band | |
| bitsPerPixel | protected | Total bits count per pixel (for uncompressed data) | |
| bitsSkipLeft | protected | Bits to skio on lfet for each band | |
| bitsSkipRight | protected | Bits to skio on right for each band | |
| blueTransp | protected | List of transparent colors in Blue channel. | |
| bytesPerBand | protected | Bytes per pixel for each band | |
| bytesPerPixel | protected | Summary number bytes per pixel for all bands | |
| cntrRotFactX | protected | Auxiliary x factor | |
| cntrRotFactY | protected | Auxiliary y factor | |
| cntrRotX | protected | Center of rotation x | |
| cntrRotY | protected | Center of rotation y | |
| colorNoData | protected | Color used for not defined data. | |
| colorsNo | protected | Number of colors in palette | |
| corFullRGB | protected | Full RGB color mapping. | |
| corFullRGB1 | protected | Full RGB color mapping exactly one color to one color. | |
| corRGB | protected | Color correction. | |
| defaultPartialTransparent | protected | Default using of alpha band. | |
| dstGrid | protected | Manipulated grid data | |
| extZoom | protected | Used for importing grid (with association to setFileScale). | |
| extZoomX | protected | Used for importing grid (with association to setFileScaleXY). | |
| extZoomY | protected | Used for importing grid (with association to setFileScaleXY). | |
| FActive | protected | Is layer active? (Inherited from TGIS_Layer) |
|
| FAddition | protected | Addition value. (Inherited from TGIS_Layer) |
|
| FAge | protected | Age of the layer. (Inherited from TGIS_Layer) |
|
| FAntialias | protected | Antialias scaling (for some layers only like PNG and JPG) | |
| FAntialiasFilter | protected | Scaling filter (like Linear, Lanczos) to be used for scaling images and grids. | |
| FBandsCount | protected | Number of bands in file. | |
| FBasemap | protected | True if the layer is interpreted as basemap. (Inherited from TGIS_Layer) |
|
| FBasemapDraw | protected | If True, the layer at the moment is drawn inside a basemap thread. (Inherited from TGIS_Layer) |
|
| FBitHeight | protected | Height of a layer in pixels. | |
| FBitmapFormat | protected | Actual bitmap format - ARGB available now . | |
| FBitmapLinesOrder | protected | Actual lines order - Down available now. | |
| FBitWidth | protected | Width of a layer in pixels. | |
| FCachedPaint | protected | False if layer must be painted directly (bypassing cache). (Inherited from TGIS_Layer) |
|
| FCapabilities | protected | List of available image format in this layer (assigned with name extension). | |
| FCaption | protected | Layer caption. (Inherited from TGIS_Layer) |
|
| FCellHeight | protected | Height of a cell in pixels. | |
| FCellWidth | protected | Width of a cell in pixels. | |
| FCodePage | protected | Code Page in which text has been stored. (Inherited from TGIS_Layer) |
|
| FCodePageForced | protected | Code Page forced by project file or property setting. (Inherited from TGIS_Layer) |
|
| FCollapsed | protected | Is layer collapsed? (Inherited from TGIS_Layer) |
|
| FComments | protected | Additional comments. (Inherited from TGIS_Layer) |
|
| FConfigFile | protected | Configuration file handle. (Inherited from TGIS_Layer) |
|
| FConfigFile2 | protected | Configuration file handle. (Inherited from TGIS_Layer) |
|
| FConfigName | protected | Configuration file name. (Inherited from TGIS_Layer) |
|
| FCS | protected | Projection object. (Inherited from TGIS_Layer) |
|
| FCurrentPage | protected | Current page i image file (TIF). | |
| FCustomData | protected | List of custom data. (Inherited from TGIS_Layer) |
|
| FCuttingPolygon | protected | Cutting polygon | |
| FDormantMode | protected | Dormant mode for the layer. (Inherited from TGIS_Layer) |
|
| FDriver | protected | Layer driver. (Inherited from TGIS_Layer) |
|
| FExtent | protected | Layer extent. (Inherited from TGIS_Layer) |
|
| FExtent3D | protected | Layer extent 3D. (Inherited from TGIS_Layer) |
|
| FExtentPixelAdjustment | protected | Modify draw extent calculation t be performed on mid pixel rather then on border. | |
| FFileCopyright | protected | Additional textual information about layer copyright. (Inherited from TGIS_Layer) |
|
| FFileInfo | protected | Additional textual information about the layer such as compression, number of pixels, copyright etc. (Inherited from TGIS_Layer) |
|
| FForcedBandsDefinition | protected | Forced BandsDefinition. | |
| FGridBand | protected | Band number in file used as grid band. | |
| FGridOperation | protected | Grid operation event handle. | |
| FGUID | protected | Unique layer identifier (Inherited from TGIS_Layer) |
|
| FHideFromLegend | protected | True if layer should not be visible in a legend. (Inherited from TGIS_Layer) |
|
| FIcon | protected | Layer icon to be presented in a lagend. (Inherited from TGIS_Layer) |
|
| fileStream | protected | Bitmap file stream. | |
| FInPaint | protected | True if the layer upon paint process. (Inherited from TGIS_Layer) |
|
| FInterpretation | protected | Forced layer interpretation. | |
| FIsContrastEnhanced | protected | True if image has automatically enhanced contrast. | |
| FIsGridImage | protected | True if image is grid type. | |
| FIsLocked | protected | True if layer is in locked state Lock. (Inherited from TGIS_Layer) |
|
| FIsModified | protected | True if structure (field, geometry etc) was modified. (Inherited from TGIS_Layer) |
|
| FIsNativeGridImage | protected | True if image is really grid type. | |
| FIsOpened | protected | True if layer was opened. (Inherited from TGIS_Layer) |
|
| FIsPrepared | protected | True if layer was opened. (Inherited from TGIS_Layer) |
|
| FIsReadOnly | protected | Read only flag. (Inherited from TGIS_Layer) |
|
| FIsTiled | protected | True if layer is tiled. | |
| FMaxThresholdZ | protected | Maximum threshold of the grid elevation value to display. | |
| FMaxTileSize | protected | Maximum allowed tile size for the layer. (Inherited from TGIS_Layer) |
|
| FMaxZ | protected | Maximum elevation value in grid file. | |
| FMinThresholdZ | protected | Minimum threshold of the grid elevation value to display. | |
| FMinZ | protected | Minimum elevation value in grid file. | |
| FMultiUserMode | protected | Multiuser mode. (Inherited from TGIS_Layer) |
|
| FName | protected | Layer name. (Inherited from TGIS_Layer) |
|
| FNoDataColor | protected | Color property to define default color to be used to fill "empty" area upon PixelExportManager. | |
| FNoDataValue | protected | Value in the grid file assigned to cells whose value in unknown | |
| FOnBusy | protected | Busy event. (Inherited from TGIS_Layer) |
|
| FOnPaintLayer | protected | PaintLayer event. (Inherited from TGIS_Layer) |
|
| FOnPassword | protected | Will be fired upon opening layer to resolve any username/password (Inherited from TGIS_Layer) |
|
| FOnRead | protected | Will be fired upon each file Read request. (Inherited from TGIS_Layer) |
|
| FOnWrite | protected | Will be fired upon each file Write request. (Inherited from TGIS_Layer) |
|
| forceCachedMode | protected | Set tor True to force cached (bitmap) type of drawing. (Inherited from TGIS_Layer) |
|
| forViewer | protected | Viewer params are valid | |
| FOverlappedExtentMargin | protected | Overlapped extent margin. (Inherited from TGIS_Layer) |
|
| FPagesCount | protected | Number of pages in an image file (TIF). | |
| FParamsList | protected | List of parameters set (sections). (Inherited from TGIS_Layer) |
|
| FParentLayer | protected | Parent layer. (Inherited from TGIS_Layer) |
|
| FPath | protected | Layer path. (Inherited from TGIS_Layer) |
|
| FPathTAB | protected | Path to TAB referencing file. | |
| FPixelOperation | protected | Pixel operation event handle. | |
| FPixelSize | protected | Size of one image pixel in layer units. | |
| FProgressive | protected | If true (default) then layer can be drawn as progressive. | |
| FProjectedExtent | protected | Precalculated projected extent. (Inherited from TGIS_Layer) |
|
| FProjectedExtentBase | protected | Precalculated projected extent - Base extent (unprojected). (Inherited from TGIS_Layer) |
|
| FProjectedExtentEPSG | protected | Precalculated projected extent - Layer CS Context. (Inherited from TGIS_Layer) |
|
| FProjectedExtentRotationAngle | protected | Precalculated projected extent - Rotation context. (Inherited from TGIS_Layer) |
|
| FProjectedExtentRotationPoint | protected | Precalculated projected extent - Rotation context. (Inherited from TGIS_Layer) |
|
| FProjectedExtentViewerEPSG | protected | Precalculated projected extent - Viewer CS Context. (Inherited from TGIS_Layer) |
|
| FRenderer | protected | Handle to a renderer used for drawing shapes. (Inherited from TGIS_Layer) |
|
| fromBand | protected | Number of band used by function LockPixels. | |
| FRotationAngle | protected | Rotation around image center. | |
| FShadowAngle | protected | Shadow angle used for grid shadowing. | |
| FStatistics | protected | Statistics engine. (Inherited from TGIS_Layer) |
|
| FStream | protected | Reference to a potential layer underlying stream. (Inherited from TGIS_Layer) |
|
| FSubFormat | protected | Current sub-format information. | |
| FSubLayers | protected | Sub layers list. (Inherited from TGIS_Layer) |
|
| FSubType | protected | Type of sublayer. (Inherited from TGIS_Layer) |
|
| FSupportsAutoStyle | protected | Indicates whether the layer supports auto styling. (Inherited from TGIS_Layer) |
|
| FSupportsTiledPaint | protected | Indicates whether the layer supports tiled paint. (Inherited from TGIS_Layer) |
|
| FTag | protected | Tag value. (Inherited from TGIS_Layer) |
|
| FTagInternal | protected | Internal Tag value. (Inherited from TGIS_Layer) |
|
| FTagPointer | protected | Pointer Tag value (Inherited from TGIS_Layer) |
|
| FTileable | protected | If True, the layer at the moment is printed or exported using tiles. (Inherited from TGIS_Layer) |
|
| FTiledDrawMode | protected | If not None then the layer at the moment is drawn inside a basemap thread. (Inherited from TGIS_Layer) |
|
| FTransform | protected | Custom transformation. (Inherited from TGIS_Layer) |
|
| FTransparency | protected | Transparency value. (Inherited from TGIS_Layer) |
|
| FUnSupportedOperations | protected | Set of operations not supported by a layer. (Inherited from TGIS_Layer) |
|
| FUseConfig | protected | Is config file active? (Inherited from TGIS_Layer) |
|
| FUserObject | protected | User object. (Inherited from TGIS_Layer) |
|
| FViewer | protected | Reference to viewer object. (Inherited from TGIS_Layer) |
|
| greenTransp | protected | List of transparent colors in Green channel. | |
| gridCol | protected | To save last grid cell lines values}. | |
| hisBlue | protected | Histograms for Blue channel. | |
| hisGray | protected | Histograms for Gray channel.. | |
| hisGreen | protected | Histograms for Green channel. | |
| hisRed | protected | Histograms for Red channel. | |
| importMode | protected | True if image will be imported; False by default. | |
| inDraw | protected | True if layer paint procedure not yet complete. (Inherited from TGIS_Layer) |
|
| internalRotation | protected | Rotation around image center | |
| internalTransparentColor | protected | Native transparent color used in some layers | |
| intLineWidth | protected | Internal line width of layer in bytes. | |
| is48BitsPerPixel | protected | True if 48 bits per pixel | |
| isBasicHistogram | protected | True if basic histogram exist. | |
| isBGR | protected | True if image bands are saved as BGR . | |
| isBitsString | protected | Image file data as bits string. | |
| isBuilt | protected | Set when layer is new generated. | |
| isColorNoDataGDAL | protected | No data color is defined. | |
| isCorFullRGBblue | protected | Full RGB color mapping -red band. | |
| isCorFullRGBgreen | protected | Full RGB color mapping -red band. | |
| isCorFullRGBred | protected | Full RGB color mapping -red band. | |
| isFromNet | protected | Reading image from net. | |
| isGrayScaleImage | protected | True if image is gray scaled. | |
| isHistogram | protected | True if histogram exist. | |
| isInverted | protected | True if image is inverted. | |
| isMerged | protected | True if image is meged with another image; False by default. | |
| isPartialTransparent | protected | True if alpha band is effective used. | |
| isPlanar1 | protected | True when plannar configuration is 1; for false configuration is 2 | |
| isShadow | protected | Should shadowing be used? | |
| lineAlphaBuffer | protected | line buffer (line of bytes). | |
| lockUsingNo | protected | Number of using LockPixels. | |
| makeBlueMap | protected | True if image must be colorized by blue map; False by default. | |
| makeColorsByVals | protected | True if image must be colorized by map; False by default. | |
| makeFullRGBMap | protected | True if image must be colorized by full RGB map; False by default. | |
| makeGrayMap | protected | True if image must be gray scaled by map; False by default. | |
| makeGreenMap | protected | True if image must be colorized by green map; False by default. | |
| makeRedMap | protected | True if image must be colorized by red map; False by default. | |
| makeRGBMap | protected | True if image must be colorized by map; False by default. | |
| makeSomeCorrection | protected | If any bitmap pixels changes is needed. | |
| makeTransparent | protected | True if image must be transparent; False by default. | |
| mapGray2RGB | protected | Gray mapping table. | |
| mapRGB | protected | RGB color mapping. | |
| memoryResident | protected | Layer created in memory. | |
| mmzgbn | protected | Min max valid vor Gid Band number | |
| modifiedMaxHeight | protected | MaxHeight is set by user. | |
| modifiedMinHeight | protected | MinHeight is set by user. | |
| oBand | protected | Single data locked Band of layer when band data are greater than 8-bits. | |
| oBitmap | protected | ARGB data of generated (built) layer. | |
| oGrid | protected | Grid data of generated (built) layer. | |
| oLayer | protected | Layer used for data changing. | |
| outCS | protected | Output CS used in transformation | |
| paletteCpy | protected | Copy of bitmap palette | |
| paramsCache | protected | List of prepared parameters. (Inherited from TGIS_Layer) |
|
| paramsCacheUpdated | protected | If True, parameters are ready to render (Inherited from TGIS_Layer) |
|
| prevShadowDelta | protected | Last shadow value. | |
| prevShadowValue | protected | Last shadow value. | |
| readableNo | protected | Number of using as readable LockPixels. | |
| realBitCount | protected | Bits per pixel. | |
| realLineWidth | protected | Line width of layer in bytes. | |
| redTransp | protected | List of transparent colors in Red channel. | |
| rgbAsGrid | protected | True if pixel image is forced to grid. | |
| rotateCos | protected | Helper for rotations. | |
| rotateSin | protected | Helper for rotations. | |
| rotationPoint | protected | Central point of image | |
| scaledHeight | protected | Used in scaling 2D | |
| scaledWidth | protected | Used in scaling 2D | |
| scaleX | protected | Horizontal scale factor. | |
| scaleXFactor | protected | Scale X factor -1 when scaleX in World File is negative otherwise 1 | |
| scaleY | protected | Vertical scale factor. | |
| scaleYFactor | protected | Scale $ factor -1 when scaleY in World File is positive otherwise 1 | |
| scxF_yRotDivScxRotDivSMcsyF | protected | scaleXFactor minus yRotDivSc multiplied by xRotDivSc and scaleYFactor | |
| scyF_yRotDivScxRotDivSMcsxF | protected | scaleYFactor minus yRotDivSc multiplied by xRotDivSc and scaleXFactor | |
| sizeShadow | protected | Approximate pixel size in meters. | |
| srcGrid | protected | Original layer grid data | |
| swapBW | protected | True if white and black are swapped. | |
| tempFileName | protected | Temporary file name - for big data. | |
| tempFileStream | protected | Temporary file - for big data. | |
| testMask | protected | Used to convert to 24-bit format. | |
| unrotateCos | protected | Helper for rotations. | |
| unrotateSin | protected | Helper for rotations. | |
| unusedAlpha | protected | True if unused alpha band | |
| unusedBlue | protected | True if unused blue band | |
| unusedGreen | protected | True if unused green band | |
| unusedRed | protected | True if unused red band | |
| useColorRamp | protected | True if single values are mapped to color value using color ramp | |
| View3D | public | 3D Representation properties. (Inherited from TGIS_Layer) |
|
| wasTransform | protected | True if transformation was previously set. | |
| wordDivider | protected | Used for mapping 16-bits band to 8-bits | |
| wordMultiply | protected | Used for mapping 16-bits band to 8-bits | |
| wordShift | protected | Used for mapping 16-bits band to 8-bits | |
| workAlpha | protected | To work on alpha data. | |
| workDestRect | protected | To save last draw destination parameters. | |
| workSrcRect | protected | To save last draw source parameters. | |
| xRotDivSc | protected | rotation about x-axis divided by scaleY | |
| yRotDivSc | protected | rotation about y-axis divided by scaleY | |
| Name | Visibility | Description | |
|---|---|---|---|
| addTransparency | protected | Adding transparency defined in transparent zones to image pixels . | |
| Alive | public | Makes a layer non-dormant. (Inherited from TGIS_Layer) |
|
| ApplyAntialiasSettings(Boolean) | public | Applies antialias settings used in scaling operations. | |
| ApplyAntialiasSettings(Boolean; TGIS_ScalingFilter) | public | Applies antialias settings used in scaling operations. | |
| ApplyAutoStyle | public | Applies auto-styling to the layer. (Inherited from TGIS_Layer) |
|
| ApplyAutoStyle(Boolean) | public | Applies auto-styling to the layer. (Inherited from TGIS_Layer) |
|
| applyColorsCorrectionByVals | protected | Applying brightness, contrast and colors correction from pixel params to final correction table. | |
| applyConfigOptions | protected | Read config option parameters. (Overrides TGIS_Layer.applyConfigOptions) |
|
| applyConfigProjection(TGIS_ConfigAbstract) | protected | Read config projection parameters. (Inherited from TGIS_Layer) |
|
| applyConfigProjection(TGIS_ConfigAbstract; TGIS_Layer) | protected | Read config projection parameters. (Inherited from TGIS_Layer) |
|
| ApplyCuttingPolygon | public | Sets a cutting polygon for a layer. (Overrides TGIS_Layer.ApplyCuttingPolygon) |
|
| ARGB2Gray | protected | Gray scale from ARGB bitmap. | |
| AssignedParentLayerInternal | public | Assigns a parent layer. | |
| bandsMappingChanging | protected | Checks bands mapping. | |
| basePointRot | protected | Compute position of the point after the defined in world file rotation. | |
| basePointUnRot | protected | Compute original position of the rotated point. | |
| baseRotatedExtent | protected | Compute extent (encompassing area of the extent) after defined in world file rotation. | |
| baseUnrotatedExtent | protected | Compute original extent of the rotated extent. | |
| Build(Boolean; TGIS_CSCoordinateSystem; TGIS_Extent; Double) | public | Builds an in-memory layer. | |
| Build(Boolean; TGIS_CSCoordinateSystem; TGIS_Extent; Integer; Integer) | public | Builds an in-memory layer. | |
| Build(String; Boolean; TGIS_CSCoordinateSystem; TGIS_Extent; Double; TGIS_LayerPixelSubFormat) | public | Builds a layer. | |
| Build(String; Boolean; TGIS_CSCoordinateSystem; TGIS_Extent; Integer; Integer; TGIS_LayerPixelSubFormat) | public | Builds a layer. | |
| Build(String; TGIS_CSCoordinateSystem; TGIS_Extent; Double) | public | Builds an image layer. | |
| Build(String; TGIS_CSCoordinateSystem; TGIS_Extent; Integer; Integer) | public | Builds an image layer. | |
| calculatePixelsize | protected | Calculate pixel size in layer units. | |
| ChangeHash | public | Changes the hash for the purpose of verifying layer's modifications. (Inherited from TGIS_Layer) |
|
| ClearModified | public | Sets IsModified flag to false for a layer and its sublayers. (Inherited from TGIS_Layer) |
|
| convertBitsToPixels | protected | Internal use only. | |
| doApplyAutoStyle | protected | Layer implementation of auto-styling. (Inherited from TGIS_Layer) |
|
| Dormant | public | Makes a layer dormant. (Overrides TGIS_Layer.Dormant) |
|
| DormantGain | public | Calculates the approximate gain (in Megabytes) which can be achieved by releasing memory by calling Dormant method. (Inherited from TGIS_Layer) |
|
| Draw | public | Draws a layer. (Inherited from TGIS_Layer) |
|
| DrawEx | public | Draws a layer within a defined extent. (Overrides TGIS_Layer.DrawEx) |
|
| drawExtent | protected | Calculates the drawing area /clipping area of device/. (Inherited from TGIS_Layer) |
|
| drawExtentEx | protected | Calculates the drawing area /clipping area of device/. (Overrides TGIS_Layer.drawExtentEx) |
|
| DrawFlash | public | Does nothing (for compatibility only). (Overrides TGIS_Layer.DrawFlash) |
|
| DrawSelected | public | Draws only the selected item(s) on layer. (Inherited from TGIS_Layer) |
|
| DrawSelectedEx | public | Draws only the selected item(s) on layer that are within a defined extent. (Inherited from TGIS_Layer) |
|
| DrawSpecial | public | Draws a layer using the passed renderer. (Overrides TGIS_Layer.DrawSpecial) |
|
| enhanceContrast | protected | Enhance contrast by changing RGB values proportionally from 0 to 255. | |
| ExportLayer | public | Export layer. | |
| finalARGBMap | protected | Does final ARGB bands mapping and set on/off. | |
| FinalizeWrite | public | Performs any operation required to safely finalize write operation, such as building quad trees for TGIS_FilePixelStore. | |
| findProperPixelLock | protected | Checks locked pixels. | |
| ForEachSubLayer | public | Returns in callback event the layer and all sublayers belonging to it. (Inherited from TGIS_Layer) |
|
| fullCorrection | protected | Prepare final mapping table for full color (32-bits) images. | |
| fullRGBCorrection | protected | Mapping full color (32-bits) images by . | |
| GenerateRamp(TGIS_Color; TGIS_Color; TGIS_Color; Double; Double; Double; Boolean; Double; Double; TGIS_ParamsSectionPixel; Boolean) | public | Generates a grid ramp. | |
| GenerateRamp(TGIS_Color; TGIS_Color; TGIS_Color; Double; Double; Double; Boolean; Double; Double; TGIS_ParamsSectionPixel; Boolean; TGIS_ColorInterpolationMode) | public | Generates a grid ramp. | |
| GenerateRampEx(Double; Double; TGIS_ColorMapArray; TGIS_ParamsSectionPixel) | public | Generates a grid ramp from a mapped color array. | |
| GenerateRampEx(Double; Double; TGIS_ColorMapArray; TGIS_ParamsSectionPixel; TGIS_ColorInterpolationMode) | public | Generates a grid ramp from a mapped color array. | |
| getAlphaLine | protected | Internal use only. | |
| GetAltitudeMapZone | public | Gets an altitude zone map definition. | |
| getAsyncState | protected | Report data fetching state from asynchronous sources like ECW. | |
| GetAvailableLayers | public | Gets a list of layers available in storage. (Inherited from TGIS_Layer) |
|
| GetBitmap | public | Fills provided _bitmap array with values defined by _extent. | |
| getBitmapData | protected | Fills provided _bitmap array with values defined by _extent. | |
| getBitmapPixels | protected | Gets bitmap layer data in ARGB format. | |
| GetColorRamp | public | Calculates default color ramp RGB values. | |
| GetGrid | public | Fills provided _grid array with values defined by _extent. | |
| getGridData | protected | Fills provided _grid array with values defined by _extent. | |
| getLine | protected | Internal use only. | |
| getLineBasic | protected | Internal use only. | |
| getLineBits | protected | Internal use only. | |
| getLinePixels | protected | Internal use only. | |
| getMapZoneVal_Old | protected | Getting mapping zone from String | |
| getNativeLine | protected | Internal use only. | |
| getNativeLineGrayGrid | protected | Internal use only. | |
| getNativeValue | protected | Internal use only. | |
| GetRawBitmap | public | Fills provided _bitmap array with values defined by _extent. | |
| GetSubLayer | public | Retrieve the layer identified by a name. (Inherited from TGIS_Layer) |
|
| gridToARGBTable | protected | Fills pixels array with ARGB values from source grid table. | |
| histEqPav | protected | Prepare correction (mapping) table with histogram equalization for full color images. | |
| histRGB2Gray | protected | Prepare one histogram from RGB channel histograms. | |
| HourglassShake | public | Notifies of busy state using an hourglass. (Inherited from TGIS_Layer) |
|
| ImportLayer(TGIS_LayerPixel; TGIS_Extent) | public | Imports layer from an existing pixel layer. | |
| ImportLayer(TGIS_LayerPixel; TGIS_Extent; TGIS_CSCoordinateSystem; Cardinal; Cardinal) | public | Imports layer from an existing pixel layer. | |
| ImportLayer(TGIS_LayerPixel; TGIS_Extent; TGIS_CSCoordinateSystem; Cardinal; Cardinal; TGIS_LayerPixelSubFormat) | public | Imports layer from an existing pixel layer. | |
| importPixelData | protected | Imports and saves data form pixel layer. | |
| InitializeWrite | public | Performs any operation required to safely initialize write operation, such as batch operations for TGIS_FilePixelStore. | |
| inversePalette | protected | Prepare a negative from the RGB palette. | |
| IsGrid | public | Checks if the layer type is grid. (Overrides TGIS_Layer.IsGrid) |
|
| IsPixel | public | Checks if the layer type is pixel. (Overrides TGIS_Layer.IsPixel) |
|
| isSectionInVisibilityRange | protected | Checks whether the section is visible by testing layer properties: Level with MinLevel/MaxLevel, ScaleAsFloat with MinScale/MaxScale, and Zoom with MinZoom/MaxZoom. (Inherited from TGIS_Layer) |
|
| isSublayer | protected | Checks if the layer is a sublayer. (Inherited from TGIS_Layer) |
|
| IsSupported | public | Checks if the operation is supported by the layer. (Inherited from TGIS_Layer) |
|
| IsTopology | public | Checks if the layer type is topology. (Inherited from TGIS_Layer) |
|
| IsVector | public | Checks if the layer type is vector. (Inherited from TGIS_Layer) |
|
| IsVector3D | public | Checks if the layer type is vector 3D. (Inherited from TGIS_Layer) |
|
| IsVisible | public | Checks if the layer is visible in a defined extent and current params. (Inherited from TGIS_Layer) |
|
| lanczos3 | protected | Lanczos filtering function. | |
| linear | protected | Linear (triangle) filtering function. | |
| Locate | public | If a given point is located in the image area, returns true and sets variables. | |
| LocateEx | public | If a given point is located in the image area, returns true and sets variables. | |
| Lock | public | Locks layer in burst-mode operation. (Inherited from TGIS_Layer) |
|
| LockEstimate | public | Estimates memory size for pixel layer to be update. | |
| LockPixels(TGIS_Extent; TGIS_CSCoordinateSystem; Boolean) | public | Locks a fragment of the pixel layer for updating. | |
| LockPixels(TGIS_Extent; TGIS_CSCoordinateSystem; Double; Boolean) | public | Locks a fragment of the pixel layer for updating. | |
| LockPixels(TGIS_Extent; TGIS_CSCoordinateSystem; Double; Integer; Boolean) | public | Locks a fragment of the pixel layer for updating. | |
| LockPixels(TGIS_Extent; TGIS_CSCoordinateSystem; Integer; Boolean) | public | Locks a fragment of the pixel layer for updating. | |
| LockPixels(TRect; Boolean) | public | Locks a fragment of the pixel layer for updating. | |
| LockPixels(TRect; Integer; Boolean) | public | Locks a fragment of the pixel layer for updating. | |
| LockPixels(TRect; TGIS_Extent; Integer; Integer; Integer; Boolean) | public | Locks a fragment of the pixel layer for updating. | |
| lockThread | protected | Locks thread. (Inherited from TGIS_Layer) |
|
| Loop(Double; TGIS_Shape; Boolean) | public | Prepares enumerator to iterate the layer through the linear shape. | |
| Loop(Double; TGIS_Shape; Integer; Boolean) | public | Prepares enumerator to iterate the layer through the linear shape. | |
| Loop(TGIS_Extent; Double; Boolean) | public | Prepares enumerator to iterate the layer (pixels are treated as points). | |
| Loop(TGIS_Extent; Double; Boolean; TGIS_Shape; String; Boolean) | public | Prepares enumerator to iterate the layer. | |
| Loop(TGIS_Extent; Double; Boolean; TGIS_Shape; String; Integer; Boolean) | public | Prepares enumerator to iterate the layer. | |
| Loop(TGIS_Extent; Double; Integer; Boolean) | public | Prepares enumerator to iterate the layer (pixels are treated as points). | |
| Loop(TGIS_Extent; Double; TGIS_Shape; String; Boolean) | public | Prepares enumerator to iterate the layer (pixels are treated as points). | |
| Loop(TGIS_Extent; Double; TGIS_Shape; String; Integer; Boolean) | public | Prepares enumerator to iterate the layer (pixels are treated as points). | |
| makeHistogram | protected | Read, or make and save, the histogram. | |
| MapColorValue | public | Maps color value to pixel color. | |
| MapGridValue | public | Maps grid value to pixel color. | |
| MapToRaster | public | Converts map coordinates to raster pixel location. | |
| MapToRasterRect | public | Converts map extent to raster rectangle. | |
| MergeLayer | public | Merge layer to an existing layer. | |
| Move | public | Moves a layer up or down in the viewer zorder list. (Inherited from TGIS_Layer) |
|
| MoveEx | public | Moves a layer up or down in the viewer zorder list (only visible layers). (Inherited from TGIS_Layer) |
|
| MustCalculateStatistics | public | Verifies if all statistics required to properly render the layer are available. (Inherited from TGIS_Layer) |
|
| MustReproject | public | Checks if the layer must be reprojected. (Inherited from TGIS_Layer) |
|
| MustSave | public | Checks if the layer was modified by editing. (Overrides TGIS_Layer.MustSave) |
|
| Open | public | Opens the layer. (Inherited from TGIS_Layer) |
|
| openBufferedFileStream | protected | Open a file stream in read mode. | |
| optimizeParamsCache(Integer) | protected | Move section specified by _idx to the top of the cached list. (Inherited from TGIS_Layer) |
|
| optimizeParamsCache(Integer; Boolean) | protected | Move section specified by _idx to the top of the cached list. (Inherited from TGIS_Layer) |
|
| Paint | public | Draws the layer or fires PaintLayer event (if defined). (Inherited from TGIS_Layer) |
|
| Prepare | public | Opens the layer. (Inherited from TGIS_Layer) |
|
| prepareAltitudeMapTable | protected | Prepare altitude map array. | |
| prepareColorRamp | protected | Prepare color ramp array. | |
| PrepareForExport | public | Prepares layer for export. (Inherited from TGIS_Layer) |
|
| prepareMinMaxZ | protected | Scan grid to prepare min/max value of altitude | |
| prepareMinMaxZGray | protected | Scan image to prepare min/max value of altitude when interpreting RGB as single channel "AsGrid". | |
| PrepareParams | public | For internal use only. (Inherited from TGIS_Layer) |
|
| prepareParamsCache | protected | Prepare cached section list meeting the _style name. (Inherited from TGIS_Layer) |
|
| prepareParamsCache(String) | protected | Prepare cached section list meeting the _style name. (Inherited from TGIS_Layer) |
|
| prepColorMapTbl | protected | Prepare an array (corRGB) for mapping full RGB colors. | |
| prepCorTbl | protected | Prepare mapping table with no correction for full color images. | |
| prepFinalCorTable | protected | Prepare final mapping table for full color (32-bits) images. | |
| prepFullGrayTable | protected | Preparing map table for making a gray scale image from a full color (32-bits) bitmap scan line. | |
| prepFullRGBMapTbl | protected | Prepare corFullRGB table. | |
| prepGrayMapTbl | protected | Prepare an array (mapGray2RGB) for mapping gray scale to colors by points (grayMapList). | |
| prepRGBHist | protected | Prepare histograms for ARGB (32-bits) bitmap scan line. | |
| prepTransparent | protected | Prepare transparency table. | |
| PreRecognize | public | Checks if the layer can read the file. (Inherited from TGIS_Layer) |
|
| Project | public | Applies a projection on the single point. (Inherited from TGIS_Layer) |
|
| Project3D | public | Applies a projection on the single point in 3D. (Inherited from TGIS_Layer) |
|
| Project3D_Ref | public | Applies a projection on the single point in 3D. (Inherited from TGIS_Layer) |
|
| ProjectExtent | public | Applies a projection on the extent. (Inherited from TGIS_Layer) |
|
| projectionNeed | protected | If image reprojection is needed. | |
| Project_Ref | public | Applies a projection on the single point. (Inherited from TGIS_Layer) |
|
| putBitmapRawData | protected | Fills provided _bitmap array with values defined by _extent. | |
| PutGrid | public | Puts _grid array into layer at the place defined by _extent. | |
| RaiseBusyEvent | public | Fires Busy event of the layer. (Inherited from TGIS_Layer) |
|
| RaiseBusyPrepare | public | Fires BusyPrepare method of the assigned viewer. (Inherited from TGIS_Layer) |
|
| RaiseBusyRelease | public | Fires BusyRelease method of the assigned viewer. (Inherited from TGIS_Layer) |
|
| RaiseBusyShake | public | Fires BusyShake method of the assigned viewer. (Inherited from TGIS_Layer) |
|
| RasterToMap | public | Converts raster pixel location to map coordinates | |
| RasterToMapRect | public | Convert raster rectangle to map extent | |
| ReadConfig | public | Reads the layer configuration files. (Inherited from TGIS_Layer) |
|
| ReadConfigParam | public | Reads the layer configuration parameters. (Inherited from TGIS_Layer) |
|
| readDoubleBE | protected | Read double (8 bytes) from big endian stored bytes. | |
| readDoubleLE | protected | Read double (8 bytes) from little endian stored bytes. | |
| ReadGridLine | public | Reads a specific line of the grid into the preallocated buffer. | |
| RecalcExtent | public | Recalculates extent based on real shapes. (Inherited from TGIS_Layer) |
|
| RecalcProjectedExtent | public | Recalculates the projected extent. (Overrides TGIS_Layer.RecalcProjectedExtent) |
|
| Recalculate | public | Recalculates layer MinZ and MaxZ values. | |
| ReOpen | public | Reopens the layer. (Overrides TGIS_Layer.ReOpen) |
|
| replaceWorkingFiles | protected | Replaces original image by modified (temporary). | |
| RereadConfig | public | Rereads the layer configuration files. (Inherited from TGIS_Layer) |
|
| resetMustReproject | protected | Reset MustReporoject state. (Inherited from TGIS_Layer) |
|
| resolveBandDefintion | protected | Resolve bands definition from ForceBandLayout or metadata. | |
| RevertAll | public | Reverts layer to its original content. (Overrides TGIS_Layer.RevertAll) |
|
| RootLayer | public | Returns the absolute parent layer. (Inherited from TGIS_Layer) |
|
| rotationNeed | protected | If image rotation is needed. | |
| SaveAll | public | Saves layer and destroys mirrored items. (Inherited from TGIS_Layer) |
|
| SaveData | public | Save the entire layer to the file. (Overrides TGIS_Layer.SaveData) |
|
| ScaleGrid(TGIS_GridArray; TGIS_GridArray; Integer; Integer) | public | Scales grid array using a linear filter by default. | |
| ScaleGrid(TGIS_GridArray; TGIS_GridArray; Integer; Integer; TGIS_ScalingFilter) | public | Scales grid array using defined filtering. | |
| setBitmapPalette | protected | Set bitmap palette to gray scale image. | |
| setBmpTransparent | protected | Fills provided _bitmap array with Alpha value = $FF (full transparent). | |
| SetCSByEPSG | public | Sets up Coordinate System to a coordinate system provided by a EPSG code. (Inherited from TGIS_Layer) |
|
| SetCSByWKT | public | Sets up Coordinate System to a coordinate system provided by a WKT string (GEOGCS or PROJCS). (Inherited from TGIS_Layer) |
|
| SetCSByWKTFile | public | Sets up Coordinate System to a coordinate system provided by a file which contains a WKT string (GEOGCS or PROJCS). (Inherited from TGIS_Layer) |
|
| SetCurrentFileScale | public | Sets internal file scales - (1.0, 1.0) is always possible | |
| setFileScale | protected | Set internal imagery scale. | |
| setFileScaleXY | protected | Set internal imagery scale. | |
| setFileView | protected | Set internal imagery view. | |
| setMapZone(array of Integer; TGIS_Color; TGIS_PixelChannelZone) | protected | Set mapping zone in color map table. | |
| setMapZone(array of Integer; TGIS_Color; TGIS_PixelGrayZone) | protected | Set mapping zone in color map table. | |
| setNoDataTable | protected | Fills provided _grid array with NoDataValue | |
| setPage | protected | Sets CurrentPage in multipages image | |
| setUp | protected | makes a general layer setup (Overrides TGIS_Layer.setUp) |
|
| setUp2 | protected | Makes a general layer setup second step. (Inherited from TGIS_Layer) |
|
| setUp3 | protected | Makes a general layer setup third step. (Overrides TGIS_Layer.setUp3) |
|
| setUpInternal | protected | setting up pixel layer parameters | |
| setupParams | protected | Set up parameters cache. | |
| SetWorld | public | Sets world parameters (equivalent to worldfile). | |
| setWorldFile | protected | Set extent based on world file (like .tfw, .bpw) itp. | |
| simpleRGBCorrection | protected | Mapping red, green, blue colors bands if image. | |
| storeConfigOptions | protected | Store layer options in a configuration file. (Overrides TGIS_Layer.storeConfigOptions) |
|
| transformExtent | protected | Custom transformation of the extent. (Inherited from TGIS_Layer) |
|
| transformNeed | protected | If image transformation is needed. | |
| Unlock | public | Unlocks layer from burst-mode operation. (Inherited from TGIS_Layer) |
|
| UnlockPixels | public | UnLocks a fragment. | |
| unlockThread | protected | Unlocks thread. (Inherited from TGIS_Layer) |
|
| UnprepareForExport | public | Finalizes export initialized with PrepareForExport. (Inherited from TGIS_Layer) |
|
| Unproject | public | Applies reverse projection (recovers from the projection) on the single point. (Inherited from TGIS_Layer) |
|
| Unproject3D | public | Applies reverse projection (recovers from the projection) on the singlepoint in 3D. (Inherited from TGIS_Layer) |
|
| Unproject3D_Ref | public | Applies reverse projection (recovers from the projection) on the single point in 3D. (Inherited from TGIS_Layer) |
|
| UnprojectExtent | public | Applies reverse projection (recovers from the projection) on the extent. (Inherited from TGIS_Layer) |
|
| Unproject_Ref | public | Applies reverse projection (recover from projection) on the single point. (Inherited from TGIS_Layer) |
|
| ViewerReParent | public | Sets viewer for the layer and its sublayers. (Inherited from TGIS_Layer) |
|
| WriteConfig | public | Writes layer configuration files. (Inherited from TGIS_Layer) |
|
| Name | Visibility | Description | |
|---|---|---|---|
| Active | public | Checks if the layer is active? Active means layer is visible and an object can be localized on the layer. (Inherited from TGIS_Layer) |
|
| Addition | public | Additional value. (Inherited from TGIS_Layer) |
|
| Age | public | Age of the layer (since its creation). (Inherited from TGIS_Layer) |
|
| AltitudeMapZonesCount | public | Number of altitude map zones. | |
| Antialias | public | Antialias scaling (for some layers only like PNG and JPG). | |
| AntialiasFilter | public | Scaling filter (like Linear, Lanczos) to be used for scaling images and grids. | |
| BandsCount | public | Number of bands in a file. | |
| Basemap | public | True if the layer must be interpreted as basemap (for background painting). (Inherited from TGIS_Layer) |
|
| BasemapDraw | public | If True, the layer at the moment is drawn inside a basemap thread. (Inherited from TGIS_Layer) |
|
| BitHeight | public | Height of the layer in pixels. | |
| BitmapFactory | public | A hint which bitmap factory should be used internally if applicable. | |
| BitWidth | public | Width of the layer in pixels. | |
| CachedPaint | public | False if layer must be painted directly (bypassing cache). (Inherited from TGIS_Layer) |
|
| Capabilities | public | Pixel sub-format list that is available for write operation. | |
| Caption | public | Caption of layer; if not filed directly then will be filed with Name when adding to the Viewer. (Inherited from TGIS_Layer) |
|
| CellHeight | public | Height of a cell in pixels. | |
| CellWidth | public | Width of a cell in pixels. | |
| CodePage | public | Code Page in which text has been stored. (Inherited from TGIS_Layer) |
|
| Collapsed | public | Checks if the layer is collapsed? Collapsed means only the layer's title will be visible inside the legend. (Inherited from TGIS_Layer) |
|
| Comments | public | Additional user comments. (Inherited from TGIS_Layer) |
|
| ConfigFile | public | Configuration file handle. (Inherited from TGIS_Layer) |
|
| ConfigName | public | Configuration file name. (Inherited from TGIS_Layer) |
|
| CS | public | Coordinate System that is assigned to the layer. (Inherited from TGIS_Layer) |
|
| CurrentPage | public | Current page of multipage file. | |
| CustomData | public | List of custom, user-defined data. (Inherited from TGIS_Layer) |
|
| CuttingPolygon | public | Cutting polygon that defines an input image's valid area. | |
| DefaultSubFormat | public | Default subformat information. | |
| DirectMode | public | True if the layer is direct-mode (bypassing cache). (Inherited from TGIS_Layer) |
|
| DormantMode | public | Dormant mode for the layer. (Inherited from TGIS_Layer) |
|
| Driver | public | The layer's driver name. (Inherited from TGIS_Layer) |
|
| Extent | public | Extent of the layer. (Inherited from TGIS_Layer) |
|
| Extent3D | public | Three-dimensional extent of the layer. (Inherited from TGIS_Layer) |
|
| ExtentPixelAdjustment | public | Modify draw extent calculation t be performed on mid pixel rather then on border. | |
| FileCopyrights | public | Copyright information about the layer. (Inherited from TGIS_Layer) |
|
| FileInfo | public | Additional textual information about the layer such as compression, number of pixels, copyright, etc. (Inherited from TGIS_Layer) |
|
| ForcedBandsDefinition | public | Forced interpretation of bands in a layer. | |
| GridBand | public | Grid band number. | |
| GUID | public | Unique layer identifier (Inherited from TGIS_Layer) |
|
| HideFromLegend | public | False if the layer should not be visible in legend. (Inherited from TGIS_Layer) |
|
| Icon | public | Layer icon to be presented in a legend. (Inherited from TGIS_Layer) |
|
| InPaint | public | True if the layer upon paint process. (Inherited from TGIS_Layer) |
|
| Interpretation | public | The way the layer is interpreted: the default is as a grid, or as an image. | |
| IsExportable | public | True if the layer is exportable. (Inherited from TGIS_Layer) |
|
| IsGridImage | public | True if image is a grid. | |
| IsLocked | public | True if the layer is in locked state. (Inherited from TGIS_Layer) |
|
| IsNativeGridImage | public | True if image is a native grid. | |
| IsOpened | public | True if the layer is opened and is ready for operations. (Inherited from TGIS_Layer) |
|
| IsPersistent | public | True if the layer is persistent. (Inherited from TGIS_Layer) |
|
| IsReadOnly | public | True if the layer is read-only. (Inherited from TGIS_Layer) |
|
| IsTiled | public | True if layer is tiled. | |
| IsTopmost | public | True if the layer can be interpreted as the topmost (trackable) layer. (Inherited from TGIS_Layer) |
|
| Layer3D | public | Mode of 3D operations (Inherited from TGIS_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 TGIS_Layer) |
|
| MinHeight | public | Minimum elevation value of the grid. | |
| MinHeightThreshold | public | Minimum threshold of the grid elevation values to display. | |
| MultiUserMode | public | Type of multiuser mode. (Inherited from TGIS_Layer) |
|
| Name | public | Name of layer; if not filled directly, then will be filled with Path when added to the viewer. (Inherited from TGIS_Layer) |
|
| NoDataColor | public | Color property to define default color to be used to fill "empty" area upon PixelExportManager. | |
| NoDataValue | public | Grid NoData value. | |
| OverlappedExtentMargin | public | Overlapped extent margin. (Inherited from TGIS_Layer) |
|
| PageCount | public | Number of pages in an image file. | |
| Params | public | Returns parameters for pixel layer. | |
| ParamsList | public | List of all parameter sections attached to the current layer. (Inherited from TGIS_Layer) |
|
| ParentLayer | public | Parent layer of a sub layer. (Inherited from TGIS_Layer) |
|
| Path | public | Path to file holding the layer's data. (Inherited from TGIS_Layer) |
|
| PathTAB | public | Path to a TAB referencing file. | |
| PathWithDriver | public | Path to file with the layer's data extended with driver name. (Inherited from TGIS_Layer) |
|
| Progressive | public | If true (default), then layer can be drawn as progressive. | |
| ProjectedExtent | public | Extent of the layer in projected units. (Inherited from TGIS_Layer) |
|
| Renderer | public | Handle to a renderer used for drawing shapes. (Inherited from TGIS_Layer) |
|
| Statistics | public | Layer statistics engine (Inherited from TGIS_Layer) |
|
| Stream | public | Reference to a potential layer underlying the stream. (Inherited from TGIS_Layer) |
|
| SubFormat | public | Current sub-format information. | |
| SubLayers | public | List of sublayers belonging to the layer. (Inherited from TGIS_Layer) |
|
| SubType | public | Type of sublayer. (Inherited from TGIS_Layer) |
|
| SupportsAutoStyle | public | Indicates whether the layer supports auto styling. (Inherited from TGIS_Layer) |
|
| SupportsTiledPaint | public | Indicates whether the layer supports tiled paint. (Inherited from TGIS_Layer) |
|
| Tag | public | Tag has no predefined meaning. (Inherited from TGIS_Layer) |
|
| TagInternal | public | TagInternal has no predefined meaning. (Inherited from TGIS_Layer) |
|
| TagPointer | public | TagPointer has no predefined meaning. (Inherited from TGIS_Layer) |
|
| Tileable | public | If True, the layer at the moment is printed or exported using tiles. (Inherited from TGIS_Layer) |
|
| TiledDrawMode | public | If True, the layer at the moment is drawn by tiler. (Inherited from TGIS_Layer) |
|
| Transform | public | Custom transformation. (Inherited from TGIS_Layer) |
|
| Transparency | public | Transparency value for the layer (0..100). (Inherited from TGIS_Layer) |
|
| UnSupportedOperations | public | Set of operations not supported by the layer. (Inherited from TGIS_Layer) |
|
| UseConfig | public | True if config file is active. (Inherited from TGIS_Layer) |
|
| UserObject | public | UserObject can be used to associate with the layer a user-defined object. (Inherited from TGIS_Layer) |
|
| Viewer | public | Reference to a viewer object. (Inherited from TGIS_Layer) |
|
| ZOrder | public | Layer's position relative to other layers. (Inherited from TGIS_Layer) |
|
| ZOrderEx | public | Layer position relative to other visible layers. (Inherited from TGIS_Layer) |
|
| Name | Visibility | Description | |
|---|---|---|---|
| GridOperationEvent | published | Grid operation event. | |
| PixelOperationEvent | published | Pixel operation event. | |
For specifying some more advanced pixel layer appearances, such as color mapping, transparent zones, etc., the property Pixel.Params should be used.
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:
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 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:
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 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:
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 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:
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 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:
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.
All properties of Params.Pixel are available as: TGIS_ParamsPixel class.
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 . |