User Tools

Site Tools


samples:samples

Samples

Documentation | Samples

This is a list of source code samples available for Developer Kernel 11 editions for all supported platforms.

A sample can be listed in more than one category.

Samples are distributed with DK setup files and are available on Github:

Alphabetic list

New

TopologyLayer Demonstrates creation, editing, validation, and hierarchy management of topology layer projects using the TatukGIS topology framework.
WindAnimation WindAnimation — demonstrates real-time animated wind visualization.
DebugVisualizer DebugVisualizer — IDE integration for visualizing TatukGIS shapes in the debugger.
AIModelRunner Sample app for running Python-driven AI Models on TatukGIS Viewer/Layer.

Basic usage

AddLayer AddLayer sample — demonstrates dynamic layer addition and visual parameter configuration.
Hello.NetCore HelloDK.NetCore sample — introductory demonstration of core TatukGIS DK workflows on .NET Core (C#/.NET WinForms).
HelloDK HelloDK - TatukGIS Developer Kernel introductory sample demonstrating core GIS workflows including data loading, layer management, and interactive visualization.
Locate Locate Sample — Demonstrates feature identification and location by finding shapes at the cursor position using spatial queries and pixel-to-coordinate conversion.
Zooming Zooming Sample - Interactive map navigation using mouse wheel zoom, drag-select zoom region, and switching between zoom and pan modes.

Viewer

CGMViewer CGMViewer sample — demonstrates rendering CGM (Computer Graphics Metafile) symbol files (Delphi/VCL).
Enumerators Enumerators sample — demonstrates spatial iteration using TGIS_LayerVector.Loop() enumerators.
Legend Legend Sample - Demonstrates adding and integrating legend controls to display map layer properties and styling information.
Locate Locate Sample — Demonstrates feature identification and location by finding shapes at the cursor position using spatial queries and pixel-to-coordinate conversion.
MiniMap MiniMap sample — demonstrates creating a synchronized overview/minimap window (Delphi/VCL).
Projections Projections Sample
Renderer Renderer sample — demonstrates how to load and display a TatukGIS project file that has been pre-configured with custom rendering rules.
Rotation Rotation Sample — Demonstrates interactive map rotation around a user-defined point.
ShowHint Hints properties window } unit frmHint;
SimpleEdit How to provide editing functionality.
TwoWindows TwoWindows sample — demonstrates synchronized, two-window display of the same map (Delphi/VCL).
Viewer CGMViewer sample — demonstrates rendering CGM (Computer Graphics Metafile) symbol files (Delphi/VCL).
ViewerLite ViewerLite Sample - Minimal lightweight map viewer application for displaying GIS data, available for mobile platforms (FMX, WPF, MAUI).
WKT WKT Sample — Demonstrates parsing and visualization of Well-Known Text (WKT) geometry representations using TGIS_Utils.GisCreateShapeFromWKT.
Zooming Zooming Sample - Interactive map navigation using mouse wheel zoom, drag-select zoom region, and switching between zoom and pan modes.

Layer operations

AddLayer AddLayer sample — demonstrates dynamic layer addition and visual parameter configuration.
BitmapFill BitmapFill sample - demonstrates per-shape bitmap fill using a custom PaintShapeEvent callback.
CGMViewer CGMViewer sample — demonstrates rendering CGM (Computer Graphics Metafile) symbol files (Delphi/VCL).
CustomPaint CustomPaint sample — demonstrates custom drawing overlays using paint-hook mechanisms.
CuttingPolygon CuttingPolygon sample — demonstrates how to clip a raster (pixel) layer's rendering to within an arbitrary polygon boundary using TGIS_LayerPixel.CuttingPolygon.
DemOperations DemOperations sample - demonstrates terrain analysis derived from a DEM raster.
DirectWrite DirectWrite sample — demonstrates five sequential low-level write techniques on TGIS_LayerSHP: Build (AddShape loop + SaveData), ImportLayerEx (spatial CONTAINS filter), MergeLayerEx (DISJOINT filter), TGIS_LayerVectorDirectWriteHelper (sequential high-performance write), and TGIS_LayerVectorMergeHelper (batch-commit write). Buttons unlock in sequence; output files go into a numbered Shapes{n} directory.
DragLabel DragLabel sample — demonstrates interactive draggable feature labels on maps.
Encode Encode sample — demonstrates transparent layer encoding using read/write callbacks.
GridToVector GridToVector sample - demonstrates raster-to-vector conversion using TGIS_GridToPolygon and TGIS_GridToPoint.
InMemory InMemory sample — demonstrates creating and populating vector layers programmatically at runtime, without loading from files.
Interpolation Interpolation Sample - How to generate a raster grid from vector point data using various spatial interpolation methods.
IsochroneMap IsochroneMap Sample - Generates isochrone maps showing areas reachable from an origin point within specified time or distance limits.
LayerStatistics LayerStatistics Sample — Demonstrates statistical computation on vector, grid (DEM), and raster (pixel/image) layers with predefined and custom statistical functions.
Pixel Pixel - demonstrates how to open and display raster (pixel) layers using different rendering modes provided by TatukGIS.
PixelEdit PixelEdit sample - demonstrates how to read and modify raster (pixel) layer data programmatically using TatukGIS.
PixelLocate PixelLocate Sample — Demonstrates reading pixel values from raster layers and displaying pixel data including RGB colors and native channel values.
PixelOperations PixelOperations sample — demonstrates basic raster pixel manipulation and analysis (Delphi/VCL).
RasterAlgebra RasterAlgebra sample - demonstrates how to apply mathematical expressions to raster layers using TGIS_RasterAlgebra to produce derived pixel or grid outputs.
SimpleEdit How to provide editing functionality.
Transform Transform sample - Polynomial georeferencing of a raster image.
Viewshed Viewshed sample — demonstrates line-of-sight terrain analysis using TGIS_Viewshed.

Shape operations

BitmapFill BitmapFill sample - demonstrates per-shape bitmap fill using a custom PaintShapeEvent callback.
CustomPaint CustomPaint sample — demonstrates custom drawing overlays using paint-hook mechanisms.
CuttingPolygon CuttingPolygon sample — demonstrates how to clip a raster (pixel) layer's rendering to within an arbitrary polygon boundary using TGIS_LayerPixel.CuttingPolygon.
DragLabel DragLabel sample — demonstrates interactive draggable feature labels on maps.
Enumerators Enumerators sample — demonstrates spatial iteration using TGIS_LayerVector.Loop() enumerators.
FieldRules FieldRules sample - Demonstrates field validation and constraint rules for attribute data entry and layer attribute integrity.
Grid Grid Sample - How to manipulate grid (raster/DEM) layer presentation.
HelloDK HelloDK - TatukGIS Developer Kernel introductory sample demonstrating core GIS workflows including data loading, layer management, and interactive visualization.
InMemory InMemory sample — demonstrates creating and populating vector layers programmatically at runtime, without loading from files.
Locate Locate Sample — Demonstrates feature identification and location by finding shapes at the cursor position using spatial queries and pixel-to-coordinate conversion.
MultiSelect Multiselect Sample — Demonstrates multiple feature selection with different selection modes and displaying selected feature attributes in a list and attributes panel.
PixelEdit PixelEdit sample - demonstrates how to read and modify raster (pixel) layer data programmatically using TatukGIS.
Relate Relate Sample — Demonstrates computing spatial relations between two shapes using TGIS_Shape.Relate and DE-9IM (Dimensionally Extended 9-Intersection Model) predicates.
SelectByShape SelectByShape sample - demonstrates how to select vector features by drawing an arbitrary shape (circle or rectangle) interactively on the map.
ShapeOperations ShapeOperations sample - Interactive geometry transformation of vector shapes.
SimpleEdit How to provide editing functionality.
TrackingTest TrackingTest sample — demonstrates animated tracking of GPS-like movement (Delphi/VCL).
WKT WKT Sample — Demonstrates parsing and visualization of Well-Known Text (WKT) geometry representations using TGIS_Utils.GisCreateShapeFromWKT.

Topology

Buffers1 Buffers1 sample — demonstrates spatial buffer operations for proximity analysis.
Buffers2 Buffers2 - Advanced buffer operation with spatial intersection query.
Relate Relate Sample — Demonstrates computing spatial relations between two shapes using TGIS_Shape.Relate and DE-9IM (Dimensionally Extended 9-Intersection Model) predicates.
SplitByArc SplitbyArc Sample — Demonstrates splitting polygon geometries using an interactively drawn line (arc) via TGIS_Topology.SplitByArc.
Topology Topology Sample - Demonstrates polygon set-algebra operations using TGIS_Topology.
TopologyLayer Demonstrates creation, editing, validation, and hierarchy management of topology layer projects using the TatukGIS topology framework.

GPS

GPSSimple GPSSimple sample — demonstrates basic GPS data reception and display (Delphi/VCL).
GPSTracker GPSTracker sample — demonstrates real-time GPS tracking and visualization (Delphi/VCL).
Snap Snap Sample — Demonstrates point tracking and snap-to-geometry functionality for constraining moving objects to the nearest feature.

Geocoding & Routing

GeoCoding GeoCoding Sample - Delphi VCL
OnlineServices How to utilize TatukGIS online services (tiles, geocoding, routing and isochrone).
TigerGeocoding How to provide Geocoding using name standardization } unit HelpForm;

Rendering

BitmapFill BitmapFill sample - demonstrates per-shape bitmap fill using a custom PaintShapeEvent callback.
Classification Classification sample — demonstrates thematic data classification of vector and raster (pixel) layers using the TatukGIS TGIS_ClassificationAbstract API.
CustomPaint CustomPaint sample — demonstrates custom drawing overlays using paint-hook mechanisms.
DragLabel DragLabel sample — demonstrates interactive draggable feature labels on maps.
DynamicAggregation DynamicAggregation sample — demonstrates TGIS_DynamicAggregatorFactory for real-time point clustering on a GIS layer.
JoinAndChart JoinAndChart sample — demonstrates attribute joining and proportional symbol charting.
PaintLabel PaintLabel sample — demonstrates customizing label rendering and appearance (Delphi/VCL).
RotatedRect RotatedRect sample — demonstrates custom drawing on the viewer canvas with rotation (Delphi/VCL).
Statistic LayerStatistics Sample — Demonstrates statistical computation on vector, grid (DEM), and raster (pixel/image) layers with predefined and custom statistical functions.
WindAnimation WindAnimation — demonstrates real-time animated wind visualization.

Analysis

BitmapFill BitmapFill sample - demonstrates per-shape bitmap fill using a custom PaintShapeEvent callback.
DynamicAggregation DynamicAggregation sample — demonstrates TGIS_DynamicAggregatorFactory for real-time point clustering on a GIS layer.
Hydrology Hydrology Sample - Demonstrates hydrological analysis tools for terrain and water flow analysis using digital elevation models.
Interpolation Interpolation Sample - How to generate a raster grid from vector point data using various spatial interpolation methods.
IsochroneMap IsochroneMap Sample - Generates isochrone maps showing areas reachable from an origin point within specified time or distance limits.
JoinAndChart JoinAndChart sample — demonstrates attribute joining and proportional symbol charting.
JoinAndRender JoinAndRender sample — demonstrates attribute joining and data-driven feature styling.
LayerStatistics LayerStatistics Sample — Demonstrates statistical computation on vector, grid (DEM), and raster (pixel/image) layers with predefined and custom statistical functions.
Pipeline Pipeline sample — demonstrates scripted GIS operations using TGIS_Pipeline.
PixelEdit PixelEdit sample - demonstrates how to read and modify raster (pixel) layer data programmatically using TatukGIS.
PixelFilters PixelFilters sample - demonstrates how to apply image-processing filters to raster (pixel) layers using TatukGIS.
Statistic LayerStatistics Sample — Demonstrates statistical computation on vector, grid (DEM), and raster (pixel/image) layers with predefined and custom statistical functions.
Triangulation Triangulation Sample – Demonstrates Delaunay triangulation and Voronoi diagrams.
Viewshed Viewshed sample — demonstrates line-of-sight terrain analysis using TGIS_Viewshed.

Conversion

any2any Any2Any Sample - Command-line utility for converting vector layer data between different GIS file formats with automatic format detection.
GridToVector GridToVector sample - demonstrates raster-to-vector conversion using TGIS_GridToPolygon and TGIS_GridToPoint.
Project2Sqlite project2sqlite sample - Console-based converter for migrating TatukGIS project layers from shapefiles to SQLite database storage.
projectconvert ProjectConvert Sample - Converts legacy TatukGIS project files from .ttkgp format to modern .ttkproject format with data preservation.
Reproject Reproject sample — demonstrates coordinate system transformation and reprojection of geospatial data.
UDFLayerVector UDFLayerVector sample — demonstrates User-Defined Format (UDF) custom layer implementation (Delphi/VCL).

Printing

PrintPdf PrintPdf Sample — Demonstrates PDF output from map printing with custom page content and export to PDF format.
PrintPreview PrintPreview sample — demonstrates print preview and printing maps with layout controls (Delphi/VCL).
SimpleEdit How to provide editing functionality.
TemplatePrint TemplatePrint Sample — Demonstrates template-based map printing using pre-defined print layouts with configurable map elements, legends, scale bars, and text.
Viewer CGMViewer sample — demonstrates rendering CGM (Computer Graphics Metafile) symbol files (Delphi/VCL).

Components

DataSet DataSet sample — demonstrates TGIS_DataSet as a live bridge between a GIS vector layer and a standard data-aware grid (TDBGrid).
Hierarchy Hierarchy sample — demonstrates layer organization and grouping using TGIS_Hierarchy.
Languages Languages sample — demonstrates adding multilanguage/localization support (Delphi/VCL).
Legend Legend Sample - Demonstrates adding and integrating legend controls to display map layer properties and styling information.
MiniMap MiniMap sample — demonstrates creating a synchronized overview/minimap window (Delphi/VCL).
PrintPreview PrintPreview sample — demonstrates print preview and printing maps with layout controls (Delphi/VCL).

Custom events

DragLabel DragLabel sample — demonstrates interactive draggable feature labels on maps.
InMemory InMemory sample — demonstrates creating and populating vector layers programmatically at runtime, without loading from files.
PaintEvents PaintEvents Sample — Demonstrates map rendering customization through paint event hooks that allow drawing custom graphics at different stages of the rendering pipeline.
PaintLabel PaintLabel sample — demonstrates customizing label rendering and appearance (Delphi/VCL).
SimpleEdit How to provide editing functionality.
TrackingTest TrackingTest sample — demonstrates animated tracking of GPS-like movement (Delphi/VCL).

Changing attributes

Fields Fields Sample - Demonstrates how to use field (attribute) properties of a layer.
Grid Grid Sample - How to manipulate grid (raster/DEM) layer presentation.
SimpleEdit How to provide editing functionality.
WKT WKT Sample — Demonstrates parsing and visualization of Well-Known Text (WKT) geometry representations using TGIS_Utils.GisCreateShapeFromWKT.

Export/Import

any2any Any2Any Sample - Command-line utility for converting vector layer data between different GIS file formats with automatic format detection.
ExportToImage ExportToImage Sample - Demonstrates exporting raster layers and map views to various image formats (JPEG, PNG, TIFF, etc.) with customizable parameters.
Project2Sqlite project2sqlite sample - Console-based converter for migrating TatukGIS project layers from shapefiles to SQLite database storage.
Reproject Reproject sample — demonstrates coordinate system transformation and reprojection of geospatial data.

Data base operations

SQLLayer SQLLayer Sample - Demonstrates how to open and display an SQL Layer using TatukGIS DK11.
SQLLayerAdvanced SQLLayerAdvanced sample — demonstrates advanced SQL database layer operations and styling (Delphi/VCL).
SQLWizard How to provide SQL Layer support.

Editing

CuttingPolygon CuttingPolygon sample — demonstrates how to clip a raster (pixel) layer's rendering to within an arbitrary polygon boundary using TGIS_LayerPixel.CuttingPolygon.
SimpleEdit How to provide editing functionality.

3D

BIMViewer BIMViewer Sample — Demonstrates Building Information Model (BIM) visualization and IFC (Industry Foundation Classes) file import with 2D/3D viewing.
View3D View3D Sample — Demonstrates 3D visualization of geospatial data including building models, textures, and 3D geometry manipulation.

Communication

ClientServer ClientServer Sample - Demonstrates basic client-server GIS architecture with map rendering and network communication over TCP/IP.

Mobile

HelloDK HelloDK - TatukGIS Developer Kernel introductory sample demonstrating core GIS workflows including data loading, layer management, and interactive visualization.
Measure Measure sample — demonstrates interactive distance and area measurement on a map.
View3D View3D Sample — Demonstrates 3D visualization of geospatial data including building models, textures, and 3D geometry manipulation.
ViewerLite ViewerLite Sample - Minimal lightweight map viewer application for displaying GIS data, available for mobile platforms (FMX, WPF, MAUI).

Managers

SQLWizard How to provide SQL Layer support.
WFSManager How to provide WFS Layer support.
WMTSManager WMTSManager Sample - Demonstrates WMTS (Web Map Tile Service) integration for querying servers, discovering tile sets, and adding web-based tile layers to maps.

AI

AIModelRunner Sample app for running Python-driven AI Models on TatukGIS Viewer/Layer.

IDE Plugins

DebugVisualizer DebugVisualizer — IDE integration for visualizing TatukGIS shapes in the debugger.
2026/09/24 18:02

Page Tools