Knowledge Base Search for: Recently modified first: KB10944 - PowerShell and DK for ActiveX edition. It is possible to use the Developer Kernel for ActiveX edition within PowerShell. Doing this requires that a 32-bit (x86) version of PowerShell be started. Sample code: #activate $utils = new-object -COMObject "TatukGIS_XDK11.TGIS_Utils" $utils.SetLicense(YOUR ACTICATION CODE) #create a viewer and draw a map $vwr = new-object -COMObject "TatukGIS_XDK11.TGIS_ViewerBmp" $vwr.SetSize( 512, 512 ) $vwr.Open( "c:\Users\Public\Documents\TatukGIS\Data\Samples11\World\WorldDCW\world.shp" ) $vwr.Zo ... Modified: February 21, 2020 KB10538 - Mosaic printing to split a large map area into multiple printed pages. Yes, it is possible with the DK to divide a printout across multiple (2, 4, 6, 8, etc.) pages with the resolution of each printed page higher than if the entire map were printed on a single page. But you must provide some additional required information. For guidance, refer to the DK PrintPreview source code sample which demonstrates 2-page printing. Modified: February 06, 2020 KB10675 - SQL layers use MS Access 97 database instead of newer Access versions. When Microsoft Access is selected as the SQL layer storage database, TatukGIS products generate new files by default to the Access 97 (MSJET) database format due to compatibility reasons. This is because Access 97 was the last version of Access packaged by default with the Windows operating system. Later versions of Access were distributed only with Microsoft Office. Therefore, if TatukGIS generated files to a later version of MS Access, the procedure would not work on any Windows computer without MS O ... Modified: October 22, 2019 KB10869 - HTML formatted labels for multiple fields and other complex label presentation. Labeling features within the TatukGIS visual layer property control (DK, Editor, free Viewer products) provide for creating HTML formatted labels for complex label presentation, such as with values from multiple fields, multiple lines, line breaks, numeric formatting, Boolean formatting, date formatting, multiple colors, and multiple fonts. Label.Value is interpreted as HTML text. For example: Label.Value = {name}<hr><b>{area,”#.00”}</b> Implemented HTML markers are: Typical HTML tags like: < ... Modified: June 25, 2019 KB10730 - Zoom, ZoomEx, and Scale properties. Zoom unit is one if one map unit is represented by one pixel. Using Zoom , therefore, is device dependent. ZoomEx unit is one if one map unit represents one twip (1/1440 of inch) on the screen. Using ZoomEx , therefore, is device independent, but its use is obsolete in favor of Scale. Scale unit is one when the screen presents the map as 1:1 (one centimeter on screen is one centimeter on the map). Be aware that screen PPI (points per inch) is used to perform this calculation and, therefore ... Modified: June 25, 2019 KB10501 - Support for raster (image and grid) processing. Support includes color adjusting, filtering by color, filtering by color zones, color remapping, histogram equalization, false color operations, coordinate system transformation and rectification, etc. The Developer Kernel v.11 and Editor v.5 introduced a new framework for advanced raster operations and analysis. Implemented functionality includes pixel querying, vector-to-grid interpolation and heat map algorithms, viewshed analysis, above-ground-level (AGL) visibility analysis, grid analysis, slope ... Modified: May 29, 2019 KB10575 - Show layer properties dialog box without activating the legend. Pre DK11: DK.VCL: Use GisShowLayerProperties() DK.NET: Use TGIS_Utils.GisShowLayerProperties() DK.ActiveX: Use XGIS_Utils.GisShowLayerProperties() DK11: DK.VCL, DK.NET, DK.JAVA Use class method: TGIS_ControlLegendForm.ShowLayerProperties() DK.ActveX Create TGIS_ControlLegendForm and use method: ShowLayerProperties() Modified: April 24, 2019 KB10868 - DK versus Editor for custom GIS development. Advantages and disadvantages of the TatukGIS Editor versus the TatukGIS Developer Kernel (DK) for custom GIS development. Advantages of the TatukGIS Developer Kernel (component). Royalty-free application deployment to computers and servers. (The Editor involves per user or run-time licensing - with volume price discounts.) More powerful for high level custom feature development or embedding GIS features into another software application. For example, a new class can be added to the DK API, which is ... Modified: March 05, 2019 KB10942 - Why the map coordinate system can be turned off. The coordinate system for a map makes sense only if all attached layers (i.e., the layers composing the map) are defined with a proper coordinate system. Adding to the map even a single layer without a proper coordinate system turns Viewer.CS to off. The coordinate system of the map in the Viewer is used to reproject the map, provide proper scale, etc. Even a single layer without a CS makes all computations unpredictable. In such situation, therefore, the software simply swiches off the whole coordina ... Modified: February 20, 2019 KB10639 - SQL database layer types supported by TatukGIS products on each database engine. MS Access MS SQLServer Oracle Interbase Firebase Postgress SQLite Informix DB2 MyQL Sybase TatukGIS SQL Layer (native) TGIS_LayerSql* YES YES YES YES YES YES ? YES YES YES OGC SQL Layer TGIS_LayerSqlOgis* YES YES YES YES YES* YES ? YES YES YES ESRI Personal Geodatabase TGIS_LayerSqlPgdb* YES ESRI SDE Vector TGIS_LayerSqlSde* ... Modified: January 25, 2019 KB10765 - Support for SQL and spatial database map layer formats. The TatukGIS Developer Kernel , desktop GIS Editor , and free GIS Viewer (read-only) support the many SQL layer and spatial database formats listed in knowledge base item KB10639 . Detailed and more regularly updated information about support for each format is provided in the documentation wiki . Support for each database layer format is direct, without use of 3rd party software or middleware, and includes: Reading/writing/editing vector map layer geometry and attributes. Creation of new ... Modified: January 25, 2019 KB10831 - TatukGIS Project File. The TatukGIS Project File stores a map design: references to layers files coordinate system setup visual design such as colors, styles, labels, fonts, symbols, etc. A project can be stored in a: new .ttkproject file introduced in Developer Kernel 11 and Editor/Viewer 5 old and obsolete .ttkgp file Only the new .ttkproject format supports all new product features and is, therefore, the recommended storage. If maintaining compatibility with older product versions is a priority, the late ... Modified: September 26, 2018 KB10937 - Support for GeoPDF format. The TatukGIS Editor and free Viewer products support reading (opening) GeoPDF files. To open a GeoPDF file with the Developer Kernel, the GDAL library must be deployed. Note that PDF content is rendered as a bitmap and a whole file is interpreted as a single layer. Modified: September 26, 2018 KB10610 - Copy visual layer property settings from a layer to another layer. The Editor and free Viewer include time saving features to quickly and easily copy visual design properties (colors, styles, labels, fonts, symbols, etc.) of one layer to another layer (which can be entirely different from the first layer). Method 1 Use the Editor Viewer to save the visual property settings of the first layer to a layer style ( .ttkstyle ) file. (Support for .ttkstyle files was introduced in Editor/Viewer version 5 and DK version 11.) Copy and rename the .ttkstyle file to match ... Modified: September 26, 2018 KB10935 - TatukGIS layer style (.ttkstyle) file. By default, TatukGIS software saves all user-formatted layer visual design features — colors, styles, labels, fonts, symbols, etc. — to the corresponding TatukGIS project (* .ttkproject ) file. This behavior occurs if the project is composed of one or multiple layers. TatukGIS products also offer a labor-saving option to save a layer's visual design properties to a layer style ( *.ttkstyle ) file for re-use in certain situations: When added to new projects, layers with a corresponding .ttkstyle fi ... Modified: September 26, 2018 KB10936 - Crop a raster image or grid file. The TatukGIS Editor can export data from an existing raster image or grid layer(s) to a new image or grid file based on a specified extent. Multiple options are provided to limit the extent the source data that is exported. Raster data can be exported to any TatukGIS write-supported image format (such as GeoTIFF, BMP, JPG, PNG, and PixelStore-image) or any TatukGIS write-supported grid format (such as FLT, GRD, and PixelStore-grid). Besides export extent and file format settings, the File / Export to ... Modified: September 26, 2018 KB10508 - Automatically zoom map to specified extent centered on shape matching an attribute query. For example: extent := GisNoWorld ; shp := ll.FindFirst( extent, 'ID=1' ) if Assigned( shp ) then begin extent := GisMaxExtent( extent, shp.ProjectedExtent ) ; GIS.VisibleExtent := extent ; GIS.Zoom := GIS.Zoom / 2 ; end ; Note: TGIS_Shape.Extent and TGIS_Shape.ProjectedExtent are similar. The main difference between them is the first provides extent in the layer coordinate system, whereas the second provides extent already in the viewer coordinate system. Modified: August 08, 2018 KB10614 - Obtain and start using a product under a purchased license. Download retail version When the purchase payment is received and processed by TatukGIS, the login registration account of the declared licensed user becomes activated with download access to current and future retail versions of the purchased product. The registered licensed user can download the retail version by logging in (under the licensed user's registration e-mail address) to the Downloads / My Products page of the TatukGIS web site, where download links appear for each product available to ... Modified: July 19, 2018 KB10404 - Creating a custom layer with the DK-ActiveX and DK.Delphi editions. With the DK.Delphi edition a user defined layer can be created via the Delphi source code. Refer to the DK.Delphi sample TGIS_LayerMIF for guidance on how to create a custom layer. That sample shows both reading and writing the custom layer to disk. Also, the OpenGIS SQL vector support is an example of a user defined layer which was, of course, developed by TatukGIS. There are constraints on the creation of a fully user defined layer with the DK.ActiveX, because customizing via Delphi source code is o ... Modified: April 14, 2018 KB10493 - Convert a SHP or other vector format file to SQL database layer. The easiest option is to use the TatukGIS Editor product to export an opened vector map file in any TatukGIS supported vector map format (SHP, EOO, MID/MIF, TAB, DXF, DGN, TIGER, OSM, GML, VPF, DLG, SDTS, GPX, GDF, KML ...) to any TatukGIS supported SQL database layer format on the local computer or a server. TatukGIS supported database layer formats and compatible database engines are presented in KB10639 . The same is possible with a DK developed application, though support for spatial database ... Modified: April 14, 2018 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 Tech Support Q&A Knowledge Base Common Questions