Knowledge Base Search for: Recently modified first: KB10932 - How to render map to a Metafile in DK for NET. There is no direct possibility to render a map to a Metafile (WMF) in the DK.NET. There is, however, an easy way to subclass TGIS_RendererWinforms: public class TGIS_RendererWMF : TGIS_RendererWinForms { /// <summary> /// Print a current map view to a WMF /// </summary> /// <param name="_parent">Reference to a GIS viewer</param> /// <param name="_viewer">Reference to a GIS viewer. Same a _parent!</param> /// <param name="_stream">output stream</param> static public void Pr ... Modified: February 02, 2018 KB10681 - Support for optimal routing, networking. The routing/networking support in the TatukGIS Developer Kernel and desktop GIS Editor products can be used for vehicle routing on complex road and street networks and for other network situations such as involving water drainage systems, liquids pipelines, rail track networks, electrical power grids, etc. Top route calculation performance, even with huge datasets, is enabled by support for a persistent network - so that the network need not be regenerated upon each new route calculation request. R ... Modified: September 12, 2017 KB10739 - Geocoded street address query, address parsing methods. The TatukGIS Developer Kernel and desktop GIS Editor (via scripting) products support geocoded street address querying (finding the approximated map location of a given street address), reverse geocoding (finding the street address closest to a given point, such as defined by GPS coordinates), and advanced street address name parsing. The logic of geocoded address querying with vector polyline layers (like TIGER data in the U.S.) is the location of a given street address is approximated based on t ... Modified: September 12, 2017 KB10762 - Convert vector data between file types, such as from SHP to DXF: Two methods. The TatukGIS Developer Kernel and desktop GIS Editor products support two methods to convert GIS vector map data between file types (formats). Import operation. The creation of a new (empty) vector map layer requires the user to specify the file type of the layer. If a vector map file of a different type is then opened into that layer, this results in the conversion of the data into the file type of the layer. So first use the Layer/New menu to create a new (empty) DXF layer, then open the data ... Modified: September 12, 2017 KB10441 - Render the colors of map features based on attribute table values. The TatukGIS Developer Kernel (DK) , GIS Editor , and free GIS Viewer contain a powerful visual layer property control to enable the user to set any visual style, e.g. colors, line widths, line types, polygon fills, polygon boarders, labels, icons/symbols, bitmap images, transparencies, etc. The color coding of individual vectors in a layer based on the values (or text information) in a selected attribute field is one example of the many possibilities. The easiest way to set up colors and other v ... Modified: September 12, 2017 KB10928 - Print to a PDF file without prompting for a Filename. Printing to PDF using built-in Windows PDF driver without prompting for a filename requires a simple additional step: C# / .NET TGIS_PrintManager printman = new TGIS_PrintManager(); PrintDocument printdoc = new PrintDocument() { PrinterSettings = new PrinterSettings() { PrinterName = "Microsoft Print to PDF", PrintToFile = true, PrintFileName = @"c:\Temp\myfile.pdf" ) }; TGIS_Printer printer = new TGIS_Printer( printdoc ); printman.Print( GIS, printer ); Delphi /VCL var hp ... Modified: August 15, 2017 KB10834 - Comparative DK code in Delphi, C++ Builder, C#, Visual C++, VB.NET, VB6, and Java. Delphi code - DK for Delphi edition (FMX and VCL frameworks) procedure TForm1.GISMouseMove(Sender: TObject; Shift: TShiftState; Y: Integer); var ptg : TGIS_Point ; shp : TGIS_Shape ; begin if Gis.IeEmpty then exit ; ptg := GIS.ScreenToMap( Point(x, y ) ); shp := TGIS_Shape( GIS.Locate( ptg, 5/GIS.Zoom ) ) ; if shp = nil then StatusBar.SimpleText := '' else StatusBar.SimpleText := shp.GetField('name'); end; C++ Builder code - DK for Delphi edition (FMX and VCL frameworks) ... Modified: March 03, 2017 KB10779 - Connecting to Oracle Spatial and Oracle GeoRaster database layers. TatukGIS Developer Kernel Enterprise version and desktop GIS Editor products directly support the Oracle Spatial/Locator (vector) and Oracle GeoRaster data formats and their spatial indexes. (The free GIS Viewer provides read-only support.) The support includes: Reading/writing/editing Oracle Spatial vector coverages ( SDO_GEOMETRY ) Creation of new Oracle Spatial tables and importing data into the tables Use of Locator spatial operators for server-side spatial queries (based on the DE9IM ... Modified: February 13, 2017 KB10810 - Connecting a TatukGIS product to a PostGIS SQL layer. TatukGIS Developer Kernel Enterprise version and desktop GIS Editor products support reading/writing PostGIS SQL database vector data structure and its spatial indexes. (The free GIS Viewer provides read-only support.) Further to the information contained in this knowledge base item, detailed and more frequently updated information about TatukGIS support for PostGIS layer class and data structures is found in the Developer Kernel product documentation web site at: http://docs.tatukgis.com/DK11 ... Modified: February 13, 2017 KB10811 - Connecting to a Microsoft SQL Spatial (Katmai) layer. The TatukGIS Developer Kernel Enterprise version and desktop GIS Editor products support reading and writing the Microsoft SQL Spatial (Katmai) vector data structure, its spatial indexes and related features. (The free GIS Viewer provides read-only support.) Further to the information contained in this knowledge base item, detailed and more frequently updated information about TatukGIS support for MS SQL Spatial layer class and data structures is found in the Developer Kernel product documentati ... Modified: February 13, 2017 KB10649 - Connecting to a PixelStore image SQL database layer. The TatukGIS Developer Kernel and desktop GIS Editor products support reading and writing the TatukGIS PixelStore (v. 2) SQL layer format for efficient storage of even huge image and raster grid layers in just about any database product. The free GIS Viewer contains read-only support. Further to the information contained in this knowledge base item, detailed and more frequently updated information about TatukGIS support for PixelStore layers is found in the Developer Kernel product documentation ... Modified: February 13, 2017 KB10183 - Quick way to learn about the DK visual layer property and legend controls. The visual layer property control and legend control are shared features of the TatukGIS Developer Kernel, desktop GIS Editor, and free GIS Viewer products. These controls provide settings to manage all aspects of the visual appearance of each map layer, including the layout, color, line thicknesses, polygon fills, labels, pie/bar charts, transparency levels, scale dependent rendering, layer hierarchy, etc., and the order in which the layers are rendered on the map. An easy way to learn about the visu ... Modified: February 13, 2017 KB10832 - TatukGIS Database Layer Connector Files (TTKLS and TTKPS). TTKLS is a sub file used to connect TatukGIS products to vector SQL and spatial database map layers such as TatukGIS binary (native), OpenGIS Simple Features for SQL , PostGIS , Oracle Spatial , Microsoft SQL Spatial, Geomedia , IBM DB2 Spatial Extender , ESRI ArcSDE , and others. TTKPS is a sub file used to connect TatukGIS products to raster SQL database map layers, e.g., TatukGIS PixelStore , Oracle GeoRaster , ESRI ArcSDE Raster . TTKLS and TTKPS files are recognized by their *.TTKLS ... Modified: February 13, 2017 KB10783 - Connecting to an ESRI ArcSDE or ArcSDE Raster database layer and supported features. TatukGIS Developer Kernel Enterprise version and desktop GIS Editor products support the ESRI ArcSDE SQL spatial database vector data structure and features and ArcSDE Raster layers. The support bypasses ArcSDE services and is independent of any ESRI middleware. Support is for the following ArcSDE product versions: ArcSDE for MS SQL Server (ArcGIS 9.1 and later versions). ArcSDE Personal for MS SQL Express Edition (ArcGIS 9.2). ArcSDE Workgroup for MS SQL Express Edition (ArcGIS 9.2). ArcSDE Ente ... Modified: February 10, 2017 KB10925 - MySQL and big geometries problems. If experiencing a situation in which big geometries (composed from a lot of vertices) do not work, verify your database geometry column type. MySQL supports TINYBLOB , BLOB , MEDIUMBLOB and LONGBLOB types. The standard BLOB limits could be too small, By selecting MEDIUMBLOB , the limits will be sufficient for most layers. See also KB10765 for a general description of SQL layer formats. Modified: December 29, 2016 KB10926 - Developer Kernel support for C++ Three Developer Kernel product editions support the C++ development environment. DK for Delphi edition supports C++ (C++ Builder) via support for the Embarcadero RAD Studio IDE, a native C++ compiler. The DK for Delphi supports C++Builder to develop GIS for Windows (32 & 64 bit) and macOS and mobile GIS for iOS and Android. (DK for Delphi supports C++Builder with both the Embarcadero VCL and FMX frameworks.) DK for .NET edition offers managed support for C++ via support for the Microsoft Visual ... Modified: December 29, 2016 KB10923 - Method to dynamically load and refresh an image layer. Delete and create the layer each time the layer content is reloaded. For example, to dynamically update a PNG layer: GIS.Lock(); // avoid screen refreshes zorder = layer.ZOrder ; // store layer z=order position GIS.Delete( layer.Name ); // delete existing layer layer = new TGIS_LayerPNG; layer.Stream = mystream; // you can just read layer from the stream! // or // layer.Path = mypath; layer.Open() ; // it will read all layer properti ... Modified: December 07, 2016 KB10878 - Purchases by software resellers for final customers. Some customers (typically government organizations or large corporations) prefer to purchase from TatukGIS via a favorite software reseller. TatukGIS cooperates with resellers, though it offers no special reseller price discounts. The reseller may charge the final customer for the convenience and service provided by performing the transaction. The reseller can perform a purchase from TatukGIS on behalf of a final customer using the following steps: Provide TatukGIS (e-mail address: sales@tatukgis.co ... Modified: September 16, 2016 KB10813 - .prj file and naming convention. The .prj file, which was originally designed to hold the coordinate system information (i.e., projection) for a Shapefile ( .shp format vector map file), can be associated to any vector or image map layer. In such case, the layer is rendered to the coordinate system provided by the associated .prj file. The proper .prj file naming convention must be followed. The name of the associated .prj file must be as filename.ext.prj . Some examples: file name .prj file name filename.ext fi ... Modified: August 17, 2016 KB10423 - World File and naming convention in TatukGIS products. A World File holds information to georeference (i.e., georegister, register) an associated image file to coordinate values. Because a World File does not contain coordinate system information, it may be paired with a PRJ file containing the coordinate system information. So a World File and .prj file can work together to render an image layer to a coordinate system. (.prj file is described in KB10813 ). TatukGIS products follow generally accepted convention for World File naming, which is First + Las ... Modified: August 17, 2016 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 Q&A Frequently Asked Questions Knowledge Base Contact Support