Documentation | Installation & Activation
IMPORTANT TROUBLESHOOTING UPDATE
If you are having issues with Activation Wizard not displaying on the first debug app run, try the following potential fixes:
* Make sure that GisLicense is NOT referenced in your project before the first app run (e.g., through the “uses GisLicense” import).
* Remove older registry entries from Computer\HKEY_CURRENT_USER\Software\TatukGIS and reinstall DK.
This page provides setup information for versions 100 and later. For installation instructions for legacy versions, please refer to the Installation & Activation (Version 99 and earlier) page.
All versions of the Developer Kernel share the same setup logic:
The Developer Kernel requires activation before it can be used.
The Activation Wizard will appear automatically the first time any code using Developer Kernel is executed with a debugger attached.
This process validates your license and generates a GisLicense file necessary for running applications without a debugger.
Open your development environment (e.g., Visual Studio, Rad Studio) and run the application that integrates Developer Kernel with the debugger attached.
The Activation Wizard will launch automatically on the first run. Enter your License Code when prompted. Once validated, a GisLicense file will be generated and saved within your user directory.
After activation, Developer Kernel will be fully functional for development purposes. Developer Kernel stores a run-time license in a registry so the product can be used out of the box without any special treatment.
To run an application that uses Developer Kernel without a debugger or deploy it on another machine, a valid license code must be embedded within the application's code.
A GisLicense file, used for license embedding, is automatically created during the activation process when the application is run with the debugger attached.
For platform-specific instructions, please refer to the relevant sections: Delphi Specific, .NET Specific, ActiveX Specific, and Java Specific.
The setup creates all required paths. So, starting to use the Developer Kernel should be effortless. Please, however, ensure that you do not mix the DK11 and a previous DK version in the same environment, which can result in selecting an improper library version.
There is a way, however, to run the DK11 in a separate environment:
"c:\Program Files (x86)\Embarcadero\Studio\18.0\bin\bds.exe" -rDK11
/customreg=DK11
HKEY_CURRENT_USER\SOFTWARE\Embarcadero\DK11\18.0
%LOCALAPPDATA%\TatukGIS\DK for Delphi.xyz\License
To enable optional SKIA rendering, right-click and choose “Enable Skia”. If used RAD Studio does not contain Skia support - install it from GetIt or directly from skia4delphi.org.
An easy way to update assemblies is to use NuGet packages (including Unstable). First, a setup must be used. Switching between versions is provided via NuGet. Activation, samples, and deployment packages (including grid-shift files) are available only in regular setup files.
https://nuget.tatukgis.com/nuget
directly from Visual Studio,nuget sources Add -Name "TatukGIS" -Source https://nuget.tatukgis.com/nuget
NuGet Sources Update -Name "TatukGIS" -Source "https://nuget.tatukgis.com/nuget" -UserName "your login email" -Password "your new password"
For several reasons (e.g., somewhat tricky setup routines), we do not automatically add the Developer Kernel into the Visual Studio toolbox. To do this manually:
c:\Program Files (x86)\TatukGIS\DK for .NET\Lib
Please note that if you add a NuGet package, those steps are not required - the toolbox will be automatically updated (at least in VS2019).
%LOCALAPPDATA%\TatukGIS\DK for .NET\License
//C# static void Main() { TatukGIS.NDK.GisLicense.Initialize(); // <--- ADD THIS LINE Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new WinForm()); }
'VisualBasic Shared Sub Main() TatukGIS.NDK.GisLicense.Initialize() '<--- ADD THIS LINE Application.EnableVisualStyles() Application.SetCompatibleTextRenderingDefault(false) Application.Run(New WinForm()) End Sub 'or create a New() procedure on the main form Public Sub New() TatukGIS.NDK.GisLicense.Initialize() '<--- ADD THIS LINE ' This call is required by the designer. InitializeComponent() ' Add any initialization after the InitializeComponent() call. End Sub
// for other .NET languages run the code like this somewhere in the early // stage of application initialization (before use of any GIS functionality) TatukGIS.NDK.TGIS_Utils.SetLicense( "content of the License - for example, copied for GisLicense.cs" )
To enable optional SKIA rendering, the project must include the NuGet package SkiaSharp (NuGet Gallery | SkiaSharp).
To enable optional SKIA rendering, the project must include the NuGet package SkiaSharp (NuGet Gallery | SkiaSharp).
ASP.NET Core packages are available only via NuGet. To use them, a setup must first be used: activation, samples, and deployment packages (including grid-shift files), which are available only in regular setup files.
https://nuget.tatukgis.com/nuget
directly from Visual Studio,nuget sources Add -Name "TatukGIS" -Source https://nuget.tatukgis.com/nuget
NuGet Sources Update -Name "TatukGIS" -Source "https://nuget.tatukgis.com/nuget" * Unstable versions are removed from the archive after releasing a Retail version; * Retail versions are removed from the archive after releasing a Unstable or Retail version. * Trial packages are available from the official nuget.org feed. -UserName "your login email" -Password "your new password"
Every file connected with the Developer Kernel software for Java is installed in the path:
%LOCALAPPDATA%\TatukGIS\DK for Java\
~/TatukGIS.DK for Java/
To add our Controls to NetBeans IDE, you need to:
%LOCALAPPDATA%\TatukGIS\DK for Java\License\GisLicense.txt
or
%LOCALAPPDATA%\TatukGIS\DK.Java\License\GisLicense.txt
$/TatukGIS/DK for Java/License/GisLicense.txt
or
$/TatukGIS/DK.Java/License/GisLicense.txt
public static void main(String args[]) { // call it before calling and other TatukGIS code TGIS_Utils.SetLicense( "content of the License file" ); // rest of the code ... }
Samples can be opened and run using NetBeans, Eclipse, or IntelliJ IDEA. Do not change the folder organization!
%LOCALAPPDATA%\TatukGIS\DK for .ActiveX\License\GisLicense.txt
(new TGIS_Utils()).SetLicense(license_activation_code);
pip install tatukgis_pdk
https://pypi.tatukgis.com/packages/unstable/simple/
https://pypi.tatukgis.com/packages/daily/simple/
When using UNSTABLE or DAILY builds in the PyCharmelect Basic Authentication and carefully provide credentials. Improper credentials can cause a ban for several minutes because PyCharm frequently uses them.
The product is available free of charge - activation is not required.