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

AIModelRunner Sample app for running Python-driven AI Models on TatukGIS Viewer/Layer.
PrintPdf PrintPdf Sample — Demonstrates PDF output from map printing with custom page content and export to PDF format.
RotatedRect RotatedRect sample — demonstrates custom drawing on the viewer canvas with rotation (Delphi/VCL).

Basic usage

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

Viewer

CGMViewer CGMViewer sample — demonstrates rendering CGM (Computer Graphics Metafile) symbol files (Delphi/VCL).
Locate Locate Sample — Demonstrates feature identification and location by finding shapes at the cursor position using spatial queries and pixel-to-coordinate conversion.
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.
SimpleEdit How to provide editing functionality.
TwoWindows TwoWindows sample — demonstrates synchronized, two-window display of the same map (Delphi/VCL).
WKT WKT Sample — Demonstrates parsing and visualization of Well-Known Text (WKT) geometry representations using TGIS_Utils.GisCreateShapeFromWKT.
Legend Legend Sample - Demonstrates adding and integrating legend controls to display map layer properties and styling information.
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).
Rotation Rotation Sample — Demonstrates interactive map rotation around a user-defined point.
MiniMap MiniMap sample — demonstrates creating a synchronized overview/minimap window (Delphi/VCL).
ShowHint Hints properties window } unit frmHint;
Enumerators Enumerators sample — demonstrates spatial iteration using TGIS_LayerVector.Loop() enumerators.
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).
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.
Pixel Pixel - demonstrates how to open and display raster (pixel) layers using different rendering modes provided by TatukGIS.
SimpleEdit How to provide editing functionality.
PixelLocate PixelLocate Sample — Demonstrates reading pixel values from raster layers and displaying pixel data including RGB colors and native channel values.
Encode Encode sample — demonstrates transparent layer encoding using read/write callbacks.
CuttingPolygon CuttingPolygon sample — demonstrates how to clip a raster (pixel) layer's rendering to within an arbitrary polygon boundary using TGIS_LayerPixel.CuttingPolygon.
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.
DemOperations DemOperations sample - demonstrates terrain analysis derived from a DEM raster.
PixelOperations PixelOperations sample — demonstrates basic raster pixel manipulation and analysis (Delphi/VCL).
Transform Transform sample - Polynomial georeferencing of a raster image.
CustomPaint CustomPaint sample — demonstrates custom drawing overlays using paint-hook mechanisms.
PixelEdit PixelEdit sample - demonstrates how to read and modify raster (pixel) layer data programmatically using TatukGIS.
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.
Viewshed Viewshed sample — demonstrates line-of-sight terrain analysis using TGIS_Viewshed.
LayerStatistics LayerStatistics Sample — Demonstrates statistical computation on vector, grid (DEM), and raster (pixel/image) layers with predefined and custom statistical functions.
RasterAlgebra RasterAlgebra sample - demonstrates how to apply mathematical expressions to raster layers using TGIS_RasterAlgebra to produce derived pixel or grid outputs.
GridToVector GridToVector sample - demonstrates raster-to-vector conversion using TGIS_GridToPolygon and TGIS_GridToPoint.

Shape operations

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.
SimpleEdit How to provide editing functionality.
WKT WKT Sample — Demonstrates parsing and visualization of Well-Known Text (WKT) geometry representations using TGIS_Utils.GisCreateShapeFromWKT.
MultiSelect Multiselect Sample — Demonstrates multiple feature selection with different selection modes and displaying selected feature attributes in a list and attributes panel.
TrackingTest TrackingTest sample — demonstrates animated tracking of GPS-like movement (Delphi/VCL).
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.
Enumerators Enumerators sample — demonstrates spatial iteration using TGIS_LayerVector.Loop() enumerators.
Grid Grid Sample - How to manipulate grid (raster/DEM) layer presentation.
DragLabel DragLabel sample — demonstrates interactive draggable feature labels on maps.
BitmapFill BitmapFill sample - demonstrates per-shape bitmap fill using a custom PaintShapeEvent callback.
FieldRules FieldRules sample - Demonstrates field validation and constraint rules for attribute data entry and layer attribute integrity.
CuttingPolygon CuttingPolygon sample — demonstrates how to clip a raster (pixel) layer's rendering to within an arbitrary polygon boundary using TGIS_LayerPixel.CuttingPolygon.
ShapeOperations ShapeOperations sample - Interactive geometry transformation of vector shapes.
CustomPaint CustomPaint sample — demonstrates custom drawing overlays using paint-hook mechanisms.
PixelEdit PixelEdit sample - demonstrates how to read and modify raster (pixel) layer data programmatically using TatukGIS.
HelloDK HelloDK - TatukGIS Developer Kernel introductory sample demonstrating core GIS workflows including data loading, layer management, and interactive visualization.

Topology

Topology Topology Sample - Demonstrates polygon set-algebra operations using TGIS_Topology.
Buffers1 Buffers1 sample — demonstrates spatial buffer operations for proximity analysis.
Buffers2 Buffers2 - Advanced buffer operation with spatial intersection query.
SplitByArc SplitbyArc Sample — Demonstrates splitting polygon geometries using an interactively drawn line (arc) via TGIS_Topology.SplitByArc.
Relate Relate Sample — Demonstrates computing spatial relations between two shapes using TGIS_Shape.Relate and DE-9IM (Dimensionally Extended 9-Intersection Model) predicates.

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
TigerGeocoding How to provide Geocoding using name standardization } unit HelpForm;
OnlineServices How to utilize TatukGIS online services (tiles, geocoding, routing and isochrone).

Rendering

BitmapFill BitmapFill sample - demonstrates per-shape bitmap fill using a custom PaintShapeEvent callback.
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.
PaintLabel PaintLabel sample — demonstrates customizing label rendering and appearance (Delphi/VCL).
Statistic LayerStatistics Sample — Demonstrates statistical computation on vector, grid (DEM), and raster (pixel/image) layers with predefined and custom statistical functions.
JoinAndChart JoinAndChart sample — demonstrates attribute joining and proportional symbol charting.
Classification Classification sample — demonstrates thematic data classification of vector and raster (pixel) layers using the TatukGIS TGIS_ClassificationAbstract API.
RotatedRect RotatedRect sample — demonstrates custom drawing on the viewer canvas with rotation (Delphi/VCL).

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.
PixelEdit PixelEdit sample - demonstrates how to read and modify raster (pixel) layer data programmatically using TatukGIS.
Pipeline Pipeline sample — demonstrates scripted GIS operations using TGIS_Pipeline.
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

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.
any2any Any2Any Sample - Command-line utility for converting vector layer data between different GIS file formats with automatic format detection.
Project2Sqlite project2sqlite sample - Console-based converter for migrating TatukGIS project layers from shapefiles to SQLite database storage.
UDFLayerVector UDFLayerVector sample — demonstrates User-Defined Format (UDF) custom layer implementation (Delphi/VCL).
GridToVector GridToVector sample - demonstrates raster-to-vector conversion using TGIS_GridToPolygon and TGIS_GridToPoint.

Printing

PrintPreview PrintPreview sample — demonstrates print preview and printing maps with layout controls (Delphi/VCL).
PrintPdf PrintPdf Sample — Demonstrates PDF output from map printing with custom page content and export to PDF format.
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).
SimpleEdit How to provide editing functionality.

Components

Languages Languages sample — demonstrates adding multilanguage/localization support (Delphi/VCL).
PrintPreview PrintPreview sample — demonstrates print preview and printing maps with layout controls (Delphi/VCL).
Legend Legend Sample - Demonstrates adding and integrating legend controls to display map layer properties and styling information.
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.
MiniMap MiniMap sample — demonstrates creating a synchronized overview/minimap window (Delphi/VCL).

Custom events

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

Changing attributes

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

Export/Import

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

Data base operations

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

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

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

Communication

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

Mobile

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

Managers

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.
SQLWizard How to provide SQL Layer support.

AI

AIModelRunner Sample app for running Python-driven AI Models on TatukGIS Viewer/Layer.
2026/06/09 02:28

Page Tools