User Tools

Site Tools


api:dk11:delphi:gislayerosm.tgis_layerosm

TGIS_LayerOSM class

DK11 for Delphi | GisLayerOSM.TGIS_LayerOSM | Classes | Constructors | Fields | Methods | Properties

Encapsulation of a OSM Layer.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
type
  TGIS_LayerOSM = class( TGIS_LayerCompoundVector )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_LayerOSM : public TGIS_LayerCompoundVector
{
};

Inheritance

Constructors

Inherited Overrides Protected
Name Visibility Description
Create public Create a layer with default parameters.
(Overrides TGIS_LayerCompoundVector.Create)

Fields

Inherited Protected
Name Visibility Description
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)
FBasemap protected True if the layer is interpreted as basemap.
(Inherited from TGIS_Layer)
FCachedPaint protected False if layer must be painted directly (bypassing cache).
(Inherited from TGIS_Layer)
FCaption protected Layer caption.
(Inherited from TGIS_Layer)
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)
FCustomData protected List of custom data.
(Inherited from TGIS_Layer)
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)
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)
FHideFromLegend protected True if layer should not be visible in a legend.
(Inherited from TGIS_Layer)
FIsLocked protected True if layer is in locked state Lock.
(Inherited from TGIS_Layer)
FIsModified protected True if structure (field, geometry etc).
(Inherited from TGIS_Layer)
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)
FMaxTileSize protected Maximum allowed tile size for the layer.
(Inherited from TGIS_Layer)
FMultiUserMode protected Multiuser mode.
(Inherited from TGIS_Layer)
FName protected Layer name.
(Inherited from TGIS_Layer)
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)
FParams protected Selected parameters set.
(Inherited from TGIS_Layer)
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)
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)
FStatistics protected Statistics engine.
(Inherited from TGIS_Layer)
FStream protected Reference to a potential layer underlying stream.
(Inherited from TGIS_Layer)
FSubLayers protected Sub layers list.
(Inherited from TGIS_Layer)
FSubType protected Type of sublayer.
(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)
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)
inDraw protected True if layer paint procedure not yet complete.
(Inherited from TGIS_Layer)
paramsCache protected List of prepared parameters.
(Inherited from TGIS_Layer)
View3D public 3D Representation properties.
(Inherited from TGIS_Layer)

Methods

Inherited Overrides Protected
Name Visibility Description
Add public Add a layer to the list.
(Inherited from TGIS_LayerCompoundAbstract)
Alive public Makes a layer non-dormant.
(Inherited from TGIS_Layer)
applyConfigOptions protected Read config option parameters.
(Inherited from TGIS_Layer)
applyConfigProjection protected Read config projection parameters.
(Inherited from TGIS_Layer)
ApplyCuttingPolygon public Sets a cutting polygon for a layer.
(Inherited from TGIS_Layer)
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)
Dormant public Makes a layer dormant.
(Inherited from TGIS_Layer)
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_LayerCompoundAbstract)
DrawEx public Draws a layer within a defined extent.
(Inherited from TGIS_Layer)
drawExtent protected Calculates the drawing area /clipping area of device/.
(Inherited from TGIS_Layer)
drawExtentEx protected Calculates the drawing area /clipping area of device/.
(Inherited from TGIS_Layer)
DrawFlash public Draws a flash.
(Inherited from TGIS_LayerCompoundAbstract)
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_LayerCompoundAbstract)
ForEachSubLayer public Returns in callback event the layer and all sublayers belonging to it.
(Inherited from TGIS_Layer)
Get public Retrieve the layer identified by a name.
(Inherited from TGIS_LayerCompoundAbstract)
GetAvailableLayers public Gets a list of layers available in storage.
(Inherited from TGIS_Layer)
HourglassShake public Notifies of busy state using an hourglass.
(Inherited from TGIS_Layer)
IsGrid public Checks if the layer type is grid.
(Inherited from TGIS_Layer)
IsPixel public Checks if the layer type is pixel.
(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)
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)
LocateEx public Locate a shape (more precise).
(Inherited from TGIS_LayerCompoundVector)
Lock public Locks layer in burst-mode operation.
(Inherited from TGIS_Layer)
lockThread protected Locks thread.
(Inherited from TGIS_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.
(Inherited from TGIS_Layer)
Open public Opens the layer.
(Inherited from TGIS_Layer)
optimizeParamsCache 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)
prepareParamsCache protected Prepare cached section list meeting the _style name.
(Inherited from TGIS_Layer)
PreRecognize public Checks if the layer can read the file.
(Overrides TGIS_Layer.PreRecognize)
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 protected Project a defined extent.
(Inherited from TGIS_Layer)
Project_Ref public Applies a projection on the single point.
(Inherited from TGIS_Layer)
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)
ReadConfig public Reads the layer configuration files.
(Inherited from TGIS_Layer)
ReadConfigParam public Reads the layer configuration parameters.
(Inherited from TGIS_Layer)
RecalcExtent public Recalculates extent based on real shapes.
(Inherited from TGIS_LayerCompoundAbstract)
RecalcProjectedExtent public Recalculates a projected extent.
(Inherited from TGIS_LayerCompoundAbstract)
ReOpen public Reopens the layer.
(Inherited from TGIS_Layer)
RereadConfig public Rereads the layer configuration files.
(Inherited from TGIS_Layer)
resetMustReproject protected Reset MustReporoject state.
(Inherited from TGIS_Layer)
RevertAll public Reverts layer to its original content.
(Inherited from TGIS_Layer)
RootLayer public Returns the absolute parent layer.
(Inherited from TGIS_Layer)
SaveAll public Saves layer and destroys mirrored items.
(Inherited from TGIS_Layer)
SaveData public Saves layer and destroys mirrored items.
(Inherited from TGIS_Layer)
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)
setUp protected Makes a general layer setup first step.
(Overrides TGIS_LayerCompoundAbstract.setUp)
setUp2 protected Makes a general layer setup second step.
(Inherited from TGIS_Layer)
setUp3 protected Makes a general layer setup third step.
(Inherited from TGIS_LayerCompoundAbstract)
storeConfigOptions protected Store layer options in a configuration file.
(Inherited from TGIS_Layer)
transformExtent protected Custom transformation of the extent.
(Inherited from TGIS_Layer)
Unlock public Unlocks layer from burst-mode operation.
(Inherited from TGIS_Layer)
unlockThread protected Unlocks thread.
(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 protected Unproject a defined extent.
(Inherited from TGIS_Layer)
Unproject_Ref public Applies reverse projection (recover from projection) on the single point.
(Inherited from TGIS_Layer)
WriteConfig public Writes layer configuration files.
(Inherited from TGIS_Layer)

Properties

Inherited Protected
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)
AdditionalNodes public If True, additional points built on standalone nodes will be added.
Age public Age of the layer (since its creation).
(Inherited from TGIS_Layer)
Basemap public True if the layer must be interpreted as basemap (for background painting).
(Inherited from TGIS_Layer)
CachedPaint public False if layer must be painted directly (bypassing cache).
(Inherited from TGIS_Layer)
Caption public Caption of layer; if not filed directly then will be filed with Name when adding to the Viewer.
(Inherited from TGIS_Layer)
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)
CustomData public List of custom, user-defined data.
(Inherited from TGIS_Layer)
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)
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)
HideFromLegend public False if the layer should not be visible in legend.
(Inherited from TGIS_Layer)
IsExportable public True if the layer is exportable.
(Inherited from TGIS_Layer)
IsLocked public True if the layer is in locked state.
(Inherited from TGIS_Layer)
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)
IsTopmost public True if the layer can be interpreted as the topmost (trackable) layer.
(Inherited from TGIS_Layer)
Layer public All sub layers.
(Inherited from TGIS_LayerCompoundAbstract)
LayersCount public Sub layers count.
(Inherited from TGIS_LayerCompoundAbstract)
MaxTileSize public Maximum allowed tile size for the layer.
(Inherited from TGIS_Layer)
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)
Params public Parameters (colors, fills, etc.) object.
(Inherited from TGIS_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)
PathWithDriver public Path to file with the layer's data extended with driver name.
(Inherited from TGIS_Layer)
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)
SubLayers public List of sublayers belonging to the layer.
(Inherited from TGIS_Layer)
SubType public Type of sublayer.
(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)
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)

Remarks

Supported internal formats of files are XML and PBF.

2020/02/12 01:07